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

Side by Side Diff: LayoutTests/fast/js/constructor-expected.txt

Issue 143453010: Have getElementsByClassName() / getElementsByTagName*() return an HTMLCollection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Null HTMLCollection handling Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698