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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/prototype-chain.html

Issue 1685543002: Supports "class string" based on @@toStringTag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated test expectations. Created 4 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698