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

Unified Diff: Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp

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: Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp
diff --git a/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp b/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp
index 5bd469340514e6cd212c3b1fc5087c7d725da473..f023538c3f20de6156f69b1566fbb864b43e8460 100644
--- a/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp
+++ b/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp
@@ -88,6 +88,8 @@ static void installV8TestSpecialOperationsNotEnumerableTemplate(v8::Local<v8::Fu
functionTemplate->InstanceTemplate()->SetHandler(config);
}
+ prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(isolate, "TestSpecialOperationsNotEnumerable"));
+
// Custom toString template
functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate());
}

Powered by Google App Engine
This is Rietveld 408576698