summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/workers/constructors/Worker/same-origin.html
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-12 10:49:23 -0400
committerGitHub <noreply@github.com>2018-04-12 10:49:23 -0400
commit4c2e77404f43040ce7a9f0d9052448b3f23a8c28 (patch)
treed7161a645a98f38dd18797cc80581446929f99c7 /testing/web-platform/tests/workers/constructors/Worker/same-origin.html
parenta0968fc6a86c8ab1abfa83d3c1986fadf3ec2766 (diff)
parent9f7f0f1172d67ab29e4f72eb1b34ab6f4bb231b1 (diff)
downloadUXP-4c2e77404f43040ce7a9f0d9052448b3f23a8c28.tar
UXP-4c2e77404f43040ce7a9f0d9052448b3f23a8c28.tar.gz
UXP-4c2e77404f43040ce7a9f0d9052448b3f23a8c28.tar.lz
UXP-4c2e77404f43040ce7a9f0d9052448b3f23a8c28.tar.xz
UXP-4c2e77404f43040ce7a9f0d9052448b3f23a8c28.zip
Merge pull request #126 from janekptacijarabaci/js_X-Content-Type-Options_nosniff_json_1
Align XCTO: nosniff allowed script MIME types with the spec
Diffstat (limited to 'testing/web-platform/tests/workers/constructors/Worker/same-origin.html')
-rw-r--r--testing/web-platform/tests/workers/constructors/Worker/same-origin.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/workers/constructors/Worker/same-origin.html b/testing/web-platform/tests/workers/constructors/Worker/same-origin.html
index 9b0148da3..bbc4382d0 100644
--- a/testing/web-platform/tests/workers/constructors/Worker/same-origin.html
+++ b/testing/web-platform/tests/workers/constructors/Worker/same-origin.html
@@ -14,7 +14,7 @@ function testSharedWorkerHelper(t, script) {
try {
var worker = new SharedWorker(script, '');
worker.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); });