summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/workers/Worker_cross_origin_security_err.htm
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-04 21:36:41 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-04 21:36:41 +0200
commit9f7f0f1172d67ab29e4f72eb1b34ab6f4bb231b1 (patch)
treed97bd3b77a6ee48cbaab34ab929aff7df4befd64 /testing/web-platform/tests/workers/Worker_cross_origin_security_err.htm
parentaea1fd640e01b5e36fb5e9f435681d8d4501d6f5 (diff)
downloadUXP-9f7f0f1172d67ab29e4f72eb1b34ab6f4bb231b1.tar
UXP-9f7f0f1172d67ab29e4f72eb1b34ab6f4bb231b1.tar.gz
UXP-9f7f0f1172d67ab29e4f72eb1b34ab6f4bb231b1.tar.lz
UXP-9f7f0f1172d67ab29e4f72eb1b34ab6f4bb231b1.tar.xz
UXP-9f7f0f1172d67ab29e4f72eb1b34ab6f4bb231b1.zip
Bug 1288768 - Better error reporting for network errors in workers
Diffstat (limited to 'testing/web-platform/tests/workers/Worker_cross_origin_security_err.htm')
-rw-r--r--testing/web-platform/tests/workers/Worker_cross_origin_security_err.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/workers/Worker_cross_origin_security_err.htm b/testing/web-platform/tests/workers/Worker_cross_origin_security_err.htm
index 647a8b81e..d57dc29d5 100644
--- a/testing/web-platform/tests/workers/Worker_cross_origin_security_err.htm
+++ b/testing/web-platform/tests/workers/Worker_cross_origin_security_err.htm
@@ -8,7 +8,7 @@ async_test(function(t) {
try {
var w = new Worker("ftp://example.org/support/WorkerBasic.js");
w.onerror = t.step_func_done(function(e) {
- assert_true(e instanceof ErrorEvent);
+ assert_true(e instanceof Event);
});
} catch (e) {
t.step_func_done(function(e) { assert_true(true); });