Closed Bug 1477182 Opened 6 years ago Closed 5 years ago

[wpt-sync] Sync PR 12086 - WorkerGlobalScope::importScripts() modified to accept TrustedTypes

Categories

(Core :: DOM: Security, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

Sync web-platform-tests PR 12086 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/12086
Details from upstream follow.

Maja Kabus <kabusm@google.com> wrote:
>  WorkerGlobalScope::importScripts() modified to accept TrustedTypes
>  
>  Existing implementation made private and renamed
>  importScriptsFromString.
>  New version wraps importScriptsFromString.
>  Service_Worker_Global_Scope::importScripts() signature adjusted
>  to accept TrustedTypes.
>  
>  Bug:739170
>  Change-Id: Ifa7d9e9f13f0903ecdf0b4c1553f6039141b9b76
>  Reviewed-on: https://chromium-review.googlesource.com/1144825
>  WPT-Export-Revision: d20b31a3fa8ba5d044b53a68f8c05baaee78c620
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Ran 2 tests and 73 subtests
OK     : 2
PASS   : 1
FAIL   : 72

New tests that have failures or other problems:
/trusted-types/WorkerGlobalScope-importScripts.https.html
    WorkerGlobalScope-importScripts: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c72a48e0c5db
[wpt PR 12086] - WorkerGlobalScope::importScripts() modified to accept TrustedTypes, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/1d7856790c3b
[wpt PR 12086] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/c72a48e0c5db
https://hg.mozilla.org/mozilla-central/rev/1d7856790c3b
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.