Bug 1441488 [wpt PR 9385] - Fix dom_override_remove_cue_while_paused.html, a=testonly
authorSriram <srirama.m@samsung.com>
Tue, 27 Feb 2018 16:19:21 +0000
changeset 461092 37e765a99d1d8c91c4388b238a82fc4f097d21b5
parent 461091 7447958c311f392245ddf31238cf810492cd604c
child 461093 a91d00bab5571b8d38fc445fe2b71cd3f0ebccca
push id1683
push usersfraser@mozilla.com
push dateThu, 26 Apr 2018 16:43:40 +0000
treeherdermozilla-release@5af6cb21869d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1441488, 774567, 896734, 534365
milestone60.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 1441488 [wpt PR 9385] - Fix dom_override_remove_cue_while_paused.html, a=testonly Automatic update from web-platform-tests The failure looks to be because of the difference in screenshots. The test has a white background video, where as the reftest has a div element. Adding same video instead of div in reftest also to pass the test. Bug: 774567 Change-Id: I2b616df29c74f449dcce04e3e7c83da9c61427a3 Reviewed-on: https://chromium-review.googlesource.com/896734 Reviewed-by: Fredrik Söderquist <fs@opera.com> Commit-Queue: srirama chandra sekhar <srirama.m@samsung.com> Cr-Commit-Position: refs/heads/master@{#534365} <!-- Reviewable:start --> <!-- Reviewable:end --> wpt-commits: 58bd5c5b7bb4eb05df0092e0d5e2c38da021e890 wpt-pr: 9385 reapplied-commits: 370e267e160568862f1fd9ec246ab5bb840f586e, fe4514c84e7ad28e46bad5da93381deb99b177f3, 7806af854343c043a2645a4034fdc7812f65daad, 9ddfd21554293dec5a4bf2e5375ae4f3c9f2ded0, 75f63c4d1ebc949647184fd60972fc7b9fd4affb, 1f3a5b496acd2288cc8cf0c32af86cb35157ea4e, 88b42bd5847abac58a62c4d6b33c1509bfce5f3d, 15c2e4c690700c6c115f8afe5e44ded10d943538, c8d461ef1437641ae7d4ea1d21e1e60cd62910b0, a6088a5f48ee299386a84d2f771902267d7355b1, 0634cd8f08ebe0905a9188fb1398c7b5f889c5dc, c8ee4a012dae506ae06bb5b2ad50942b04c1aaaa, c2c352456a4cf62dcc12f851138b04397675a445, b93a8879555d2fa7e7d4e00a275513a3a6338b35, b86e1331cb36634fd33677043b61fc0c1d8485bc, 44ddf14fd3346658c3223f13652073fafbfa48fa, a1a5840a6bb53e305ba02bcbeb215659342d0edb, 7465cb110ae5ec2e2ca73182caf5293f0efc8fd5, aad5349b3458bc3414e274b33fa86a1123901ff2, eca0907980d2769c449894a6277c60c1a306792f, 38626987c0cfd6e715cfcc6f4f1a1209191a03c5, e4a67f7ddcde6cd99348e9104bd7ed07074da44a, bb3c9990840a0fae2afc840b5952d7874785b112, 042d7adef0bdb9dc80e825c3997ace7519477c42, 99f1ea44fc7915b8b7b33bce4732fa8765fd3ac2
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused-ref.html
testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -595999,21 +595999,21 @@
    "80890cc67094d28b9959ee88e91c7d5c8974047c",
    "support"
   ],
   "webvtt/rendering/cues-with-video/processing-model/dom_override_cue_text_while_paused.html": [
    "d08aa80540734c87196980b9053302f5fa4b2b0c",
    "reftest"
   ],
   "webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused-ref.html": [
-   "5b8a5f597777418b7dba44e6e07d05625c599ce7",
+   "c5af748ae8fd0d476c20926f2cc7ad2103b22aa4",
    "support"
   ],
   "webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused.html": [
-   "5f9e48b0160ac1916034ac29cce97282ce9b1ecf",
+   "e1eb138e07d42f488051ab6cb4ead266981c5ed8",
    "reftest"
   ],
   "webvtt/rendering/cues-with-video/processing-model/enable_controls_reposition-ref.html": [
    "f1e0fbe74815d609c82b441f2b1fc53079d80dcc",
    "support"
   ],
   "webvtt/rendering/cues-with-video/processing-model/enable_controls_reposition.html": [
    "a66827b31618ea271142cbbf246cab3f3617899a",
--- a/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused-ref.html
+++ b/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused-ref.html
@@ -1,14 +1,13 @@
 <!DOCTYPE html>
+<html class="reftest-wait">
 <title>Reference for WebVTT rendering, cue text should be removed when removing them using the DOM APIs while paused</title>
+<script src="/common/reftest-wait.js"></script>
 <style>
-html { overflow:hidden }
-body { margin:0 }
-.video {
-    display: inline-block;
-    width: 320px;
-    height: 180px;
-    position: relative;
-    font-size: 9px;
-}
+html { overflow: hidden }
+body { margin: 0 }
 </style>
-<div class="video"></div>
+<video width="320" height="180" autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();">
+  <source src="/media/white.webm" type="video/webm">
+  <source src="/media/white.mp4" type="video/mp4">
+</video>
+</html>
\ No newline at end of file
--- a/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused.html
+++ b/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/dom_override_remove_cue_while_paused.html
@@ -1,35 +1,35 @@
 <!DOCTYPE html>
 <html class="reftest-wait">
 <title>WebVTT rendering, cue text should be removed when removing them using the DOM APIs while paused</title>
 <link rel="match" href="dom_override_remove_cue_while_paused-ref.html">
+<script src="/common/reftest-wait.js"></script>
 <style>
-html { overflow:hidden }
-body { margin:0 }
+html { overflow: hidden }
+body { margin: 0 }
 ::cue {
     font-family: Ahem, sans-serif;
     color: green
 }
 </style>
-<script src="/common/reftest-wait.js"></script>
 <script>
     var i = 0;
     function updateCue() {
         i++;
         if (i !== 2) {
             return;
         }
         var t = document.getElementById('track');
         var c = t.track.cues[0];
         t.track.removeCue(c);
         takeScreenshotDelayed(1000);
     }
 </script>
-<video id="video" width="320" height="180" autoplay onplaying="this.onplaying = null; this.pause(); updateCue();">
+<video width="320" height="180" autoplay onplaying="this.onplaying = null; this.pause(); updateCue();">
     <source src="/media/white.webm" type="video/webm">
     <source src="/media/white.mp4" type="video/mp4">
     <track id="track" src="support/test.vtt" onload="updateCue();">
     <script>
     document.getElementsByTagName('track')[0].track.mode = 'showing';
     </script>
 </video>
 </html>