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

Unified Diff: LayoutTests/fast/events/constructors/media-query-list-event-constructor-expected.txt

Issue 799733002: Use event init dictionaries in core/{css,html} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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: LayoutTests/fast/events/constructors/media-query-list-event-constructor-expected.txt
diff --git a/LayoutTests/fast/events/constructors/media-query-list-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/media-query-list-event-constructor-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a38912f70f4ea321fac3cbc3121594c0504aa8db
--- /dev/null
+++ b/LayoutTests/fast/events/constructors/media-query-list-event-constructor-expected.txt
@@ -0,0 +1,19 @@
+This tests the constructor for the MediaQueryListEvent DOM class.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS new MediaQueryListEvent('eventType').bubbles is false
+PASS new MediaQueryListEvent('eventType').cancelable is false
+PASS new MediaQueryListEvent('eventType').media is ""
+PASS new MediaQueryListEvent('eventType').matches is false
+PASS new MediaQueryListEvent('eventType', { bubbles: true, cancelable: true }).bubbles is true
+PASS new MediaQueryListEvent('eventType', { bubbles: true, cancelable: true }).cancelable is true
+PASS new MediaQueryListEvent('eventType').media is ""
+PASS new MediaQueryListEvent('eventType').matches is false
+PASS new MediaQueryListEvent('eventType', { media: 'string' }).media is "string"
+PASS new MediaQueryListEvent('eventType', { matches: true }).matches is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698