зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
f07c809560
Коммит
c6f307b7eb
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче