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

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

Issue 14931009: Make Comment constructable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 This tests that Comment is constructable.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS new Comment("one").data is "one"
7 PASS new Comment().data is ""
8 PASS new Comment("two").ownerDocument is document
9 PASS typeof new Comment is "object"
10 PASS Object.prototype.toString.call(new Comment) is "[object Comment]"
11 PASS new Comment instanceof Comment is true
12 PASS Object.getPrototypeOf(new Comment) is Comment.prototype
13 PASS new innerWindow.Comment("three").ownerDocument is innerDocument
14 PASS new innerWindow.Comment instanceof innerWindow.Comment is true
15 PASS Object.getPrototypeOf(new innerWindow.Comment) is innerWindow.Comment.proto type
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Comment/comment-constructor.html ('k') | LayoutTests/fast/dom/dom-constructors.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698