Title: [207662] trunk/LayoutTests
Revision
207662
Author
jer.no...@apple.com
Date
2016-10-21 01:04:43 -0700 (Fri, 21 Oct 2016)

Log Message

[mac-wk2 release] LayoutTest media/media-source/media-source-seek-detach-crash.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=163751

Reviewed by Eric Carlson.

Don't log when we receive an "error" event; this makes the test non-deterministic.

* media/media-source/media-source-seek-detach-crash-expected.txt:
* media/media-source/media-source-seek-detach-crash.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (207661 => 207662)


--- trunk/LayoutTests/ChangeLog	2016-10-21 08:03:22 UTC (rev 207661)
+++ trunk/LayoutTests/ChangeLog	2016-10-21 08:04:43 UTC (rev 207662)
@@ -1,5 +1,17 @@
 2016-10-21  Jer Noble  <jer.no...@apple.com>
 
+        [mac-wk2 release] LayoutTest media/media-source/media-source-seek-detach-crash.html is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=163751
+
+        Reviewed by Eric Carlson.
+
+        Don't log when we receive an "error" event; this makes the test non-deterministic.
+
+        * media/media-source/media-source-seek-detach-crash-expected.txt:
+        * media/media-source/media-source-seek-detach-crash.html:
+
+2016-10-21  Jer Noble  <jer.no...@apple.com>
+
         CRASH in SourceBuffer::sourceBufferPrivateDidReceiveSample + 2169
         https://bugs.webkit.org/show_bug.cgi?id=163735
 

Modified: trunk/LayoutTests/media/media-source/media-source-seek-detach-crash-expected.txt (207661 => 207662)


--- trunk/LayoutTests/media/media-source/media-source-seek-detach-crash-expected.txt	2016-10-21 08:03:22 UTC (rev 207661)
+++ trunk/LayoutTests/media/media-source/media-source-seek-detach-crash-expected.txt	2016-10-21 08:04:43 UTC (rev 207662)
@@ -12,6 +12,5 @@
 Generate an error by appending an initialization segment with a different number of tracks, which will cause the MediaSource to detach.
 RUN(sourceBuffer.appendBuffer(loader.initSegment()))
 RUN(video.currentTime = 2)
-EVENT(error)
 END OF TEST
 

Modified: trunk/LayoutTests/media/media-source/media-source-seek-detach-crash.html (207661 => 207662)


--- trunk/LayoutTests/media/media-source/media-source-seek-detach-crash.html	2016-10-21 08:03:22 UTC (rev 207661)
+++ trunk/LayoutTests/media/media-source/media-source-seek-detach-crash.html	2016-10-21 08:04:43 UTC (rev 207662)
@@ -51,7 +51,7 @@
         consoleWrite('Generate an error by appending an initialization segment with a different number of tracks, which will cause the MediaSource to detach.');
         run('sourceBuffer.appendBuffer(loader.initSegment())');
         setTimeout(() => { run('video.currentTime = 2'); });
-        waitForEvent('error', endTestLater);
+        video.addEventListener('error', endTestLater);
     }
     </script>
 </head>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to