| Index: Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp b/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp
|
| index e76fae516cb63668619152307114f2c3e876bdab..17ae86261370e9a4f5367d259b5fc672569e66ec 100644
|
| --- a/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp
|
| @@ -72,7 +72,6 @@ v8::Local<v8::FunctionTemplate> V8TestInterfaceNamedConstructor2Constructor::dom
|
| result = v8::FunctionTemplate::New(isolate, V8TestInterfaceNamedConstructor2ConstructorCallback);
|
| v8::Local<v8::ObjectTemplate> instanceTemplate = result->InstanceTemplate();
|
| instanceTemplate->SetInternalFieldCount(V8TestInterfaceNamedConstructor2::internalFieldCount);
|
| - result->SetClassName(v8AtomicString(isolate, "TestInterfaceNamedConstructor2"));
|
| result->Inherit(V8TestInterfaceNamedConstructor2::domTemplate(isolate));
|
| data->setDOMTemplate(&domTemplateKey, result);
|
| return result;
|
| @@ -92,6 +91,8 @@ static void installV8TestInterfaceNamedConstructor2Template(v8::Local<v8::Functi
|
| v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->PrototypeTemplate();
|
| ALLOW_UNUSED_LOCAL(prototypeTemplate);
|
|
|
| + prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(isolate, "TestInterfaceNamedConstructor2"));
|
| +
|
| // Custom toString template
|
| functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate());
|
| }
|
|
|