Skip to content

Commit f77dbae

Browse files
committed
Bug 1831583 - Part 3: Mark [static import script from data: URL should be allowed.] failed as expected in [shared|dedicated]-worker-import-data-url-cross-origin.html.ini. r=dom-worker-reviewers,asuth
In the [static import script from data: URL should be allowed.] case, The worker will load the data URI, which imports "/resources/static-import-script-block-cross-origin.js". And static-import-script-block-cross-origin.js will static import 'export-block-cross-origin.js' According to the current spec, the script "export-block-cross-origin.js" is in the same origin of the document, therefore it should be loaded. But with Gecko's implementation, the script "export-block-cross-origin.js" is cross-origin with the main worker script (which is loaded by data URI), so the script is blocked. Mark this test case as failed according to the spec issue whatwg/html#9571 Differential Revision: https://phabricator.services.mozilla.com/D187900
1 parent 52696c5 commit f77dbae

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
[dedicated-worker-import-data-url-cross-origin.html]
2+
[static import script from data: URL should be allowed.]
3+
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1841363
4+
expected: FAIL
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
[shared-worker-import-data-url-cross-origin.html]
2+
[static import script from data: URL should be allowed.]
3+
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1841363
4+
expected: FAIL

0 commit comments

Comments
 (0)