14 lines
396 B
Plaintext
14 lines
396 B
Plaintext
This tests that Document is constructable.
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS typeof new Document is "object"
|
|
PASS Object.prototype.toString.call(new Document) is "[object Document]"
|
|
PASS new Document instanceof Document is true
|
|
PASS Object.getPrototypeOf(new Document) is Document.prototype
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|