Index: Source/bindings/tests/results/core/V8TestException.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestException.cpp b/Source/bindings/tests/results/core/V8TestException.cpp |
index 6b1cb480eb94149e6cc7940ed1b26b2158c2bcb9..7426ac0c9ccd296dd427c9319d6888472ff6bea1 100644 |
--- a/Source/bindings/tests/results/core/V8TestException.cpp |
+++ b/Source/bindings/tests/results/core/V8TestException.cpp |
@@ -99,6 +99,10 @@ static void installV8TestExceptionTemplate(v8::Local<v8::FunctionTemplate> funct |
}; |
V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignature, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringMethodConfiguration); |
+ instanceTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(isolate, "TestException")); |
+ |
+ prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(isolate, "TestExceptionPrototype")); |
+ |
// Custom toString template |
functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate()); |
} |