////////////////////////////////
var keepProxy;
- var defaultErrorMessage = 'A network error occurred, or there is a CORS configuration problem. Please check your browser debug console for a more specific error message (browser security features prevent us from showing the details here).';
+ var defaultErrorMessage = 'A network error occurred: either the server was unreachable, or there is a server configuration problem. Please check your browser debug console for a more specific error message (browser security features prevent us from showing the details here).';
function SliceReader(_slice) {
var that = this;
// give up now.
_deferred.reject({
textStatus: 'error',
- err: 'server setup problem (proxy ' + proxyUriBase() + ' cannot be used from origin ' + window.location.origin + ')'
+ err: 'There is a server configuration problem. Proxy ' + proxyUriBase() + ' cannot be used from origin ' + window.location.origin + ' due to the browser\'s mixed-content (https/http) policy.'
});
} else {
goSend();
end
end
- test "Report CORS problem or network error" do
+ test "Report network error" do
need_selenium "to make file uploads work"
begin
use_token :admin
assert_selector 'button:not([disabled])', text: 'Start'
click_button 'Start'
using_wait_time 5 do
- assert_text :visible, 'CORS'
assert_text :visible, 'network error'
end
end