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

Unified Diff: third_party/WebKit/LayoutTests/media/video-defaultmuted-expected.txt

Issue 2126753002: Convert video-[default, size, timeupdate]* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 5 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/media/video-defaultmuted-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/video-defaultmuted-expected.txt b/third_party/WebKit/LayoutTests/media/video-defaultmuted-expected.txt
deleted file mode 100644
index d718364f5e0700f8929694446f931ffa3fc72090..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/video-defaultmuted-expected.txt
+++ /dev/null
@@ -1,72 +0,0 @@
-Test 'muted' content attribute
-
-
-
-*** Test with 'muted' content attribute
-
-RUN(video = document.createElement('video'))
-RUN(video.setAttribute('controls', 'controls'))
-RUN(video.setAttribute('muted', 'muted'))
-
-*** Test before setting src, IDL attribute should default to false
-EXPECTED (video.muted == 'false') OK
-EXPECTED (video.defaultMuted == 'true') OK
-
-EVENT(loadedmetadata)
-
-*** After setting url, content attribute should have set IDL attribute
-EXPECTED (video.muted == 'true') OK
-EXPECTED (video.defaultMuted == 'true') OK
-
-*** Change 'defaultMuted', IDL attribute should not change but content attribute should.
-RUN(video.defaultMuted = false)
-EXPECTED (video.muted == 'true') OK
-EXPECTED (video.defaultMuted == 'false') OK
-EXPECTED (video.hasAttribute('muted') == 'false') OK
-
-*** Change 'muted' IDL attribute, content attribute should not change
-RUN(video.muted = false)
-EXPECTED (video.muted == 'false') OK
-EXPECTED (video.defaultMuted == 'false') OK
-EXPECTED (video.hasAttribute('muted') == 'false') OK
-
-*** Remove 'muted' content attribute, it should have no effect on IDL attribute
-RUN(video.removeAttribute('muted'))
-EXPECTED (video.muted == 'false') OK
-EXPECTED (video.defaultMuted == 'false') OK
-
-
-*** Test without 'muted' content attribute
-
-RUN(video = document.createElement('video'))
-RUN(video.setAttribute('controls', 'controls'))
-
-*** Test before setting src, IDL attribute should default to false
-EXPECTED (video.muted == 'false') OK
-EXPECTED (video.defaultMuted == 'false') OK
-
-EVENT(loadedmetadata)
-
-*** After setting url, content attribute should have set IDL attribute
-EXPECTED (video.muted == 'false') OK
-EXPECTED (video.defaultMuted == 'false') OK
-
-*** Change 'defaultMuted', IDL attribute should not change but content attribute should.
-RUN(video.defaultMuted = true)
-EXPECTED (video.muted == 'false') OK
-EXPECTED (video.defaultMuted == 'true') OK
-EXPECTED (video.hasAttribute('muted') == 'true') OK
-
-*** Change 'muted' IDL attribute, content attribute should not change
-RUN(video.muted = false)
-EXPECTED (video.muted == 'false') OK
-EXPECTED (video.defaultMuted == 'true') OK
-EXPECTED (video.hasAttribute('muted') == 'true') OK
-
-*** Add 'muted' content attribute, it should have no effect on IDL attribute
-RUN(video.setAttribute('muted', 'muted'))
-EXPECTED (video.muted == 'false') OK
-EXPECTED (video.defaultMuted == 'true') OK
-
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698