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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/wrapper-classes.html

Issue 1366643003: [DO NOT LAND] Set @@toStringTag for DOM object prototypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/wrapper-classes.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/wrapper-classes.html b/third_party/WebKit/LayoutTests/fast/dom/wrapper-classes.html
index de6c6a5f41817cd1b0263f18fafaebe14fcf03b4..61e3fde26b478635281e458549eb866f1cfaf991 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/wrapper-classes.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/wrapper-classes.html
@@ -43,8 +43,9 @@ function tagConstructorName(tagName)
function testTag(tagName, className, prototypeName, constructorName)
{
+ // TODO(jsbell): Willful violation: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28244
if (!prototypeName)
- prototypeName = className + "Prototype";
+ prototypeName = className;
if (!constructorName)
constructorName = className;
shouldBeEqualToString("tagClassString('" + tagName + "')", className);
@@ -55,8 +56,9 @@ function testTag(tagName, className, prototypeName, constructorName)
function test(expression, className, prototypeName, constructorName)
{
+ // TODO(jsbell): Willful violation: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28244
if (!prototypeName)
- prototypeName = className + "Prototype";
+ prototypeName = className;
if (!constructorName)
constructorName = className;
shouldBeEqualToString("classString(" + expression + ")", className);

Powered by Google App Engine
This is Rietveld 408576698