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

Side by Side Diff: LayoutTests/fast/dom/Text/text-constructor-expected.txt

Issue 373043004: IDL: Treat undefined as missing for optional arguments with defaults (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased 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 Text is constructable. 1 This tests that Text 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 Text("one").data is "one" 6 PASS new Text("one").data is "one"
7 PASS new Text().data is "" 7 PASS new Text().data is ""
8 PASS new Text(undefined).data is ""
9 PASS new Text(null).data is "null"
8 PASS new Text("two").ownerDocument is document 10 PASS new Text("two").ownerDocument is document
9 PASS typeof new Text is "object" 11 PASS typeof new Text is "object"
10 PASS Object.prototype.toString.call(new Text) is "[object Text]" 12 PASS Object.prototype.toString.call(new Text) is "[object Text]"
11 PASS new Text instanceof Text is true 13 PASS new Text instanceof Text is true
12 PASS Object.getPrototypeOf(new Text) is Text.prototype 14 PASS Object.getPrototypeOf(new Text) is Text.prototype
13 PASS new innerWindow.Text("three").ownerDocument is innerDocument 15 PASS new innerWindow.Text("three").ownerDocument is innerDocument
14 PASS new innerWindow.Text instanceof innerWindow.Text is true 16 PASS new innerWindow.Text instanceof innerWindow.Text is true
15 PASS Object.getPrototypeOf(new innerWindow.Text) is innerWindow.Text.prototype 17 PASS Object.getPrototypeOf(new innerWindow.Text) is innerWindow.Text.prototype
16 PASS successfullyParsed is true 18 PASS successfullyParsed is true
17 19
18 TEST COMPLETE 20 TEST COMPLETE
19 21
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Text/text-constructor.html ('k') | LayoutTests/fast/dom/TreeWalker/TreeWalker-basic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698