[MSE] Implement Append Error algorithm.
[WebKit-https.git] / LayoutTests / media / media-source / media-source-append-failed.html
index 5ea2374a08698764fbdc89b1289cabae37978db8..eabf4c8646ba0b3fcb41b7d85e178f8989b5a317 100644 (file)
@@ -25,6 +25,7 @@
 
         waitForEventOn(sourceBuffer, 'updatestart');
         waitForEventOn(sourceBuffer, 'update');
 
         waitForEventOn(sourceBuffer, 'updatestart');
         waitForEventOn(sourceBuffer, 'update');
+        waitForEventOn(sourceBuffer, 'error');
         waitForEventOn(sourceBuffer, 'updateend');
         waitForEventOn(source, 'sourceended', endTest);
         initSegment = makeAnInvalidBox();
         waitForEventOn(sourceBuffer, 'updateend');
         waitForEventOn(source, 'sourceended', endTest);
         initSegment = makeAnInvalidBox();