| Index: third_party/WebKit/LayoutTests/fast/dom/prototype-chain.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/prototype-chain.html b/third_party/WebKit/LayoutTests/fast/dom/prototype-chain.html
|
| index 73522fbffc5ed3ed82504dad48e884bb5f101a52..a15902587c9b2b24a8967916b8a91ce23ee5bed0 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/prototype-chain.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/prototype-chain.html
|
| @@ -16,7 +16,7 @@ function printPrototypes(e)
|
| for (p = e.__proto__; p != null; p = p.__proto__) {
|
| a.push(p);
|
| }
|
| -
|
| +
|
| print("----- " + e + " (" + a.length + " prototypes) -----", "blue");
|
| // Print back-to-front so the root of the chain comes out on top
|
| for (var i = a.length - 1; i >= 0; i--) { /* > */
|
| @@ -28,34 +28,32 @@ function test()
|
| {
|
| if (window.testRunner)
|
| testRunner.dumpAsText();
|
| -
|
| +
|
| var e;
|
|
|
| e = document;
|
| printPrototypes(e);
|
| -
|
| +
|
| e = document.getElementById("div");
|
| printPrototypes(e);
|
|
|
| e = document.createElement("form");
|
| printPrototypes(e);
|
| -
|
| +
|
| e = document.createEvent("UIEvents");
|
| printPrototypes(e);
|
|
|
| e = document.createEvent("MouseEvents");
|
| printPrototypes(e);
|
| -
|
| +
|
| e = document.createEvent("KeyboardEvents");
|
| printPrototypes(e);
|
| -
|
| }
|
|
|
| </script>
|
| </head>
|
| <body onload="test()">
|
| -<p>This page prints out the prototype chains of select DOM objects. Older versions of WebCore didn't
|
| -properly implement prototype chaining for these objects.</p>
|
| +<p>This page prints out the prototype chains of select DOM objects. Older versions of WebCore didn't properly implement prototype chaining for these objects.</p>
|
| <p>NOTE: This test will start failing if you change the layout of a related prototype chain in WebCore.
|
| That does not necessarily mean that you have done something wrong; you may just need to check in new
|
| results.</p>
|
|
|