Bug 1834528 - Enable strict MIME type checks for worker-imported scripts, r=smaug

- enabled for early beta

Differential Revision: https://phabricator.services.mozilla.com/D178785
This commit is contained in:
Artur Iunusov 2023-05-23 15:55:01 +00:00
Родитель 6a17b5fdf8
Коммит 6072b65316
2 изменённых файлов: 73 добавлений и 73 удалений

Просмотреть файл

@ -3997,7 +3997,7 @@
- name: dom.workers.importScripts.enforceStrictMimeType
type: RelaxedAtomicBool
value: @IS_NIGHTLY_BUILD@
value: @IS_EARLY_BETA_OR_EARLIER@
mirror: always
# Is support for modules (new Worker(..., {type: "module"})) enabled for workers?

Просмотреть файл

@ -1,290 +1,290 @@
[importscripts_mime_local.any.worker.html]
[importScripts() requires scripty MIME types for data: URLs: image/png is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/csv is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: video/mpeg is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/html is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/plain is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: application/xml is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: application/octet-stream is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/potato is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: potato/text is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: aaa/aaa is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: zzz/zzz is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/csv; charset=utf-8 is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/csv;charset=utf-8 is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/csv;bla;bla is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: Text/html is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/Html is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: TeXt/HtMl is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: TEXT/HTML is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: image/png is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/csv is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: video/mpeg is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/html is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/plain is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: application/xml is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: application/octet-stream is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/potato is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: potato/text is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: aaa/aaa is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: zzz/zzz is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/csv; charset=utf-8 is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/csv;charset=utf-8 is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/csv;bla;bla is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: Text/html is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/Html is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: TeXt/HtMl is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: TEXT/HTML is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importscripts_mime_local.any.sharedworker.html]
[importScripts() requires scripty MIME types for data: URLs: image/png is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/csv is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: video/mpeg is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/html is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/plain is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: application/xml is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: application/octet-stream is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/potato is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: potato/text is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: aaa/aaa is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: zzz/zzz is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/csv; charset=utf-8 is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/csv;charset=utf-8 is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/csv;bla;bla is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: Text/html is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: text/Html is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: TeXt/HtMl is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for data: URLs: TEXT/HTML is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: image/png is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/csv is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: video/mpeg is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/html is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/plain is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: application/xml is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: application/octet-stream is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/potato is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: potato/text is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: aaa/aaa is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: zzz/zzz is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/csv; charset=utf-8 is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/csv;charset=utf-8 is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/csv;bla;bla is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: Text/html is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: text/Html is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: TeXt/HtMl is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS
[importScripts() requires scripty MIME types for blob: URLs: TEXT/HTML is blocked.]
expected:
if release_or_beta: FAIL
if early_beta_or_earlier: PASS