Bug 1560534 - Update wpt test expectations for webaudio. r=aryx
☠☠ backed out by 29066d3463d4 ☠ ☠
authorDan Minor <dminor@mozilla.com>
Wed, 26 Jun 2019 10:55:57 -0400
changeset 540603 db11508e43e7d2d424d58a68241a3b9a915f572a
parent 540602 109ccdeb96342a315b86ef0c7ebe76738308673b
child 540604 7b348e47e8978f6896bd4c65d790d245adf80865
push id11529
push userarchaeopteryx@coole-files.de
push dateThu, 04 Jul 2019 15:22:33 +0000
treeherdermozilla-beta@ebb510a784b8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaryx
bugs1560534
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1560534 - Update wpt test expectations for webaudio. r=aryx
testing/web-platform/meta/html/dom/interfaces.https.html.ini
testing/web-platform/meta/webaudio/idlharness.https.window.js.ini
testing/web-platform/meta/webaudio/the-audio-api/the-audiobuffersourcenode-interface/active-processing.https.html.ini
testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-addmodule-resolution.https.html.ini
testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-messageport.https.html.ini
testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-postmessage-sharedarraybuffer.https.html.ini
testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-timing-info.https.html.ini
testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-construction.https.html.ini
testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-onerror.https.html.ini
testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-output-channel-count.https.html.ini
testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/simple-input-output.https.html.ini
testing/web-platform/meta/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/cors-check.https.html.ini
testing/web-platform/meta/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/no-cors.https.html.ini
testing/web-platform/meta/worklets/audio-worklet-credentials.https.html.ini
testing/web-platform/meta/worklets/audio-worklet-csp.https.html.ini
testing/web-platform/meta/worklets/audio-worklet-referrer.https.html.ini
--- a/testing/web-platform/meta/html/dom/interfaces.https.html.ini
+++ b/testing/web-platform/meta/html/dom/interfaces.https.html.ini
@@ -98,29 +98,25 @@ prefs: [dom.security.featurePolicy.enabl
       if os == "android": FAIL
 
   [Window interface: operation print()]
     expected:
       if os == "android": FAIL
 
   [Window interface: window must have own property "window"]
     bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1510437
-    expected: FAIL
 
   [Window interface: window must have own property "document"]
     bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1510437
-    expected: FAIL
 
   [Window interface: window must have own property "location"]
     bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1510437
-    expected: FAIL
 
   [Window interface: window must have own property "top"]
     bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1510437
-    expected: FAIL
 
   [Window interface: attribute onformdata]
     expected: FAIL
 
   [Window interface: window must inherit property "onformdata" with the proper type]
     expected: FAIL
 
   [Document interface: new Document() must inherit property "onformdata" with the proper type]
--- a/testing/web-platform/meta/webaudio/idlharness.https.window.js.ini
+++ b/testing/web-platform/meta/webaudio/idlharness.https.window.js.ini
@@ -132,8 +132,173 @@
     expected: FAIL
 
   [OfflineAudioContext interface: operation resume()]
     expected: FAIL
 
   [AudioContext interface: operation resume()]
     expected: FAIL
 
+  [AudioWorkletNode interface: worklet_node must inherit property "port" with the proper type]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "disconnect(AudioParam, unsigned long)" with the proper type]
+    expected: FAIL
+
+  [Stringification of context.audioWorklet]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "numberOfOutputs" with the proper type]
+    expected: FAIL
+
+  [AudioWorkletNode interface: attribute onprocessorerror]
+    expected: FAIL
+
+  [idl_test setup]
+    expected: FAIL
+
+  [AudioWorkletNode interface object name]
+    expected: FAIL
+
+  [AudioWorkletNode interface: existence and properties of interface object]
+    expected: FAIL
+
+  [Stringification of worklet_node]
+    expected: FAIL
+
+  [AudioNode interface: calling disconnect(unsigned long) on worklet_node with too few arguments must throw TypeError]
+    expected: FAIL
+
+  [AudioParamMap interface: existence and properties of interface object]
+    expected: FAIL
+
+  [AudioWorklet interface object name]
+    expected: FAIL
+
+  [AudioWorklet interface: existence and properties of interface prototype object's "constructor" property]
+    expected: FAIL
+
+  [AudioNode interface: calling disconnect(AudioNode) on worklet_node with too few arguments must throw TypeError]
+    expected: FAIL
+
+  [AudioNode interface: calling connect(AudioParam, unsigned long) on worklet_node with too few arguments must throw TypeError]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "connect(AudioNode, unsigned long, unsigned long)" with the proper type]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "disconnect(AudioNode)" with the proper type]
+    expected: FAIL
+
+  [AudioParamMap interface object length]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "disconnect()" with the proper type]
+    expected: FAIL
+
+  [BaseAudioContext interface: attribute audioWorklet]
+    expected: FAIL
+
+  [AudioWorkletNode interface: existence and properties of interface prototype object]
+    expected: FAIL
+
+  [AudioParamMap interface: existence and properties of interface prototype object]
+    expected: FAIL
+
+  [BaseAudioContext interface: context must inherit property "audioWorklet" with the proper type]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "disconnect(unsigned long)" with the proper type]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "disconnect(AudioParam)" with the proper type]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "channelCount" with the proper type]
+    expected: FAIL
+
+  [AudioWorkletNode interface: attribute port]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "connect(AudioParam, unsigned long)" with the proper type]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "channelInterpretation" with the proper type]
+    expected: FAIL
+
+  [AudioWorkletNode must be primary interface of worklet_node]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "context" with the proper type]
+    expected: FAIL
+
+  [AudioWorkletNode interface: existence and properties of interface prototype object's @@unscopables property]
+    expected: FAIL
+
+  [AudioParamMap interface object name]
+    expected: FAIL
+
+  [AudioWorkletNode interface: worklet_node must inherit property "parameters" with the proper type]
+    expected: FAIL
+
+  [AudioWorklet interface: existence and properties of interface object]
+    expected: FAIL
+
+  [AudioNode interface: calling connect(AudioNode, unsigned long, unsigned long) on worklet_node with too few arguments must throw TypeError]
+    expected: FAIL
+
+  [AudioWorkletNode interface: attribute parameters]
+    expected: FAIL
+
+  [AudioWorklet must be primary interface of context.audioWorklet]
+    expected: FAIL
+
+  [AudioWorklet interface: existence and properties of interface prototype object's @@unscopables property]
+    expected: FAIL
+
+  [BaseAudioContext interface: new OfflineAudioContext(1, 1, sample_rate) must inherit property "audioWorklet" with the proper type]
+    expected: FAIL
+
+  [AudioNode interface: calling disconnect(AudioParam, unsigned long) on worklet_node with too few arguments must throw TypeError]
+    expected: FAIL
+
+  [AudioParamMap interface: existence and properties of interface prototype object's "constructor" property]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "disconnect(AudioNode, unsigned long, unsigned long)" with the proper type]
+    expected: FAIL
+
+  [AudioNode interface: calling disconnect(AudioNode, unsigned long, unsigned long) on worklet_node with too few arguments must throw TypeError]
+    expected: FAIL
+
+  [AudioWorklet interface object length]
+    expected: FAIL
+
+  [AudioNode interface: calling disconnect(AudioNode, unsigned long) on worklet_node with too few arguments must throw TypeError]
+    expected: FAIL
+
+  [AudioWorkletNode interface object length]
+    expected: FAIL
+
+  [AudioParamMap interface: existence and properties of interface prototype object's @@unscopables property]
+    expected: FAIL
+
+  [AudioWorkletNode interface: worklet_node must inherit property "onprocessorerror" with the proper type]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "channelCountMode" with the proper type]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "numberOfInputs" with the proper type]
+    expected: FAIL
+
+  [AudioNode interface: calling disconnect(AudioParam) on worklet_node with too few arguments must throw TypeError]
+    expected: FAIL
+
+  [AudioWorklet interface: existence and properties of interface prototype object]
+    expected: FAIL
+
+  [AudioWorkletNode interface: existence and properties of interface prototype object's "constructor" property]
+    expected: FAIL
+
+  [AudioNode interface: worklet_node must inherit property "disconnect(AudioNode, unsigned long)" with the proper type]
+    expected: FAIL
+
--- a/testing/web-platform/meta/webaudio/the-audio-api/the-audiobuffersourcenode-interface/active-processing.https.html.ini
+++ b/testing/web-platform/meta/webaudio/the-audio-api/the-audiobuffersourcenode-interface/active-processing.https.html.ini
@@ -1,9 +1,10 @@
 [active-processing.https.html]
+  expected: ERROR
   [X Number of channels in input[-1:\]: Expected 1 for all values but found 1 unexpected values: \n\tIndex\tActual\n\t[0\]\t0]
     expected: FAIL
 
   [X Number of channels changed is not true. Got false.]
     expected: FAIL
 
   [< [verify count change\] 3 out of 4 assertions were failed.]
     expected: FAIL
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-addmodule-resolution.https.html.ini
@@ -0,0 +1,4 @@
+[audioworklet-addmodule-resolution.https.html]
+  [\n      Test the invocation order of AudioWorklet.addModule() and BaseAudioContext\n    ]
+    expected: FAIL
+
--- a/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-messageport.https.html.ini
+++ b/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-messageport.https.html.ini
@@ -1,5 +1,4 @@
 [audioworklet-messageport.https.html]
-  expected: ERROR
   [\n      Test MessagePort in AudioWorkletNode and AudioWorkletProcessor\n    ]
     expected: FAIL
 
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-postmessage-sharedarraybuffer.https.html.ini
@@ -0,0 +1,4 @@
+[audioworklet-postmessage-sharedarraybuffer.https.html]
+  [\n      Test passing SharedArrayBuffer to an AudioWorklet\n    ]
+    expected: FAIL
+
--- a/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-timing-info.https.html.ini
+++ b/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-timing-info.https.html.ini
@@ -1,5 +1,4 @@
 [audioworkletglobalscope-timing-info.https.html]
-  expected: ERROR
   [\n      Test currentTime and currentFrame in AudioWorkletGlobalScope\n    ]
     expected: FAIL
 
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-construction.https.html.ini
@@ -0,0 +1,8 @@
+[audioworkletnode-construction.https.html]
+  expected: ERROR
+  [X Creating a node before loading a module should throw. threw "ReferenceError" instead of InvalidStateError.]
+    expected: FAIL
+
+  [< [construction-before-module-loading\] 1 out of 1 assertions were failed.]
+    expected: FAIL
+
--- a/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-onerror.https.html.ini
+++ b/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-onerror.https.html.ini
@@ -1,5 +1,4 @@
 [audioworkletnode-onerror.https.html]
-  expected: TIMEOUT
   [\n      Test onprocessorerror handler in AudioWorkletNode\n    ]
     expected: FAIL
 
--- a/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-output-channel-count.https.html.ini
+++ b/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-output-channel-count.https.html.ini
@@ -1,6 +1,5 @@
 [audioworkletnode-output-channel-count.https.html]
-  expected: ERROR
   [\n      Test the construction of AudioWorkletNode with real-time context\n    ]
     expected:
       if release_or_beta: FAIL
 
--- a/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/simple-input-output.https.html.ini
+++ b/testing/web-platform/meta/webaudio/the-audio-api/the-audioworklet-interface/simple-input-output.https.html.ini
@@ -1,9 +1,10 @@
 [simple-input-output.https.html]
+  expected: ERROR
   [# AUDIT TASK RUNNER FINISHED: 1 out of 2 tasks were failed.]
     expected: FAIL
 
   [< [test\] 2 out of 2 assertions were failed.]
     expected: FAIL
 
   [X AudioWorklet output[128:\]: Expected 1 for all values but found 47872 unexpected values: \n\tIndex\tActual\n\t[0\]\t0\n\t[1\]\t0\n\t[2\]\t0\n\t[3\]\t0\n\t...and 47868 more errors.]
     expected: FAIL
--- a/testing/web-platform/meta/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/cors-check.https.html.ini
+++ b/testing/web-platform/meta/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/cors-check.https.html.ini
@@ -1,5 +1,4 @@
 [cors-check.https.html]
-  expected: ERROR
   [\n      Test if MediaElementAudioSourceNode works for cross-origin redirects with\n      "cors" request mode.\n    ]
     expected: FAIL
 
--- a/testing/web-platform/meta/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/no-cors.https.html.ini
+++ b/testing/web-platform/meta/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/no-cors.https.html.ini
@@ -1,9 +1,8 @@
 [no-cors.https.html]
   disabled:
     if (os == "android") and e10s: bug 1550895 (frequently fails on geckoview)
   bug: AudioWorkletNode::GetPort is not implemented
-  expected: ERROR
   [\n      Test if MediaElementAudioSourceNode works for cross-origin redirects with\n      "no-cors" request mode.\n    ]
     expected:
       if release_or_beta: FAIL
 
--- a/testing/web-platform/meta/worklets/audio-worklet-credentials.https.html.ini
+++ b/testing/web-platform/meta/worklets/audio-worklet-credentials.https.html.ini
@@ -44,8 +44,20 @@
     expected: FAIL
 
   [Importing a same-origin script with credentials=include should send the credentials]
     expected: FAIL
 
   [Importing a same-origin script with the default WorkletOptions should send the credentials]
     expected: FAIL
 
+  [Importing a remote-origin script with credentials=same-origin should not send the credentials]
+    expected: FAIL
+
+  [Importing a remote-origin script with the default WorkletOptions should not send the credentials]
+    expected: FAIL
+
+  [Importing a remote-origin script with credentials=include should send the credentials]
+    expected: FAIL
+
+  [Importing a remote-origin script with credentials=omit should not send the credentials]
+    expected: FAIL
+
--- a/testing/web-platform/meta/worklets/audio-worklet-csp.https.html.ini
+++ b/testing/web-platform/meta/worklets/audio-worklet-csp.https.html.ini
@@ -52,8 +52,47 @@
   [An insecure-origin worklet should not be blocked because of upgrade-insecure-requests.]
     expected:
       if release_or_beta: FAIL
 
   [An insecure-origin-redirected worklet should not be blocked because of upgrade-insecure-requests.]
     expected:
       if release_or_beta: FAIL
 
+  [A remote-origin worklet should not be blocked because the script-src directive specifying the origin allows it.]
+    expected: FAIL
+
+  [A remote-origin worklet should not be blocked by the worker-src directive because worklets obey the script-src directive.]
+    expected: FAIL
+
+  [A remote-origin worklet importing a remote-origin script should be blocked by the script-src 'self' directive.]
+    expected: FAIL
+
+  [A remote-origin-redirected worklet should not be blocked because the script-src * directive allows it.]
+    expected: FAIL
+
+  [A same-origin worklet importing an insecure-origin-redirected script should be blocked because of mixed contents.]
+    expected: FAIL
+
+  [An insecure-origin-redirected worklet should be blocked because of mixed contents.]
+    expected: FAIL
+
+  [A same-origin worklet importing a remote-origin script should be blocked by the script-src 'self' directive.]
+    expected: FAIL
+
+  [A same-origin worklet importing a remote-origin-redirected script should be blocked by the script-src 'self' directive.]
+    expected: FAIL
+
+  [A remote-origin-redirected worklet should not be blocked because the script-src directive specifying the origin allows it.]
+    expected: FAIL
+
+  [A same-origin worklet importing an insecure-origin script should be blocked because of mixed contents.]
+    expected: FAIL
+
+  [An insecure-origin worklet should be blocked because of mixed contents.]
+    expected: FAIL
+
+  [A remote-origin worklet should not be blocked because the script-src * directive allows it.]
+    expected: FAIL
+
+  [A remote-origin-redirected worklet should not be blocked by the worker-src directive because worklets obey the script-src directive.]
+    expected: FAIL
+
--- a/testing/web-platform/meta/worklets/audio-worklet-referrer.https.html.ini
+++ b/testing/web-platform/meta/worklets/audio-worklet-referrer.https.html.ini
@@ -69,8 +69,26 @@
     expected: FAIL
 
   [Importing a remote-origin script from a same-origin worklet script that has "same-origin" referrer policy.]
     expected: FAIL
 
   [Importing a remote-origin script from a remote-origin worklet script that has "same-origin" referrer policy.]
     expected: FAIL
 
+  [Importing a remote-origin script from a page that has "origin" referrer policy should send only an origin as referrer.]
+    expected: FAIL
+
+  [Importing a same-origin script from a page that has "same-origin" referrer policy should send referrer.]
+    expected: FAIL
+
+  [Importing a remote-origin script from a page that has "same-origin" referrer policy should not send referrer.]
+    expected: FAIL
+
+  [Importing a same-origin script from a page that has "no-referrer" referrer policy should not send referrer.]
+    expected: FAIL
+
+  [Importing a remote-origin script from a page that has "no-referrer" referrer policy should not send referrer.]
+    expected: FAIL
+
+  [Importing a same-origin script from a page that has "origin" referrer policy should send only an origin as referrer.]
+    expected: FAIL
+