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

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

Issue 1017733003: [DO NOT LAND] Set @@toStringTag for DOM object prototypes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test expectations Created 5 years, 6 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: LayoutTests/fast/dom/wrapper-classes.html
diff --git a/LayoutTests/fast/dom/wrapper-classes.html b/LayoutTests/fast/dom/wrapper-classes.html
index 29edcc0106c2e0d1234f924ec4f623366ad2a2c7..a9d38e6e17c13cad125dd7ef976424a0462b25d9 100644
--- a/LayoutTests/fast/dom/wrapper-classes.html
+++ b/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