| OLD | NEW |
| 1 This tests the constructor property of DOM objects: http://bugs.webkit.org/show_
bug.cgi?id=11315 | 1 This tests the constructor property of DOM objects: http://bugs.webkit.org/show_
bug.cgi?id=11315 |
| 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 window.document.constructor === window.Object is false | 6 PASS window.document.constructor === window.Object is false |
| 7 PASS window.document.constructor === window.HTMLDocument is true | 7 PASS window.document.constructor === window.HTMLDocument is true |
| 8 PASS window.document.constructor.prototype === window.HTMLDocument.prototype is
true | 8 PASS window.document.constructor.prototype === window.HTMLDocument.prototype is
true |
| 9 PASS window.document.constructor.prototype.__proto__ === window.HTMLDocument.pro
totype.__proto__ is true | 9 PASS window.document.constructor.prototype.__proto__ === window.HTMLDocument.pro
totype.__proto__ is true |
| 10 PASS window.document.constructor.prototype.__proto__ === window.Document.prototy
pe is true | 10 PASS window.document.constructor.prototype.__proto__ === window.Document.prototy
pe is true |
| 11 PASS window.document.body.constructor === window.HTMLBodyElement is true | 11 PASS window.document.body.constructor === window.HTMLBodyElement is true |
| 12 PASS window.document.body.constructor.prototype === window.HTMLBodyElement.proto
type is true | 12 PASS window.document.body.constructor.prototype === window.HTMLBodyElement.proto
type is true |
| 13 PASS window.document.body.constructor.prototype.__proto__ === window.HTMLBodyEle
ment.prototype.__proto__ is true | 13 PASS window.document.body.constructor.prototype.__proto__ === window.HTMLBodyEle
ment.prototype.__proto__ is true |
| 14 PASS window.document.body.constructor.prototype.__proto__ === window.HTMLElement
.prototype is true | 14 PASS window.document.body.constructor.prototype.__proto__ === window.HTMLElement
.prototype is true |
| 15 PASS nodeList.constructor === window.NodeList is true | 15 PASS htmlCollection.constructor === window.HTMLCollection is true |
| 16 PASS nodeList.constructor.prototype === window.NodeList.prototype is true | 16 PASS htmlCollection.constructor.prototype === window.HTMLCollection.prototype is
true |
| 17 PASS mutationEvent.constructor === window.MutationEvent is true | 17 PASS mutationEvent.constructor === window.MutationEvent is true |
| 18 PASS mutationEvent.constructor.prototype.__proto__ === window.Event.prototype is
true | 18 PASS mutationEvent.constructor.prototype.__proto__ === window.Event.prototype is
true |
| 19 PASS successfullyParsed is true | 19 PASS successfullyParsed is true |
| 20 | 20 |
| 21 TEST COMPLETE | 21 TEST COMPLETE |
| 22 | 22 |
| OLD | NEW |