Bug 1288329: [webref] P7. Fix mimetype. r=gerald
authorJean-Yves Avenard <jyavenard@mozilla.com>
Sun, 31 Jul 2016 19:16:37 +1000
changeset 347508 f3e86b019fbf593ae081f7b35669d2c610e6c7cc
parent 347507 6e1765d4c1c1ae9ca7bb7012da07136d21ddf302
child 347509 de5f049f1029d88385fadb9a57a0d64ae78a1332
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgerald
bugs1288329
milestone50.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 1288329: [webref] P7. Fix mimetype. r=gerald The ogg file contains a theora video track with a flac audio track, not vorbis. The new OggDemuxer properly ignore the tracks it knows nothing about. This will cause the tests to use MP4 with h264/aac instead which isn't available on Windows XP, so we mark those tests are expected to fail. MozReview-Commit-ID: 4UowUS6rQt3
testing/web-platform/meta/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html.ini
testing/web-platform/meta/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html.ini
testing/web-platform/meta/html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html.ini
testing/web-platform/meta/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html.ini
testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js
--- a/testing/web-platform/meta/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html.ini
+++ b/testing/web-platform/meta/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html.ini
@@ -7,16 +7,32 @@
     expected: TIMEOUT
 
   [hyperlink auditing <area ping>]
     expected: TIMEOUT
 
   [loading image <video poster>]
     disabled: true
 
+  [loading video <video>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
+  [loading video <video><source>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
+  [loading video <audio>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
+  [loading video <audio><source>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
   [history.pushState]
     expected: FAIL
 
   [history.replaceState]
     expected: FAIL
 
   [SharedWorker() in a dedicated worker]
     expected: FAIL
--- a/testing/web-platform/meta/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html.ini
+++ b/testing/web-platform/meta/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html.ini
@@ -7,16 +7,32 @@
     expected: TIMEOUT
 
   [hyperlink auditing <area ping>]
     expected: TIMEOUT
 
   [loading image <video poster>]
     disabled: true
 
+  [loading video <video>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
+  [loading video <video><source>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
+  [loading video <audio>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
+  [loading video <audio><source>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
   [history.pushState]
     expected: FAIL
 
   [history.replaceState]
     expected: FAIL
 
   [SharedWorker() in a dedicated worker]
     expected: FAIL
--- a/testing/web-platform/meta/html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html.ini
+++ b/testing/web-platform/meta/html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html.ini
@@ -7,16 +7,32 @@
     expected: TIMEOUT
 
   [hyperlink auditing <area ping>]
     expected: TIMEOUT
 
   [loading image <video poster>]
     disabled: true
 
+  [loading video <video>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
+  [loading video <video><source>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
+  [loading video <audio>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
+  [loading video <audio><source>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
   [history.pushState]
     expected: FAIL
 
   [history.replaceState]
     expected: FAIL
 
   [SharedWorker() in a dedicated worker]
     expected: FAIL
--- a/testing/web-platform/meta/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html.ini
+++ b/testing/web-platform/meta/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html.ini
@@ -43,8 +43,24 @@
     expected: FAIL
 
   [Scheme wss (getting <a>.href)]
     expected: FAIL
 
   [loading image <video poster>]
     disabled: true
 
+  [loading video <video>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
+  [loading video <video><source>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
+  [loading video <audio>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
+  [loading video <audio><source>]
+    expected:
+      if (os == "win") and (version == "5.1.2600"): FAIL
+
--- a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js
+++ b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js
@@ -294,17 +294,17 @@ onload = function() {
   // XXX test <img srcset> or its successor
   // <menuitem icon> could also be tested but the spec doesn't require it to be loaded...
 
   // loading video
   function test_load_video(tag, use_source_element) {
     async_test(function() {
       var elm = document.createElement(tag);
       var video_ext = '';
-      if (elm.canPlayType('video/ogg; codecs="theora,vorbis"')) {
+      if (elm.canPlayType('video/ogg; codecs="theora,flac"')) {
         video_ext = 'ogv';
       } else if (elm.canPlayType('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')) {
         video_ext = 'mp4';
       }
       assert_not_equals(video_ext, '', 'no supported video format');
       var source;
       if (use_source_element) {
         source = document.createElement('source');