Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / Text / text-constructor-expected.txt
1 This tests that Text is constructable.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS new Text("one").data is "one"
7 PASS new Text().data is ""
8 PASS new Text(undefined).data is ""
9 PASS new Text(null).data is "null"
10 PASS new Text("two").ownerDocument is document
11 PASS typeof new Text is "object"
12 PASS Object.prototype.toString.call(new Text) is "[object Text]"
13 PASS new Text instanceof Text is true
14 PASS Object.getPrototypeOf(new Text) is Text.prototype
15 PASS new innerWindow.Text("three").ownerDocument is innerDocument
16 PASS new innerWindow.Text instanceof innerWindow.Text is true
17 PASS Object.getPrototypeOf(new innerWindow.Text) is innerWindow.Text.prototype
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21