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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-remove-source.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-remove-source.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-remove-source.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-remove-source.html
deleted file mode 100644
index 640238d619410258fde97ebc8daf786ca30ec20a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-remove-source.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!doctype html>
-<title>Changes to networkState when inserting and removing a &lt;source></title>
-<script src="../../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../../resources/testharnessreport.js"></script>
-<div id=log></div>
-<script>
-var v;
-var t = async_test(function(t) {
- v = document.createElement('video');
- assert_equals(v.networkState, v.NETWORK_EMPTY, 'networkState when creating the element');
- v.appendChild(document.createElement('source')); // runs resource selection algorithm
- assert_equals(v.networkState, v.NETWORK_NO_SOURCE, 'networkState when inserting a source element');
- v.removeChild(v.firstChild);
- assert_equals(v.networkState, v.NETWORK_NO_SOURCE, 'networkState after removing the source element');
-});
-</script>
-<!-- now resource selection will continue its sync section (the </script> tag below provides a stable state) -->
-<!-- will find neither src nor source, so sets networkState to NETWORK_EMPTY -->
-<script>
-t.step(function() {
- assert_equals(v.networkState, v.NETWORK_EMPTY, 'networkState after letting the sync section of resource selection run');
- t.done();
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698