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 29f4a7825a7ed657f3a36a7eb6d59f8086f2e7ef..3b36dfc1ba97cf69fe00a1be61d707321680fafb 100644 |
--- a/Source/bindings/tests/results/core/V8TestException.cpp |
+++ b/Source/bindings/tests/results/core/V8TestException.cpp |
@@ -98,6 +98,8 @@ static void installV8TestExceptionTemplate(v8::Local<v8::FunctionTemplate> funct |
}; |
V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignature, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringMethodConfiguration); |
+ prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(isolate, "TestException")); |
+ |
// Custom toString template |
functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate()); |
} |