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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Comment/comment-constructor-expected.txt
diff --git a/LayoutTests/fast/dom/Comment/comment-constructor-expected.txt b/LayoutTests/fast/dom/Comment/comment-constructor-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8daa4d4b75e45a69274dab2c7a15986c5ce7453
--- /dev/null
+++ b/LayoutTests/fast/dom/Comment/comment-constructor-expected.txt
@@ -0,0 +1,19 @@
+This tests that Comment is constructable.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS new Comment("one").data is "one"
+PASS new Comment().data is ""
+PASS new Comment("two").ownerDocument is document
+PASS typeof new Comment is "object"
+PASS Object.prototype.toString.call(new Comment) is "[object Comment]"
+PASS new Comment instanceof Comment is true
+PASS Object.getPrototypeOf(new Comment) is Comment.prototype
+PASS new innerWindow.Comment("three").ownerDocument is innerDocument
+PASS new innerWindow.Comment instanceof innerWindow.Comment is true
+PASS Object.getPrototypeOf(new innerWindow.Comment) is innerWindow.Comment.prototype
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« 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