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

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: More test rebaselines Created 5 years, 9 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 7b7fb9a2bf15c4e656ac6ced4b70ae769499cdbf..2d1bc90e6f141d7f12b263fcac5e98ec797044c2 100644
--- a/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp
+++ b/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp
@@ -94,6 +94,10 @@ static void installV8TestSpecialOperationsNotEnumerableTemplate(v8::Local<v8::Fu
functionTemplate->InstanceTemplate()->SetHandler(config);
}
+ instanceTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(isolate, "TestSpecialOperationsNotEnumerable"));
+
+ prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(isolate, "TestSpecialOperationsNotEnumerablePrototype"));
+
// Custom toString template
functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate());
}

Powered by Google App Engine
This is Rietveld 408576698