Bug 973384 - Call |cb| before WebVTTListener::AsyncOnChannelRedirect returns. r=rillian a=gchang
authorHenry Chang <hchang@mozilla.com>
Thu, 02 Feb 2017 11:26:56 +0800
changeset 359137 620b79612ae43754ec2f917788c20aa53f9e97ec
parent 359136 434d0089e1ad173a8e48d4173edd6422c0a9d468
child 359138 6512b480a90a200db2208c9c46902a66477a8678
push id10723
push usercbook@mozilla.com
push dateMon, 13 Feb 2017 08:28:52 +0000
treeherdermozilla-aurora@dde4995469df [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrillian, gchang
bugs973384
milestone53.0a2
Bug 973384 - Call |cb| before WebVTTListener::AsyncOnChannelRedirect returns. r=rillian a=gchang MozReview-Commit-ID: 32nXdFpgCjg
dom/media/WebVTTListener.cpp
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/009.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/010.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/011.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/012.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/013.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/014.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/015.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/016.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/017.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/018.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/019.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/020.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/021.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/022.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/023.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/024.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/025.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/026.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/027.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/028.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/029.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/030.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/031.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/032.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/033.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/034.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/035.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/036.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/037.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/038.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/039.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/040.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/041.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/042.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/043.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/044.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/045.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/046.html.ini
--- a/dom/media/WebVTTListener.cpp
+++ b/dom/media/WebVTTListener.cpp
@@ -6,16 +6,17 @@
 #include "WebVTTListener.h"
 #include "mozilla/dom/TextTrackCue.h"
 #include "mozilla/dom/TextTrackRegion.h"
 #include "mozilla/dom/VTTRegionBinding.h"
 #include "mozilla/dom/HTMLTrackElement.h"
 #include "nsIInputStream.h"
 #include "nsIWebVTTParserWrapper.h"
 #include "nsComponentManagerUtils.h"
+#include "nsIAsyncVerifyRedirectCallback.h"
 
 namespace mozilla {
 namespace dom {
 
 NS_IMPL_CYCLE_COLLECTION(WebVTTListener, mElement, mParserWrapper)
 
 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(WebVTTListener)
   NS_INTERFACE_MAP_ENTRY(nsIWebVTTListener)
@@ -72,16 +73,17 @@ NS_IMETHODIMP
 WebVTTListener::AsyncOnChannelRedirect(nsIChannel* aOldChannel,
                                        nsIChannel* aNewChannel,
                                        uint32_t aFlags,
                                        nsIAsyncVerifyRedirectCallback* cb)
 {
   if (mElement) {
     mElement->OnChannelRedirect(aOldChannel, aNewChannel, aFlags);
   }
+  cb->OnRedirectVerifyCallback(NS_OK);
   return NS_OK;
 }
 
 NS_IMETHODIMP
 WebVTTListener::OnStartRequest(nsIRequest* aRequest,
                                nsISupports* aContext)
 {
   VTT_LOG("WebVTTListener::OnStartRequest\n");
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/009.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/009.html.ini
@@ -1,5 +1,5 @@
 [009.html]
   type: testharness
   [track CORS: No CORS, not same-origin, no headers]
-    expected: FAIL
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/010.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/010.html.ini
@@ -1,5 +1,5 @@
 [010.html]
   type: testharness
   [track CORS: Anonymous, not same-origin, no headers]
-    expected: FAIL
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/011.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/011.html.ini
@@ -1,5 +1,5 @@
 [011.html]
   type: testharness
   [track CORS: Anonymous, not same-origin, with headers]
-    expected: FAIL
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/012.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/012.html.ini
@@ -1,5 +1,5 @@
 [012.html]
   type: testharness
   [track CORS: Use Credentials, not same-origin, no headers]
-    expected: FAIL
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/013.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/013.html.ini
@@ -1,5 +1,5 @@
 [013.html]
   type: testharness
   [track CORS: Use Credentials, not same-origin, with headers]
-    expected: FAIL
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/014.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/014.html.ini
@@ -1,6 +1,5 @@
 [014.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: No CORS, same-origin, no headers, redirects to same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/015.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/015.html.ini
@@ -1,6 +1,5 @@
 [015.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: No CORS, same-origin, with headers, redirects to same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/016.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/016.html.ini
@@ -1,6 +1,5 @@
 [016.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, same-origin, no headers, redirects to same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/017.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/017.html.ini
@@ -1,6 +1,5 @@
 [017.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, same-origin, no headers, redirects to same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/018.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/018.html.ini
@@ -1,6 +1,5 @@
 [018.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, same-origin, no headers, redirects to same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/019.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/019.html.ini
@@ -1,6 +1,5 @@
 [019.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, same-origin, with headers, redirects to same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/020.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/020.html.ini
@@ -1,6 +1,5 @@
 [020.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, not same-origin, no headers, redirects to same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/021.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/021.html.ini
@@ -1,6 +1,5 @@
 [021.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, not same-origin, with headers, redirects to same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/022.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/022.html.ini
@@ -1,6 +1,5 @@
 [022.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, not same-origin, with headers, redirects to same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/023.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/023.html.ini
@@ -1,6 +1,5 @@
 [023.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, not same-origin, no headers, redirects to same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/024.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/024.html.ini
@@ -1,6 +1,5 @@
 [024.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, not same-origin, with headers, redirects to same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/025.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/025.html.ini
@@ -1,6 +1,6 @@
 [025.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, not same-origin, with headers, redirects to same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
+
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/026.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/026.html.ini
@@ -1,6 +1,6 @@
 [026.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: No CORS, same-origin, with headers, redirects to not same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
+
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/027.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/027.html.ini
@@ -1,6 +1,5 @@
 [027.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, same-origin, no headers, redirects to not same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/028.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/028.html.ini
@@ -1,6 +1,5 @@
 [028.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, same-origin, with headers, redirects to not same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/029.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/029.html.ini
@@ -1,6 +1,5 @@
 [029.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, same-origin, no headers, redirects to not same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/030.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/030.html.ini
@@ -1,6 +1,5 @@
 [030.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, same-origin, with headers, redirects to not same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/031.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/031.html.ini
@@ -1,6 +1,5 @@
 [031.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, not same-origin, no headers, redirects to not same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/032.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/032.html.ini
@@ -1,6 +1,5 @@
 [032.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, not same-origin, with headers, redirects to not same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/033.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/033.html.ini
@@ -1,6 +1,5 @@
 [033.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, not same-origin, with headers, redirects to not same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/034.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/034.html.ini
@@ -1,6 +1,5 @@
 [034.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, not same-origin, no headers, redirects to not same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/035.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/035.html.ini
@@ -1,6 +1,5 @@
 [035.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, not same-origin, with headers, redirects to not same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/036.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/036.html.ini
@@ -1,6 +1,5 @@
 [036.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, not same-origin, with headers, redirects to not same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/037.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/037.html.ini
@@ -1,6 +1,5 @@
 [037.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, same-origin, no headers, redirects to not same-origin, no headers, redirects to same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/038.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/038.html.ini
@@ -1,6 +1,5 @@
 [038.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, same-origin, with headers, redirects to not same-origin, with headers, redirects to same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/039.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/039.html.ini
@@ -1,6 +1,5 @@
 [039.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, same-origin, no headers, redirects to not same-origin, with headers, redirects to same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/040.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/040.html.ini
@@ -1,6 +1,5 @@
 [040.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, same-origin, no headers, redirects to not same-origin, no headers, redirects to same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/041.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/041.html.ini
@@ -1,6 +1,5 @@
 [041.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, same-origin, with headers, redirects to not same-origin, with headers, redirects to same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/042.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/042.html.ini
@@ -1,6 +1,5 @@
 [042.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, same-origin, no headers, redirects to not same-origin, with headers, redirects to same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/043.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/043.html.ini
@@ -1,6 +1,5 @@
 [043.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, same-origin, no headers, redirects to same-origin, no headers, redirects to not same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/044.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/044.html.ini
@@ -1,6 +1,5 @@
 [044.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Anonymous, same-origin, no headers, redirects to same-origin, no headers, redirects to not same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/045.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/045.html.ini
@@ -1,6 +1,5 @@
 [045.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, same-origin, no headers, redirects to same-origin, no headers, redirects to not same-origin, no headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242
 
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/046.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/cors/046.html.ini
@@ -1,6 +1,5 @@
 [046.html]
   type: testharness
-  expected: TIMEOUT
   [track CORS: Use Credentials, same-origin, no headers, redirects to same-origin, no headers, redirects to not same-origin, with headers]
-    expected: TIMEOUT
+    disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1337242