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

Side by Side Diff: LayoutTests/fast/dom/Comment/comment-constructor-expected.txt

Issue 382833003: Revert of IDL: Treat undefined as missing for optional arguments with defaults (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
1 This tests that Comment is constructable. 1 This tests that Comment is constructable.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS new Comment("one").data is "one" 6 PASS new Comment("one").data is "one"
7 PASS new Comment().data is "" 7 PASS new Comment().data is ""
8 PASS new Comment(undefined).data is ""
9 PASS new Comment(null).data is "null"
10 PASS new Comment("two").ownerDocument is document 8 PASS new Comment("two").ownerDocument is document
11 PASS typeof new Comment is "object" 9 PASS typeof new Comment is "object"
12 PASS Object.prototype.toString.call(new Comment) is "[object Comment]" 10 PASS Object.prototype.toString.call(new Comment) is "[object Comment]"
13 PASS new Comment instanceof Comment is true 11 PASS new Comment instanceof Comment is true
14 PASS Object.getPrototypeOf(new Comment) is Comment.prototype 12 PASS Object.getPrototypeOf(new Comment) is Comment.prototype
15 PASS new innerWindow.Comment("three").ownerDocument is innerDocument 13 PASS new innerWindow.Comment("three").ownerDocument is innerDocument
16 PASS new innerWindow.Comment instanceof innerWindow.Comment is true 14 PASS new innerWindow.Comment instanceof innerWindow.Comment is true
17 PASS Object.getPrototypeOf(new innerWindow.Comment) is innerWindow.Comment.proto type 15 PASS Object.getPrototypeOf(new innerWindow.Comment) is innerWindow.Comment.proto type
18 PASS successfullyParsed is true 16 PASS successfullyParsed is true
19 17
20 TEST COMPLETE 18 TEST COMPLETE
21 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698