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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/location-of-the-media-resource/currentSrc.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/location-of-the-media-resource/currentSrc.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/location-of-the-media-resource/currentSrc.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/location-of-the-media-resource/currentSrc.html
deleted file mode 100644
index d9b77b4184eaf163435080713c2053a7ac785567..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/location-of-the-media-resource/currentSrc.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!doctype html>
-<title>currentSrc</title>
-<script src="../../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-['audio', 'video'].forEach(function(tagName) {
- test(function() {
- assert_equals(document.createElement(tagName).currentSrc, '');
- }, tagName + '.currentSrc initial value');
-
- ['', '.', ' ', 'data:,'].forEach(function(src) {
- async_test(function(t) {
- var e = document.createElement(tagName);
- e.src = src;
- assert_equals(e.currentSrc, '');
- setTimeout(t.step_func(function() {
- if (src == '') {
- assert_equals(e.currentSrc, '');
- } else {
- assert_equals(e.currentSrc, e.src);
- }
- t.done();
- }), 0);
- }, tagName + '.currentSrc after setting src attribute "' + src + '"');
-
- async_test(function(t) {
- var e = document.createElement(tagName);
- var s = document.createElement('source');
- s.src = src;
- e.appendChild(s);
- assert_equals(e.currentSrc, '');
- setTimeout(t.step_func(function() {
- if (src == '') {
- assert_equals(e.currentSrc, '');
- } else {
- assert_equals(e.currentSrc, s.src);
- }
- t.done();
- }), 0);
- }, tagName + '.currentSrc after adding source element with src attribute "' + src + '"');
- });
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698