1 Tests that we can create instances of Range using new
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS typeof new Range is "object"
7 PASS Object.prototype.toString.call(new Range) is "[object Range]"
8 PASS new Range instanceof Range is true
9 PASS Object.getPrototypeOf(new Range) is Range.prototype
10 PASS r.toString() is "Test"
11 PASS new innerWindow.Range instanceof innerWindow.Range is true
12 PASS Object.getPrototypeOf(new innerWindow.Range) is innerWindow.Range.prototype
13 PASS r.toString() is "Inner"
14 PASS successfullyParsed is true