Bug 1616723 restrict Worklet and AudioParamMap to secure contexts r=baku

Differential Revision: https://phabricator.services.mozilla.com/D68774

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Karl Tomlinson 2020-03-30 20:55:07 +00:00
Родитель f07c809560
Коммит c6f307b7eb
4 изменённых файлов: 3 добавлений и 4 удалений

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

@ -167,7 +167,7 @@ var interfaceNamesInGlobalScope = [
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "AudioParam", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "AudioParamMap", insecureContext: true, disabled: true },
{ name: "AudioParamMap", insecureContext: false, disabled: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "AudioProcessingEvent", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!

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

@ -10,7 +10,7 @@
* liability, trademark and document use rules apply.
*/
[Pref="dom.audioworklet.enabled",
[SecureContext, Pref="dom.audioworklet.enabled",
Exposed=Window]
interface AudioParamMap {
readonly maplike<DOMString, AudioParam>;

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

@ -7,7 +7,7 @@
* https://drafts.css-houdini.org/worklets/#idl-index
*/
[Pref="dom.worklet.enabled",
[SecureContext, Pref="dom.worklet.enabled",
Exposed=Window]
interface Worklet {
[NewObject, Throws, NeedsCallerType]

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

@ -21,7 +21,6 @@ support-files=worklet_test_audioWorkletGlobalScopeRegisterProcessor.js
support-files=worklet_exception.js
[test_paintWorklet.html]
skip-if = release_or_beta
scheme = http
support-files=worklet_paintWorklet.js
[test_audioWorklet_WASM.html]
skip-if = release_or_beta # requires dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled