Skip to content

Commit de7ed1f

Browse files
committed
WorkerGlobalScope.importScripts() - TrustedScriptURL
1 parent f69e4af commit de7ed1f

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

api/WorkerGlobalScope.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,45 @@
215215
"deprecated": false
216216
}
217217
},
218+
"enforces_trusted_types": {
219+
"__compat": {
220+
"description": "Requires `TrustedScriptURL` instance when trusted types are enforced",
221+
"spec_url": "https://html.spec.whatwg.org/multipage/workers.html#the-workerglobalscope-common-interface:dom-workerglobalscope-importscripts",
222+
"support": {
223+
"chrome": {
224+
"version_added": "139"
225+
},
226+
"chrome_android": "mirror",
227+
"edge": "mirror",
228+
"firefox": {
229+
"version_added": "136",
230+
"flags": [
231+
{
232+
"type": "preference",
233+
"name": "dom.security.trusted_types.enabled",
234+
"value_to_set": "true"
235+
}
236+
]
237+
},
238+
"firefox_android": "mirror",
239+
"oculus": "mirror",
240+
"opera": "mirror",
241+
"opera_android": "mirror",
242+
"safari": {
243+
"version_added": "26"
244+
},
245+
"safari_ios": "mirror",
246+
"samsunginternet_android": "mirror",
247+
"webview_android": "mirror",
248+
"webview_ios": "mirror"
249+
},
250+
"status": {
251+
"experimental": false,
252+
"standard_track": true,
253+
"deprecated": false
254+
}
255+
}
256+
},
218257
"mime_checks": {
219258
"__compat": {
220259
"description": "Strict MIME type checks for `importScripts()`",

0 commit comments

Comments
 (0)