Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/media/media-source/stream_memory_tests/mediasource-appendstream-quota-exceeded-default-buffers.html

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/media/media-source/stream_memory_tests/mediasource-appendstream-quota-exceeded-default-buffers.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/media/media-source/stream_memory_tests/mediasource-appendstream-quota-exceeded-default-buffers.html b/third_party/WebKit/LayoutTests/http/tests/media/media-source/stream_memory_tests/mediasource-appendstream-quota-exceeded-default-buffers.html
deleted file mode 100644
index 17c8e9cf7eaa03ca986b64accf6f09e3fa4044ad..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/media/media-source/stream_memory_tests/mediasource-appendstream-quota-exceeded-default-buffers.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <script src="/w3c/resources/testharness.js"></script>
- <script src="/w3c/resources/testharnessreport.js"></script>
- <script src="../mediasource-util.js"></script>
- </head>
- <body>
- <script>
- var mediaURL = "/media/resources/media-source/webm/test-a-5min-44100Hz-1ch.webm";
-
- mediasource_test(function(test, mediaElement, mediaSource)
- {
- var sourceBuffer = mediaSource.addSourceBuffer(MediaSourceUtil.AUDIO_ONLY_TYPE);
- sourceBuffer.mode = 'sequence';
-
- MediaSourceUtil.fillUpSourceBufferViaAppendStream(test, mediaSource, sourceBuffer, mediaURL, function (appendedDataSize) {
- assert_greater_than(appendedDataSize, 12 * 1048576, "Appended more than 12MB of data");
- assert_less_than(appendedDataSize, 14 * 1048576, "Appended less than 14MB of data");
- test.done();
- }, 551 * 1024);
- }, 'Calling appendStream repeatedly with size parameter should fill up the buffer and throw a QuotaExceededError when buffer is full.');
-
- mediasource_test(function(test, mediaElement, mediaSource)
- {
- var sourceBuffer = mediaSource.addSourceBuffer(MediaSourceUtil.AUDIO_ONLY_TYPE);
- sourceBuffer.mode = 'sequence';
-
- // When SourceBuffer.appendStream is called without the explicit size parameter, then the buffer full condition is reported
- // by posting an 'error' event on the SourceBuffer. There should be no QuotaExceededError exception in this case.
- sourceBuffer.addEventListener('error', test.step_func_done());
-
- MediaSourceUtil.fillUpSourceBufferViaAppendStream(test, mediaSource, sourceBuffer, mediaURL, function (appendedDataSize) {
- assert_unreached('Unexpected QuotaExceededError exception');
- });
- }, 'Calling appendStream repeatedly without size parameter should fill up the buffer and send an error event when buffer is full.');
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698