WebKit Bugzilla
Attachment 372737 Details for
Bug 199144
: getConstructor should return JSObject* instead of JSValue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-199144-20190624001324.patch (text/plain), 144.35 KB, created by
Yusuke Suzuki
on 2019-06-24 00:13:25 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Yusuke Suzuki
Created:
2019-06-24 00:13:25 PDT
Size:
144.35 KB
patch
obsolete
>Subversion Revision: 246727 >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index be3669f837f0142b1964176d55a3801c779bb46b..fa02445440496350d219c32a5dcf3940b987fdc1 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,223 @@ >+2019-06-24 Yusuke Suzuki <ysuzuki@apple.com> >+ >+ getConstructor should return JSObject* instead of JSValue >+ https://bugs.webkit.org/show_bug.cgi?id=199144 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ getConstructor should return JSObject* instead of JSValue to ensure that the returned value is always JSObject. >+ Then, we can remove some of getObject calls. >+ >+ * bindings/js/JSHTMLElementCustom.cpp: >+ (WebCore::constructJSHTMLElement): >+ * bindings/scripts/CodeGeneratorJS.pm: >+ (GenerateHeader): >+ (GenerateImplementation): >+ (GenerateCallbackHeaderContent): >+ (GenerateCallbackImplementationContent): >+ (GenerateConstructorHelperMethods): >+ * bindings/scripts/test/JS/JSInterfaceName.cpp: >+ (WebCore::JSInterfaceName::getConstructor): >+ * bindings/scripts/test/JS/JSInterfaceName.h: >+ * bindings/scripts/test/JS/JSMapLike.cpp: >+ (WebCore::JSMapLike::getConstructor): >+ * bindings/scripts/test/JS/JSMapLike.h: >+ * bindings/scripts/test/JS/JSReadOnlyMapLike.cpp: >+ (WebCore::JSReadOnlyMapLike::getConstructor): >+ * bindings/scripts/test/JS/JSReadOnlyMapLike.h: >+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp: >+ (WebCore::JSTestActiveDOMObject::getConstructor): >+ * bindings/scripts/test/JS/JSTestActiveDOMObject.h: >+ * bindings/scripts/test/JS/JSTestCEReactions.cpp: >+ (WebCore::JSTestCEReactions::getConstructor): >+ * bindings/scripts/test/JS/JSTestCEReactions.h: >+ * bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp: >+ (WebCore::JSTestCEReactionsStringifier::getConstructor): >+ * bindings/scripts/test/JS/JSTestCEReactionsStringifier.h: >+ * bindings/scripts/test/JS/JSTestCallTracer.cpp: >+ (WebCore::JSTestCallTracer::getConstructor): >+ * bindings/scripts/test/JS/JSTestCallTracer.h: >+ * bindings/scripts/test/JS/JSTestCallbackInterface.cpp: >+ (WebCore::JSTestCallbackInterface::getConstructor): >+ * bindings/scripts/test/JS/JSTestCallbackInterface.h: >+ * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp: >+ (WebCore::JSTestClassWithJSBuiltinConstructor::getConstructor): >+ * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h: >+ * bindings/scripts/test/JS/JSTestDOMJIT.cpp: >+ (WebCore::JSTestDOMJITConstructor::prototypeForStructure): >+ (WebCore::JSTestDOMJIT::getConstructor): >+ * bindings/scripts/test/JS/JSTestDOMJIT.h: >+ * bindings/scripts/test/JS/JSTestEnabledBySetting.cpp: >+ (WebCore::JSTestEnabledBySetting::getConstructor): >+ * bindings/scripts/test/JS/JSTestEnabledBySetting.h: >+ * bindings/scripts/test/JS/JSTestEnabledForContext.cpp: >+ (WebCore::JSTestEnabledForContext::getConstructor): >+ * bindings/scripts/test/JS/JSTestEnabledForContext.h: >+ * bindings/scripts/test/JS/JSTestEventConstructor.cpp: >+ (WebCore::JSTestEventConstructorConstructor::prototypeForStructure): >+ (WebCore::JSTestEventConstructor::getConstructor): >+ * bindings/scripts/test/JS/JSTestEventConstructor.h: >+ * bindings/scripts/test/JS/JSTestEventTarget.cpp: >+ (WebCore::JSTestEventTargetConstructor::prototypeForStructure): >+ (WebCore::JSTestEventTarget::getConstructor): >+ * bindings/scripts/test/JS/JSTestEventTarget.h: >+ * bindings/scripts/test/JS/JSTestException.cpp: >+ (WebCore::JSTestException::getConstructor): >+ * bindings/scripts/test/JS/JSTestException.h: >+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp: >+ (WebCore::JSTestGenerateIsReachable::getConstructor): >+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.h: >+ * bindings/scripts/test/JS/JSTestGlobalObject.cpp: >+ (WebCore::JSTestGlobalObject::getConstructor): >+ * bindings/scripts/test/JS/JSTestGlobalObject.h: >+ * bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp: >+ (WebCore::JSTestIndexedSetterNoIdentifier::getConstructor): >+ * bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.h: >+ * bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp: >+ (WebCore::JSTestIndexedSetterThrowingException::getConstructor): >+ * bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.h: >+ * bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp: >+ (WebCore::JSTestIndexedSetterWithIdentifier::getConstructor): >+ * bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.h: >+ * bindings/scripts/test/JS/JSTestInterface.cpp: >+ (WebCore::JSTestInterface::getConstructor): >+ * bindings/scripts/test/JS/JSTestInterface.h: >+ * bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp: >+ (WebCore::JSTestInterfaceLeadingUnderscore::getConstructor): >+ * bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.h: >+ * bindings/scripts/test/JS/JSTestIterable.cpp: >+ (WebCore::JSTestIterable::getConstructor): >+ * bindings/scripts/test/JS/JSTestIterable.h: >+ * bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp: >+ (WebCore::JSTestJSBuiltinConstructor::getConstructor): >+ * bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h: >+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp: >+ (WebCore::JSTestMediaQueryListListener::getConstructor): >+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.h: >+ * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp: >+ (WebCore::JSTestNamedAndIndexedSetterNoIdentifier::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.h: >+ * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp: >+ (WebCore::JSTestNamedAndIndexedSetterThrowingException::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.h: >+ * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp: >+ (WebCore::JSTestNamedAndIndexedSetterWithIdentifier::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.h: >+ * bindings/scripts/test/JS/JSTestNamedConstructor.cpp: >+ (WebCore::JSTestNamedConstructor::getConstructor): >+ (WebCore::JSTestNamedConstructor::getNamedConstructor): >+ * bindings/scripts/test/JS/JSTestNamedConstructor.h: >+ * bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp: >+ (WebCore::JSTestNamedDeleterNoIdentifier::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.h: >+ * bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp: >+ (WebCore::JSTestNamedDeleterThrowingException::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.h: >+ * bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp: >+ (WebCore::JSTestNamedDeleterWithIdentifier::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.h: >+ * bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp: >+ (WebCore::JSTestNamedDeleterWithIndexedGetter::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.h: >+ * bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp: >+ (WebCore::JSTestNamedGetterCallWith::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedGetterCallWith.h: >+ * bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp: >+ (WebCore::JSTestNamedGetterNoIdentifier::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.h: >+ * bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp: >+ (WebCore::JSTestNamedGetterWithIdentifier::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.h: >+ * bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp: >+ (WebCore::JSTestNamedSetterNoIdentifier::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.h: >+ * bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp: >+ (WebCore::JSTestNamedSetterThrowingException::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedSetterThrowingException.h: >+ * bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp: >+ (WebCore::JSTestNamedSetterWithIdentifier::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.h: >+ * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp: >+ (WebCore::JSTestNamedSetterWithIndexedGetter::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.h: >+ * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp: >+ (WebCore::JSTestNamedSetterWithIndexedGetterAndSetter::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.h: >+ * bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp: >+ (WebCore::JSTestNamedSetterWithOverrideBuiltins::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.h: >+ * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp: >+ (WebCore::JSTestNamedSetterWithUnforgableProperties::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.h: >+ * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp: >+ (WebCore::JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins::getConstructor): >+ * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.h: >+ * bindings/scripts/test/JS/JSTestNode.cpp: >+ (WebCore::JSTestNodeConstructor::prototypeForStructure): >+ (WebCore::JSTestNode::getConstructor): >+ * bindings/scripts/test/JS/JSTestNode.h: >+ * bindings/scripts/test/JS/JSTestObj.cpp: >+ (WebCore::JSTestObj::getConstructor): >+ * bindings/scripts/test/JS/JSTestObj.h: >+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp: >+ (WebCore::JSTestOverloadedConstructors::getConstructor): >+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.h: >+ * bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp: >+ (WebCore::JSTestOverloadedConstructorsWithSequence::getConstructor): >+ * bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.h: >+ * bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp: >+ (WebCore::JSTestOverrideBuiltins::getConstructor): >+ * bindings/scripts/test/JS/JSTestOverrideBuiltins.h: >+ * bindings/scripts/test/JS/JSTestPluginInterface.cpp: >+ (WebCore::JSTestPluginInterface::getConstructor): >+ * bindings/scripts/test/JS/JSTestPluginInterface.h: >+ * bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp: >+ (WebCore::JSTestPromiseRejectionEventConstructor::prototypeForStructure): >+ (WebCore::JSTestPromiseRejectionEvent::getConstructor): >+ * bindings/scripts/test/JS/JSTestPromiseRejectionEvent.h: >+ * bindings/scripts/test/JS/JSTestSerialization.cpp: >+ (WebCore::JSTestSerialization::getConstructor): >+ * bindings/scripts/test/JS/JSTestSerialization.h: >+ * bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp: >+ (WebCore::JSTestSerializationIndirectInheritanceConstructor::prototypeForStructure): >+ (WebCore::JSTestSerializationIndirectInheritance::getConstructor): >+ * bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.h: >+ * bindings/scripts/test/JS/JSTestSerializationInherit.cpp: >+ (WebCore::JSTestSerializationInheritConstructor::prototypeForStructure): >+ (WebCore::JSTestSerializationInherit::getConstructor): >+ * bindings/scripts/test/JS/JSTestSerializationInherit.h: >+ * bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp: >+ (WebCore::JSTestSerializationInheritFinalConstructor::prototypeForStructure): >+ (WebCore::JSTestSerializationInheritFinal::getConstructor): >+ * bindings/scripts/test/JS/JSTestSerializationInheritFinal.h: >+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: >+ (WebCore::JSTestSerializedScriptValueInterface::getConstructor): >+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h: >+ * bindings/scripts/test/JS/JSTestStringifier.cpp: >+ (WebCore::JSTestStringifier::getConstructor): >+ * bindings/scripts/test/JS/JSTestStringifier.h: >+ * bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp: >+ (WebCore::JSTestStringifierAnonymousOperation::getConstructor): >+ * bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.h: >+ * bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp: >+ (WebCore::JSTestStringifierNamedOperation::getConstructor): >+ * bindings/scripts/test/JS/JSTestStringifierNamedOperation.h: >+ * bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp: >+ (WebCore::JSTestStringifierOperationImplementedAs::getConstructor): >+ * bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.h: >+ * bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp: >+ (WebCore::JSTestStringifierOperationNamedToString::getConstructor): >+ * bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.h: >+ * bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp: >+ (WebCore::JSTestStringifierReadOnlyAttribute::getConstructor): >+ * bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.h: >+ * bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp: >+ (WebCore::JSTestStringifierReadWriteAttribute::getConstructor): >+ * bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.h: >+ * bindings/scripts/test/JS/JSTestTypedefs.cpp: >+ (WebCore::JSTestTypedefs::getConstructor): >+ * bindings/scripts/test/JS/JSTestTypedefs.h: >+ > 2019-06-23 Simon Fraser <simon.fraser@apple.com> > > [Async overflow scroll] Clipped composited layers inside overflow scroll jitter and get incorrectly clipped >diff --git a/Source/WebCore/bindings/js/JSHTMLElementCustom.cpp b/Source/WebCore/bindings/js/JSHTMLElementCustom.cpp >index 7a29ba25ec654a17bee485d868d9adc80dec1775..ca4d34ecb2092a18f83b40b75e2931b7bfa47468 100644 >--- a/Source/WebCore/bindings/js/JSHTMLElementCustom.cpp >+++ b/Source/WebCore/bindings/js/JSHTMLElementCustom.cpp >@@ -57,8 +57,8 @@ EncodedJSValue JSC_HOST_CALL constructJSHTMLElement(ExecState& exec) > JSValue newTargetValue = exec.thisValue(); > auto* newTarget = newTargetValue.getObject(); > auto* globalObject = jsCast<JSDOMGlobalObject*>(newTarget->globalObject(vm)); >- JSValue htmlElementConstructorValue = JSHTMLElement::getConstructor(vm, globalObject); >- if (newTargetValue == htmlElementConstructorValue) >+ JSObject* htmlElementConstructor = JSHTMLElement::getConstructor(vm, globalObject); >+ if (newTargetValue == htmlElementConstructor) > return throwVMTypeError(&exec, scope, "new.target is not a valid custom element constructor"_s); > > auto& document = downcast<Document>(*context); >diff --git a/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm b/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm >index f29422dcd6e72f999286115fbdcbb06ff559a725..9ce43a2fddce6a07480646ff67a1107fdfe4390b 100644 >--- a/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm >+++ b/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm >@@ -2719,8 +2719,8 @@ sub GenerateHeader > > # Constructor object getter > unless ($interface->extendedAttributes->{NoInterfaceObject}) { >- push(@headerContent, " static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*);\n"); >- push(@headerContent, " static JSC::JSValue getNamedConstructor(JSC::VM&, JSC::JSGlobalObject*);\n") if $interface->extendedAttributes->{NamedConstructor}; >+ push(@headerContent, " static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*);\n"); >+ push(@headerContent, " static JSC::JSObject* getNamedConstructor(JSC::VM&, JSC::JSGlobalObject*);\n") if $interface->extendedAttributes->{NamedConstructor}; > } > > # Serializer function. >@@ -4442,13 +4442,13 @@ sub GenerateImplementation > } > > if (!$interface->extendedAttributes->{NoInterfaceObject}) { >- push(@implContent, "JSValue ${className}::getConstructor(VM& vm, const JSGlobalObject* globalObject)\n"); >+ push(@implContent, "JSObject* ${className}::getConstructor(VM& vm, const JSGlobalObject* globalObject)\n"); > push(@implContent, "{\n"); > push(@implContent, " return getDOMConstructor<${className}Constructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject));\n"); > push(@implContent, "}\n\n"); > > if ($interface->extendedAttributes->{NamedConstructor}) { >- push(@implContent, "JSValue ${className}::getNamedConstructor(VM& vm, JSGlobalObject* globalObject)\n"); >+ push(@implContent, "JSObject* ${className}::getNamedConstructor(VM& vm, JSGlobalObject* globalObject)\n"); > push(@implContent, "{\n"); > push(@implContent, " return getDOMConstructor<${className}NamedConstructor>(vm, *jsCast<JSDOMGlobalObject*>(globalObject));\n"); > push(@implContent, "}\n\n"); >@@ -6018,7 +6018,7 @@ sub GenerateCallbackHeaderContent > > push(@$contentRef, " ${callbackDataType}* callbackData() { return m_data; }\n"); > >- push(@$contentRef, " static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*);\n") if @{$constants}; >+ push(@$contentRef, " static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*);\n") if @{$constants}; > > push(@$contentRef, " virtual bool operator==(const ${name}&) const override;\n\n") if $interfaceOrCallback->extendedAttributes->{CallbackNeedsOperatorEqual}; > >@@ -6150,7 +6150,7 @@ sub GenerateCallbackImplementationContent > > GenerateConstructorDefinitions($contentRef, $className, "", $visibleName, $interfaceOrCallback); > >- push(@$contentRef, "JSValue ${className}::getConstructor(VM& vm, const JSGlobalObject* globalObject)\n"); >+ push(@$contentRef, "JSObject* ${className}::getConstructor(VM& vm, const JSGlobalObject* globalObject)\n"); > push(@$contentRef, "{\n"); > push(@$contentRef, " return getDOMConstructor<${className}Constructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject));\n"); > push(@$contentRef, "}\n\n"); >@@ -7324,7 +7324,7 @@ sub GenerateConstructorHelperMethods > if (!$generatingNamedConstructor and $interface->parentType) { > my $parentClassName = "JS" . $interface->parentType->name; > push(@$outputArray, " auto result = ${parentClassName}::getConstructor(vm, &globalObject);\n"); >- push(@$outputArray, " result.getObject()->didBecomePrototype();\n"); >+ push(@$outputArray, " result->didBecomePrototype();\n"); > push(@$outputArray, " return result;\n"); > } else { > AddToImplIncludes("<JavaScriptCore/FunctionPrototype.h>"); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp b/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp >index a82f0d6ad92e570322a164d2539cbe2dc26cd295..33869c4fe356575f9a8dba5112d889168e4eef4d 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp >@@ -124,7 +124,7 @@ JSObject* JSInterfaceName::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSInterfaceName>(vm, globalObject); > } > >-JSValue JSInterfaceName::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSInterfaceName::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSInterfaceNameConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.h b/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.h >index c60a9177586c63b802b283e58a3c0fa0784a6094..59d36749db8d6a3c3eb540105260be1d4b8a3d9e 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.h >@@ -49,7 +49,7 @@ class JSInterfaceName : public JSDOMWrapper<InterfaceName> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void visitChildren(JSCell*, JSC::SlotVisitor&); > > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp b/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp >index ba1fc77fd23bc5494e51201f6ab585456616e711..5d57e7edbba7806bcf54f817c03987ab3d920949 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp >@@ -155,7 +155,7 @@ JSObject* JSMapLike::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSMapLike>(vm, globalObject); > } > >-JSValue JSMapLike::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSMapLike::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSMapLikeConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSMapLike.h b/Source/WebCore/bindings/scripts/test/JS/JSMapLike.h >index 206cd2ef23f51ff266dd948f86b0104b8709c213..83cc0c6caba770533e1024b0de01330e64d9ecd1 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSMapLike.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSMapLike.h >@@ -48,7 +48,7 @@ class JSMapLike : public JSDOMWrapper<MapLike> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSMapLike(JSC::Structure*, JSDOMGlobalObject&, Ref<MapLike>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp b/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp >index 3b91deddf887aa6258a100c1230f333a435d25b9..6391d98e8f4d76e4aa59027f5e7ea26366c736d9 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp >@@ -149,7 +149,7 @@ JSObject* JSReadOnlyMapLike::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSReadOnlyMapLike>(vm, globalObject); > } > >-JSValue JSReadOnlyMapLike::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSReadOnlyMapLike::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSReadOnlyMapLikeConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.h b/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.h >index b6fbb20bc7e71cfcd8518f4e5509678795a5e4d7..fab9a7cc3750ac7e6e0cac6f3f9f01e8353e37fc 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.h >@@ -48,7 +48,7 @@ class JSReadOnlyMapLike : public JSDOMWrapper<ReadOnlyMapLike> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSReadOnlyMapLike(JSC::Structure*, JSDOMGlobalObject&, Ref<ReadOnlyMapLike>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp >index e38745956aa649d82813fe0f111bcbd25708ed3e..0a8775d30a49738ebc022bae59b410f44d05ddf4 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp >@@ -153,7 +153,7 @@ JSObject* JSTestActiveDOMObject::prototype(VM& vm, JSDOMGlobalObject& globalObje > return getDOMPrototype<JSTestActiveDOMObject>(vm, globalObject); > } > >-JSValue JSTestActiveDOMObject::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestActiveDOMObject::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestActiveDOMObjectConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h b/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h >index 0e3854f08ae0edb159fea95744eb3da1dec81841..5cbaf31024985bf0fcfc9a6eee293cebe33502eb 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h >@@ -48,7 +48,7 @@ class JSTestActiveDOMObject : public JSDOMWrapper<TestActiveDOMObject> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::HasStaticPropertyTable; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp >index fc98128b3785f24588b73af578b7885a0cc55495..205acb5f2175dec45626e5bff5194dd27f333935 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp >@@ -157,7 +157,7 @@ JSObject* JSTestCEReactions::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSTestCEReactions>(vm, globalObject); > } > >-JSValue JSTestCEReactions::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestCEReactions::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestCEReactionsConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.h b/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.h >index 8ac99c9e8a54284e54fd285aec90cd385d9060c3..190f205cd358a4b0f999c241323161afc9a28efe 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.h >@@ -48,7 +48,7 @@ class JSTestCEReactions : public JSDOMWrapper<TestCEReactions> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestCEReactions(JSC::Structure*, JSDOMGlobalObject&, Ref<TestCEReactions>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp >index 636928615958f4ba7115d98dd7e6522c0e9e5137..10b836928cd96d2f787ce94befa40c4cc57a3ece 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp >@@ -139,7 +139,7 @@ JSObject* JSTestCEReactionsStringifier::prototype(VM& vm, JSDOMGlobalObject& glo > return getDOMPrototype<JSTestCEReactionsStringifier>(vm, globalObject); > } > >-JSValue JSTestCEReactionsStringifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestCEReactionsStringifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestCEReactionsStringifierConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.h b/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.h >index 05c1edb3eb8873491d68fca571e2b8e4d3dd25d1..43b466e4acbb49b1f30614e719c91c831512ae0c 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.h >@@ -48,7 +48,7 @@ class JSTestCEReactionsStringifier : public JSDOMWrapper<TestCEReactionsStringif > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestCEReactionsStringifier(JSC::Structure*, JSDOMGlobalObject&, Ref<TestCEReactionsStringifier>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp >index bfe9bb600a20f126e9659cd18135a83f87bd7333..c0f39f05c8ae579ebfeafed22455271d00f861c6 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp >@@ -177,7 +177,7 @@ JSObject* JSTestCallTracer::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSTestCallTracer>(vm, globalObject); > } > >-JSValue JSTestCallTracer::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestCallTracer::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestCallTracerConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.h b/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.h >index c7bca1f19f13dbdb9ee6c92d3971cb559f1ba41c..84fc005ca550e02c8f2200895614078467754151 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.h >@@ -48,7 +48,7 @@ class JSTestCallTracer : public JSDOMWrapper<TestCallTracer> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestCallTracer(JSC::Structure*, JSDOMGlobalObject&, Ref<TestCallTracer>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackInterface.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackInterface.cpp >index f9f9616cbf3eef20b01c6b1d3feb85224c17d7f0..acb83b418775eab43170c3e4c0b5c5e9a2b26582 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackInterface.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackInterface.cpp >@@ -167,7 +167,7 @@ template<> void JSTestCallbackInterfaceConstructor::initializeProperties(VM& vm, > > template<> const ClassInfo JSTestCallbackInterfaceConstructor::s_info = { "TestCallbackInterface", &Base::s_info, nullptr, nullptr, CREATE_METHOD_TABLE(JSTestCallbackInterfaceConstructor) }; > >-JSValue JSTestCallbackInterface::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestCallbackInterface::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestCallbackInterfaceConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackInterface.h b/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackInterface.h >index c7f34daf3a23a560311a67f2958a780d5ba9719b..097a41232604dcb25a578f6fe1569fc8a7eab09f 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackInterface.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackInterface.h >@@ -42,7 +42,7 @@ class JSTestCallbackInterface final : public TestCallbackInterface { > > virtual ~JSTestCallbackInterface(); > JSCallbackDataStrong* callbackData() { return m_data; } >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > > // Functions > CallbackResult<typename IDLVoid::ImplementationType> callbackWithNoParam() override; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp >index 363e1903dc1290ba5a19943a73931857445a008c..cdf7ff53c8a3606a6a3831b2a360346cd7ed6095 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp >@@ -130,7 +130,7 @@ JSObject* JSTestClassWithJSBuiltinConstructor::prototype(VM& vm, JSDOMGlobalObje > return getDOMPrototype<JSTestClassWithJSBuiltinConstructor>(vm, globalObject); > } > >-JSValue JSTestClassWithJSBuiltinConstructor::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestClassWithJSBuiltinConstructor::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestClassWithJSBuiltinConstructorConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h b/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h >index 166ee73b0fc8f83ca65f8dd34f23c0cdb27bb73f..6fd8893c71253190d4dc8962d16a479484ff7170 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h >@@ -48,7 +48,7 @@ class JSTestClassWithJSBuiltinConstructor : public JSDOMWrapper<TestClassWithJSB > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestClassWithJSBuiltinConstructor(JSC::Structure*, JSDOMGlobalObject&, Ref<TestClassWithJSBuiltinConstructor>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp >index 87e4555d2e18ee880fd02a920903c9b15e791afa..3e267af6673ff1f5b016845ac350ed0aa1564df1 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp >@@ -496,7 +496,7 @@ using JSTestDOMJITConstructor = JSDOMConstructorNotConstructable<JSTestDOMJIT>; > template<> JSValue JSTestDOMJITConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject) > { > auto result = JSNode::getConstructor(vm, &globalObject); >- result.getObject()->didBecomePrototype(); >+ result->didBecomePrototype(); > return result; > } > >@@ -588,7 +588,7 @@ JSObject* JSTestDOMJIT::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSTestDOMJIT>(vm, globalObject); > } > >-JSValue JSTestDOMJIT::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestDOMJIT::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestDOMJITConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.h b/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.h >index 35fb126ec4c6e9a518f8c8f41972016d484130ee..9174738cbb519b01c26b92a22cac8a169b840ab7 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.h >@@ -48,7 +48,7 @@ class JSTestDOMJIT : public JSNode { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::JSType(JSNodeType), StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > TestDOMJIT& wrapped() const > { >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp >index 6a573382a8d9bf710ce695407237e9e2b9b1369d..2316cc0b37587e53be38412ca5f33710da173081 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp >@@ -177,7 +177,7 @@ JSObject* JSTestEnabledBySetting::prototype(VM& vm, JSDOMGlobalObject& globalObj > return getDOMPrototype<JSTestEnabledBySetting>(vm, globalObject); > } > >-JSValue JSTestEnabledBySetting::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestEnabledBySetting::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestEnabledBySettingConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.h b/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.h >index daf6d2ea64fafde67ff83dbd3f5ecf2fa669e215..1f0fc323da23deb38706e7fe81d0b56574121860 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.h >@@ -48,7 +48,7 @@ class JSTestEnabledBySetting : public JSDOMWrapper<TestEnabledBySetting> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::HasStaticPropertyTable; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp >index 1f6e1416c7c2db3078795b1d039fa6d227a28c20..ad88f3fd2de4bf2dd0a2a1b10f55d7af03e0d274 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp >@@ -133,7 +133,7 @@ JSObject* JSTestEnabledForContext::prototype(VM& vm, JSDOMGlobalObject& globalOb > return getDOMPrototype<JSTestEnabledForContext>(vm, globalObject); > } > >-JSValue JSTestEnabledForContext::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestEnabledForContext::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestEnabledForContextConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.h b/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.h >index b6387d4236132247f2d7c499ff4a0f956ec06ad6..4fe10d07de053789da19eff5a6925dbf79977dc3 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.h >@@ -48,7 +48,7 @@ class JSTestEnabledForContext : public JSDOMWrapper<TestEnabledForContext> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::HasStaticPropertyTable; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp >index 0dcf4aff716f24cb3054332c98fab79afd551166..fe380840d5eb4f32f82b91aab4619105dbdc3c86 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp >@@ -172,7 +172,7 @@ template<> EncodedJSValue JSC_HOST_CALL JSTestEventConstructorConstructor::const > template<> JSValue JSTestEventConstructorConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject) > { > auto result = JSEvent::getConstructor(vm, &globalObject); >- result.getObject()->didBecomePrototype(); >+ result->didBecomePrototype(); > return result; > } > >@@ -231,7 +231,7 @@ JSObject* JSTestEventConstructor::prototype(VM& vm, JSDOMGlobalObject& globalObj > return getDOMPrototype<JSTestEventConstructor>(vm, globalObject); > } > >-JSValue JSTestEventConstructor::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestEventConstructor::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestEventConstructorConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h b/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h >index 9755360e26a8c1748ef8de0a95ca1f0dc7858832..d91de51792c97c3a4ef4b8b17e478d989cc509cf 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h >@@ -48,7 +48,7 @@ class JSTestEventConstructor : public JSEvent { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::JSType(JSEventType), StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > TestEventConstructor& wrapped() const > { >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp >index 05e4d9f0ad0229130bc02274ce05bb6f89b58503..ed326f0fd31408b6e54d5ac7b2dc23cbe92085f1 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp >@@ -83,7 +83,7 @@ using JSTestEventTargetConstructor = JSDOMConstructorNotConstructable<JSTestEven > template<> JSValue JSTestEventTargetConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject) > { > auto result = JSEventTarget::getConstructor(vm, &globalObject); >- result.getObject()->didBecomePrototype(); >+ result->didBecomePrototype(); > return result; > } > >@@ -136,7 +136,7 @@ JSObject* JSTestEventTarget::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSTestEventTarget>(vm, globalObject); > } > >-JSValue JSTestEventTarget::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestEventTarget::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestEventTargetConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h b/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h >index 7ef08da3332e7b10c4d8c554e41501ea05469949..3a1a8f62b8405e57eddd14017be0b15928139895 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h >@@ -52,7 +52,7 @@ class JSTestEventTarget : public JSEventTarget { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > TestEventTarget& wrapped() const > { >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp >index 9afb2fce2e46b3f8c4fe7f8a0703a84fbc52b66c..51448808c27da3c526ce28d238f9b640ea9244b0 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp >@@ -128,7 +128,7 @@ JSObject* JSTestException::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSTestException>(vm, globalObject); > } > >-JSValue JSTestException::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestException::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestExceptionConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestException.h b/Source/WebCore/bindings/scripts/test/JS/JSTestException.h >index ab25de750382978a00c5e094b8463b5d731f7da1..2b9cab18d1db1c804ec099c08079157e9b098db5 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestException.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestException.h >@@ -49,7 +49,7 @@ class JSTestException : public JSDOMWrapper<TestException> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestException(JSC::Structure*, JSDOMGlobalObject&, Ref<TestException>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp >index f810e9e01412a04bb1be10d0a6fc6cd0ca6894a7..854c19ca0618831eb6658dd55d3c7de0f3964a56 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp >@@ -137,7 +137,7 @@ JSObject* JSTestGenerateIsReachable::prototype(VM& vm, JSDOMGlobalObject& global > return getDOMPrototype<JSTestGenerateIsReachable>(vm, globalObject); > } > >-JSValue JSTestGenerateIsReachable::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestGenerateIsReachable::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestGenerateIsReachableConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h b/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h >index 0065023501d3e8368482cb8ea6a8b7b2dd882e99..6b9b68f958aeeb05428761189ec9f9c0508b468f 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h >@@ -48,7 +48,7 @@ class JSTestGenerateIsReachable : public JSDOMWrapper<TestGenerateIsReachable> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestGenerateIsReachable(JSC::Structure*, JSDOMGlobalObject&, Ref<TestGenerateIsReachable>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp >index b8914f986783d3f98499ddad5aa4e45ca9555b3d..71d8ae77176088014400844eeeb89e6b934b91ed 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp >@@ -743,7 +743,7 @@ void JSTestGlobalObject::finishCreation(VM& vm) > #endif > } > >-JSValue JSTestGlobalObject::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestGlobalObject::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestGlobalObjectConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h b/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h >index dac01ff1b50337c4e668c90e7e169e714178a38f..d524e6de01dab6b37d37bdf9284ba943cf825d95 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h >@@ -50,7 +50,7 @@ class JSTestGlobalObject : public JSDOMWrapper<TestGlobalObject> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::GlobalObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::HasStaticPropertyTable; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp >index 9db29635e4e8aa80b878ddb71862ccb610198ffa..28b1171b76b86852e501871e3e954af64736c125 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp >@@ -126,7 +126,7 @@ JSObject* JSTestIndexedSetterNoIdentifier::prototype(VM& vm, JSDOMGlobalObject& > return getDOMPrototype<JSTestIndexedSetterNoIdentifier>(vm, globalObject); > } > >-JSValue JSTestIndexedSetterNoIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestIndexedSetterNoIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestIndexedSetterNoIdentifierConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.h b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.h >index 771b6cab27444cec85b6d8820a5e18e684742dfc..1f5ae2b675d3f87071ef8f7604d251d48d8c85cc 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.h >@@ -54,7 +54,7 @@ class JSTestIndexedSetterNoIdentifier : public JSDOMWrapper<TestIndexedSetterNoI > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp >index 17fbf916577e16260432e2568f4ffb2a8142ff1b..6a338cfacd422c5dce7ba76efaea09edc0bea6c6 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp >@@ -126,7 +126,7 @@ JSObject* JSTestIndexedSetterThrowingException::prototype(VM& vm, JSDOMGlobalObj > return getDOMPrototype<JSTestIndexedSetterThrowingException>(vm, globalObject); > } > >-JSValue JSTestIndexedSetterThrowingException::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestIndexedSetterThrowingException::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestIndexedSetterThrowingExceptionConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.h b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.h >index a9115e052d2f703c77ead9e5cb0ab86683f8a621..cd2b5b2687553d40f673ab923c4447a959e6b9f2 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.h >@@ -54,7 +54,7 @@ class JSTestIndexedSetterThrowingException : public JSDOMWrapper<TestIndexedSett > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp >index 44a5f45eb9dc59ee9555570f48d6a6be9cebbb0d..dc29ad28825d72ed297d0208df40490c91127c98 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp >@@ -133,7 +133,7 @@ JSObject* JSTestIndexedSetterWithIdentifier::prototype(VM& vm, JSDOMGlobalObject > return getDOMPrototype<JSTestIndexedSetterWithIdentifier>(vm, globalObject); > } > >-JSValue JSTestIndexedSetterWithIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestIndexedSetterWithIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestIndexedSetterWithIdentifierConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.h b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.h >index 7683f64440eaf42add7cad72d1eb8120b5cbe470..af7ac2026161631a38796939dcfd137a8d063492 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.h >@@ -54,7 +54,7 @@ class JSTestIndexedSetterWithIdentifier : public JSDOMWrapper<TestIndexedSetterW > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp >index 60323ac3c4f297dd281a1aad59a349cba4ae642b..e6fb222bc527b1685c68e28a2bbd473bb025e46d 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp >@@ -430,7 +430,7 @@ JSObject* JSTestInterface::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSTestInterface>(vm, globalObject); > } > >-JSValue JSTestInterface::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestInterface::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestInterfaceConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h b/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h >index a55a4e1aea426de16a7b8acb2276169c8d4b5cc0..fd8e075160cccdd3a4efa81d2398cf91afa0fb13 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h >@@ -52,7 +52,7 @@ class WEBCORE_EXPORT JSTestInterface : public JSDOMWrapper<TestInterface> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > > // Custom attributes >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp >index 62fd904828beea722d1e52575871a185b7d35405..454669ed3d7607b4803e7e8121650e48a9eda3a7 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp >@@ -128,7 +128,7 @@ JSObject* JSTestInterfaceLeadingUnderscore::prototype(VM& vm, JSDOMGlobalObject& > return getDOMPrototype<JSTestInterfaceLeadingUnderscore>(vm, globalObject); > } > >-JSValue JSTestInterfaceLeadingUnderscore::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestInterfaceLeadingUnderscore::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestInterfaceLeadingUnderscoreConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.h b/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.h >index 4cc8d8c728cdd898934c2e0a5ccf8c211ba176f4..83ac2bffb02145f456738a8d8341292a2155a081 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.h >@@ -48,7 +48,7 @@ class JSTestInterfaceLeadingUnderscore : public JSDOMWrapper<TestInterfaceLeadin > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestInterfaceLeadingUnderscore(JSC::Structure*, JSDOMGlobalObject&, Ref<TestInterfaceLeadingUnderscore>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp >index 802c54937478cc14afe9333f358ac21f8c7ed526..cdb83a7f24598074dcf35465795cb4f37f6bad8d 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp >@@ -140,7 +140,7 @@ JSObject* JSTestIterable::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSTestIterable>(vm, globalObject); > } > >-JSValue JSTestIterable::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestIterable::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestIterableConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.h b/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.h >index 6489f26100c7cf67ed58c8a36e29a540de9a006b..85bcc71f03c421b9f054fe1603871a4f1ff4abed 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.h >@@ -48,7 +48,7 @@ class JSTestIterable : public JSDOMWrapper<TestIterable> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestIterable(JSC::Structure*, JSDOMGlobalObject&, Ref<TestIterable>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp >index 19129293662de64b04449827134f8f22b062cf6c..2afac210db2ca113c3038f33e6014582741d62d3 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp >@@ -139,7 +139,7 @@ JSObject* JSTestJSBuiltinConstructor::prototype(VM& vm, JSDOMGlobalObject& globa > return getDOMPrototype<JSTestJSBuiltinConstructor>(vm, globalObject); > } > >-JSValue JSTestJSBuiltinConstructor::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestJSBuiltinConstructor::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestJSBuiltinConstructorConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h b/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h >index d6d800f93b54612b4afb7f44de3005d3e43ba939..bfb860e6d33b0a6d2652c00e02d88b1952e5670d 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h >@@ -45,7 +45,7 @@ class JSTestJSBuiltinConstructor : public JSDOMObject { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > > // Custom attributes > JSC::JSValue testAttributeCustom(JSC::ExecState&) const; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp >index 8ca4cda8b1de59ef0c0c69a7096da871ccd5ba67..94c84b1b39d28e757aed38b6240ade94be8617be 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp >@@ -133,7 +133,7 @@ JSObject* JSTestMediaQueryListListener::prototype(VM& vm, JSDOMGlobalObject& glo > return getDOMPrototype<JSTestMediaQueryListListener>(vm, globalObject); > } > >-JSValue JSTestMediaQueryListListener::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestMediaQueryListListener::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestMediaQueryListListenerConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h b/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h >index d0375e3af77feb133d74d48e21d84da29f15e9ab..cd1fdfbffb566a2d86c2d0ff8a907f9c31efa1c7 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h >@@ -48,7 +48,7 @@ class JSTestMediaQueryListListener : public JSDOMWrapper<TestMediaQueryListListe > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestMediaQueryListListener(JSC::Structure*, JSDOMGlobalObject&, Ref<TestMediaQueryListListener>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp >index 7a4a5e6e1c189c0e705ebc28908f0e50b187131f..44367cfcff3cae384e093689e8e0f139b7c7a790 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp >@@ -127,7 +127,7 @@ JSObject* JSTestNamedAndIndexedSetterNoIdentifier::prototype(VM& vm, JSDOMGlobal > return getDOMPrototype<JSTestNamedAndIndexedSetterNoIdentifier>(vm, globalObject); > } > >-JSValue JSTestNamedAndIndexedSetterNoIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedAndIndexedSetterNoIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedAndIndexedSetterNoIdentifierConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.h >index 823e666cb5efb8fd4cbf9c74baa6d7b6ddfb22ad..386a64035a082a102458a9b1b0f375f689757cd9 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.h >@@ -54,7 +54,7 @@ class JSTestNamedAndIndexedSetterNoIdentifier : public JSDOMWrapper<TestNamedAnd > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp >index 8ad341cdff745962664daabfe577835647467738..930a9e3d4de8e3cc05cb09a80e9c0a658038eb87 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp >@@ -127,7 +127,7 @@ JSObject* JSTestNamedAndIndexedSetterThrowingException::prototype(VM& vm, JSDOMG > return getDOMPrototype<JSTestNamedAndIndexedSetterThrowingException>(vm, globalObject); > } > >-JSValue JSTestNamedAndIndexedSetterThrowingException::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedAndIndexedSetterThrowingException::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedAndIndexedSetterThrowingExceptionConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.h >index dc9431ce0f6b93a6622a56960ca771f3935f2875..31bb9dc92643af913ee2e2f2c78c921cc1cbf715 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.h >@@ -54,7 +54,7 @@ class JSTestNamedAndIndexedSetterThrowingException : public JSDOMWrapper<TestNam > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp >index e9bdcf49ed5a801f8d7d2457b30aca0c26b12fb7..37dcaf9bcea1ac9b6b544387141564c3c84e4c1a 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp >@@ -136,7 +136,7 @@ JSObject* JSTestNamedAndIndexedSetterWithIdentifier::prototype(VM& vm, JSDOMGlob > return getDOMPrototype<JSTestNamedAndIndexedSetterWithIdentifier>(vm, globalObject); > } > >-JSValue JSTestNamedAndIndexedSetterWithIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedAndIndexedSetterWithIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedAndIndexedSetterWithIdentifierConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.h >index 1826f92041503576a05e4ce54429e668cc68d92f..c8e0fdb56b0fc9154458ccb028e930107fd4919b 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.h >@@ -54,7 +54,7 @@ class JSTestNamedAndIndexedSetterWithIdentifier : public JSDOMWrapper<TestNamedA > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp >index 267c1205e7f746e949646090c11e8a8e0008bd8a..73556a236a7aff87b5e0f3cf5819e2d62870566c 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp >@@ -162,12 +162,12 @@ JSObject* JSTestNamedConstructor::prototype(VM& vm, JSDOMGlobalObject& globalObj > return getDOMPrototype<JSTestNamedConstructor>(vm, globalObject); > } > >-JSValue JSTestNamedConstructor::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedConstructor::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedConstructorConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } > >-JSValue JSTestNamedConstructor::getNamedConstructor(VM& vm, JSGlobalObject* globalObject) >+JSObject* JSTestNamedConstructor::getNamedConstructor(VM& vm, JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedConstructorNamedConstructor>(vm, *jsCast<JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h >index 25c51bd7af3fbf8aa6434bed6c533ecdfd30b2ad..58a65afb0c2f3d44853114ae02fc5e82b1bab80a 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h >@@ -48,8 +48,8 @@ class JSTestNamedConstructor : public JSDOMWrapper<TestNamedConstructor> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >- static JSC::JSValue getNamedConstructor(JSC::VM&, JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getNamedConstructor(JSC::VM&, JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestNamedConstructor(JSC::Structure*, JSDOMGlobalObject&, Ref<TestNamedConstructor>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp >index 5d2b6b68611b9e568134d60a193cded71de95f00..0f2b2b375835dbb271e0c2f1245af2f81825266e 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp >@@ -126,7 +126,7 @@ JSObject* JSTestNamedDeleterNoIdentifier::prototype(VM& vm, JSDOMGlobalObject& g > return getDOMPrototype<JSTestNamedDeleterNoIdentifier>(vm, globalObject); > } > >-JSValue JSTestNamedDeleterNoIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedDeleterNoIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedDeleterNoIdentifierConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.h >index 61c057902ef2db352121eda3fb00ddf21663fb0a..be49adcf32f322883e5cf311248817a3d008c589 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.h >@@ -53,7 +53,7 @@ class JSTestNamedDeleterNoIdentifier : public JSDOMWrapper<TestNamedDeleterNoIde > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp >index f0b5b743f52cb9a30617ea83e3b718d6e26e3abf..4bafe64c33abe78b15531a4c9b1658392c55e1f5 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp >@@ -126,7 +126,7 @@ JSObject* JSTestNamedDeleterThrowingException::prototype(VM& vm, JSDOMGlobalObje > return getDOMPrototype<JSTestNamedDeleterThrowingException>(vm, globalObject); > } > >-JSValue JSTestNamedDeleterThrowingException::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedDeleterThrowingException::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedDeleterThrowingExceptionConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.h >index 4a7ea5daafa066aa5377100d1ad0206d462a1198..eb24ec48837d6a11eaf5e659b21279f46e342551 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.h >@@ -53,7 +53,7 @@ class JSTestNamedDeleterThrowingException : public JSDOMWrapper<TestNamedDeleter > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp >index d3dca2a9f3889f8eeb667f4c0a6a8efb94b27c5d..5b802a9b120d22108a85215080eaefdabc718c05 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp >@@ -132,7 +132,7 @@ JSObject* JSTestNamedDeleterWithIdentifier::prototype(VM& vm, JSDOMGlobalObject& > return getDOMPrototype<JSTestNamedDeleterWithIdentifier>(vm, globalObject); > } > >-JSValue JSTestNamedDeleterWithIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedDeleterWithIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedDeleterWithIdentifierConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.h >index ddd50fc302cb5d0c3611a72e92d9f8d119fbd229..b75fb6458cd62c1b6503e9409f74d861808b53a6 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.h >@@ -53,7 +53,7 @@ class JSTestNamedDeleterWithIdentifier : public JSDOMWrapper<TestNamedDeleterWit > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp >index d2c14cf2e359fb442223ed4e48f95fff18406490..f1dbf2fbe37813240ad0f31b7ffa92de7c489cf4 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp >@@ -127,7 +127,7 @@ JSObject* JSTestNamedDeleterWithIndexedGetter::prototype(VM& vm, JSDOMGlobalObje > return getDOMPrototype<JSTestNamedDeleterWithIndexedGetter>(vm, globalObject); > } > >-JSValue JSTestNamedDeleterWithIndexedGetter::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedDeleterWithIndexedGetter::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedDeleterWithIndexedGetterConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.h >index bf8df78a7611254679edfb0a364982b0212267a5..4a84c97f82d031194a9e5936d531939d390786cf 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.h >@@ -53,7 +53,7 @@ class JSTestNamedDeleterWithIndexedGetter : public JSDOMWrapper<TestNamedDeleter > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp >index d3fa0722f1d64b5ceac1b112a5d85c986a26df6e..13fc7065e67cc0c759ad9fd904d7d0b1519249de 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp >@@ -126,7 +126,7 @@ JSObject* JSTestNamedGetterCallWith::prototype(VM& vm, JSDOMGlobalObject& global > return getDOMPrototype<JSTestNamedGetterCallWith>(vm, globalObject); > } > >-JSValue JSTestNamedGetterCallWith::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedGetterCallWith::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedGetterCallWithConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.h >index 71d0c7b10ff8b3736431be43e4156eb750eb83ac..9e2bc235d822137eff8b6d7aaacb5a34c1ca6846 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.h >@@ -51,7 +51,7 @@ class JSTestNamedGetterCallWith : public JSDOMWrapper<TestNamedGetterCallWith> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp >index e592a7fdf72c6eac6f733ac414e46a2391bd76bb..5088363e55b587aacad5bb015f111f59c35beb4e 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp >@@ -126,7 +126,7 @@ JSObject* JSTestNamedGetterNoIdentifier::prototype(VM& vm, JSDOMGlobalObject& gl > return getDOMPrototype<JSTestNamedGetterNoIdentifier>(vm, globalObject); > } > >-JSValue JSTestNamedGetterNoIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedGetterNoIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedGetterNoIdentifierConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.h >index 40ce448974883493c1e50e702de8b87acf20de6e..c1bd57e122dee2a79613d1846b7c98a77a9afe52 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.h >@@ -51,7 +51,7 @@ class JSTestNamedGetterNoIdentifier : public JSDOMWrapper<TestNamedGetterNoIdent > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp >index ed6ed8b6bcbcdbc99b797682a362e2c5d1d1f37f..eafa2fec78f462f2097a6bc73c50b5f8a0ffe58c 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp >@@ -132,7 +132,7 @@ JSObject* JSTestNamedGetterWithIdentifier::prototype(VM& vm, JSDOMGlobalObject& > return getDOMPrototype<JSTestNamedGetterWithIdentifier>(vm, globalObject); > } > >-JSValue JSTestNamedGetterWithIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedGetterWithIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedGetterWithIdentifierConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.h >index 3e23e37d95436b65239fa04e394ffac15b8a7c4c..455a303c4da34995b1a28eb69329548d5784a3a6 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.h >@@ -51,7 +51,7 @@ class JSTestNamedGetterWithIdentifier : public JSDOMWrapper<TestNamedGetterWithI > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp >index 32edb0acf71d1e12a333edc836354b9128c34713..d91a0e77a6aadd5fd9191b38b3f567ee188aacae 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp >@@ -126,7 +126,7 @@ JSObject* JSTestNamedSetterNoIdentifier::prototype(VM& vm, JSDOMGlobalObject& gl > return getDOMPrototype<JSTestNamedSetterNoIdentifier>(vm, globalObject); > } > >-JSValue JSTestNamedSetterNoIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedSetterNoIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedSetterNoIdentifierConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.h >index a195e070e76bafc1ce3017b953493d3899dc04cc..36b883fd7a3267e5c27e6bc4bed7f45a289f0c79 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.h >@@ -54,7 +54,7 @@ class JSTestNamedSetterNoIdentifier : public JSDOMWrapper<TestNamedSetterNoIdent > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp >index 2779be839fdb844057b3f44f346008a820b0bf63..bdbd6b2a94814d5d555cc49c5671fc6733c699c6 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp >@@ -126,7 +126,7 @@ JSObject* JSTestNamedSetterThrowingException::prototype(VM& vm, JSDOMGlobalObjec > return getDOMPrototype<JSTestNamedSetterThrowingException>(vm, globalObject); > } > >-JSValue JSTestNamedSetterThrowingException::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedSetterThrowingException::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedSetterThrowingExceptionConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.h >index da062b87e7156d63a04ddc9f8e131290d39b6b2d..c4f58e807fc85f383673144bbc47235ec0915dc1 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.h >@@ -54,7 +54,7 @@ class JSTestNamedSetterThrowingException : public JSDOMWrapper<TestNamedSetterTh > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp >index 2bfd7d0c02c57ec3d2b0aa9cc9430f515cb9bcdd..4923e6367f5dc79b4fb1393d8a2f0e395cd525dd 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp >@@ -132,7 +132,7 @@ JSObject* JSTestNamedSetterWithIdentifier::prototype(VM& vm, JSDOMGlobalObject& > return getDOMPrototype<JSTestNamedSetterWithIdentifier>(vm, globalObject); > } > >-JSValue JSTestNamedSetterWithIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedSetterWithIdentifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedSetterWithIdentifierConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.h >index c9fd5daccbea47286d02fd6074fab3f343322225..66f46c330ef3b972a05ec7cc98a4e0463762a759 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.h >@@ -54,7 +54,7 @@ class JSTestNamedSetterWithIdentifier : public JSDOMWrapper<TestNamedSetterWithI > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp >index 5a276805fc79761d7a01437a2f9311223267d53f..0851aafc4953fd9ebb81d5509f97e44d0fedbd45 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp >@@ -136,7 +136,7 @@ JSObject* JSTestNamedSetterWithIndexedGetter::prototype(VM& vm, JSDOMGlobalObjec > return getDOMPrototype<JSTestNamedSetterWithIndexedGetter>(vm, globalObject); > } > >-JSValue JSTestNamedSetterWithIndexedGetter::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedSetterWithIndexedGetter::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedSetterWithIndexedGetterConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.h >index 27378e1014ca3ef595e6d52e1d01e6cce4cee929..09ea3396ad632b1098a3ed7b24656d6ca89db7a1 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.h >@@ -54,7 +54,7 @@ class JSTestNamedSetterWithIndexedGetter : public JSDOMWrapper<TestNamedSetterWi > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp >index 8027fc1d871daa21181bb5c708d328a28dbe1c9e..4192df9aa429c1e9d317430a183ffa59d83912bb 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp >@@ -136,7 +136,7 @@ JSObject* JSTestNamedSetterWithIndexedGetterAndSetter::prototype(VM& vm, JSDOMGl > return getDOMPrototype<JSTestNamedSetterWithIndexedGetterAndSetter>(vm, globalObject); > } > >-JSValue JSTestNamedSetterWithIndexedGetterAndSetter::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedSetterWithIndexedGetterAndSetter::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedSetterWithIndexedGetterAndSetterConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.h >index 15a76bf5be780ef1b5a888c0acda68e609c0dafe..97cde164714e9fc4480f47fceed9eb1317783518 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.h >@@ -54,7 +54,7 @@ class JSTestNamedSetterWithIndexedGetterAndSetter : public JSDOMWrapper<TestName > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp >index 60357222ef4628859600fdc072f184bac9d294ab..5ac945c8cabe2b389473252f9a4d2842ff2efc40 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp >@@ -126,7 +126,7 @@ JSObject* JSTestNamedSetterWithOverrideBuiltins::prototype(VM& vm, JSDOMGlobalOb > return getDOMPrototype<JSTestNamedSetterWithOverrideBuiltins>(vm, globalObject); > } > >-JSValue JSTestNamedSetterWithOverrideBuiltins::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedSetterWithOverrideBuiltins::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedSetterWithOverrideBuiltinsConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.h >index 9fa957297ae18648d0e265f9ecff48a3cab490f8..b16fe2f5c778c832a4ac2243fcf26f8a5228b17f 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.h >@@ -54,7 +54,7 @@ class JSTestNamedSetterWithOverrideBuiltins : public JSDOMWrapper<TestNamedSette > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpure | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp >index 2b236e8c749214b3ebda440d76d9acbcf278f44e..e92b8d4caeef68d56a6d3798b5262bd0c57a7ea3 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp >@@ -150,7 +150,7 @@ JSObject* JSTestNamedSetterWithUnforgableProperties::prototype(VM& vm, JSDOMGlob > return getDOMPrototype<JSTestNamedSetterWithUnforgableProperties>(vm, globalObject); > } > >-JSValue JSTestNamedSetterWithUnforgableProperties::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedSetterWithUnforgableProperties::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedSetterWithUnforgablePropertiesConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.h >index f3677d9ba6a7bf21739075021eb345fa90a5e636..193d4dfed6f67cef65f9cbea5350f8276a75e505 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.h >@@ -54,7 +54,7 @@ class JSTestNamedSetterWithUnforgableProperties : public JSDOMWrapper<TestNamedS > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpureForPropertyAbsence | JSC::HasStaticPropertyTable | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp >index a490305a615dd72ce2f68259fd705932a01b514b..f354ca1e6a28ba09e4e703320044d7b4a8472fbe 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp >@@ -150,7 +150,7 @@ JSObject* JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins::prototyp > return getDOMPrototype<JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins>(vm, globalObject); > } > >-JSValue JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.h >index a91843a3fb9acc3ddf90f995dab7a72fcf3764cc..baf1fc45998b6a7de9c7cd76963de682af777b34 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.h >@@ -54,7 +54,7 @@ class JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins : public JSDO > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpure | JSC::HasStaticPropertyTable | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp >index 31180d2e7a5f5aa77a029fe37a9e45a1a6612853..c72a936ea8d89ac50b7e58b94b86a5d0a2fb14f8 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp >@@ -110,7 +110,7 @@ template<> EncodedJSValue JSC_HOST_CALL JSTestNodeConstructor::construct(ExecSta > template<> JSValue JSTestNodeConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject) > { > auto result = JSNode::getConstructor(vm, &globalObject); >- result.getObject()->didBecomePrototype(); >+ result->didBecomePrototype(); > return result; > } > >@@ -224,7 +224,7 @@ JSObject* JSTestNode::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSTestNode>(vm, globalObject); > } > >-JSValue JSTestNode::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestNode::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestNodeConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h b/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h >index e7c25d554ca284fcc251736aeb4d4736a4a474b5..b038732009c9d5417be4f9cdcd7b95ae3ffc3776 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h >@@ -47,7 +47,7 @@ class WEBCORE_TESTSUPPORT_EXPORT JSTestNode : public JSNode { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::JSType(JSNodeType), StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static JSC::JSObject* serialize(JSC::ExecState&, JSTestNode& thisObject, JSDOMGlobalObject&, JSC::ThrowScope&); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > TestNode& wrapped() const >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp >index 8409518fcf00a1ff698a731de80f89acbebc2306..fa9207f5b9c923a997fafdb793a885b8b7eaf22e 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp >@@ -2452,7 +2452,7 @@ JSObject* JSTestObj::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSTestObj>(vm, globalObject); > } > >-JSValue JSTestObj::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestObj::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestObjConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h b/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h >index 4c72221917ff03859d7fe4c7a49046164bebe645..93c41b632e1f40457b7969860225b4aee0309ac8 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h >@@ -56,7 +56,7 @@ class JSTestObj : public JSDOMWrapper<TestObj> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static JSC::JSObject* serialize(JSC::ExecState&, JSTestObj& thisObject, JSDOMGlobalObject&, JSC::ThrowScope&); > mutable JSC::WriteBarrier<JSC::Unknown> m_cachedAttribute1; > mutable JSC::WriteBarrier<JSC::Unknown> m_cachedAttribute2; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp >index 8446c0723197b6e3f616e87de2b648f87032f567..0207025430af6350fa91ee1cf30f3e2e53071491 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp >@@ -219,7 +219,7 @@ JSObject* JSTestOverloadedConstructors::prototype(VM& vm, JSDOMGlobalObject& glo > return getDOMPrototype<JSTestOverloadedConstructors>(vm, globalObject); > } > >-JSValue JSTestOverloadedConstructors::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestOverloadedConstructors::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestOverloadedConstructorsConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h >index 289a635abf5196673aa11bd46ab0fadb835ae913..e9a089fbceb346270a64e27530d1c0af153da214 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h >@@ -48,7 +48,7 @@ class JSTestOverloadedConstructors : public JSDOMWrapper<TestOverloadedConstruct > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestOverloadedConstructors(JSC::Structure*, JSDOMGlobalObject&, Ref<TestOverloadedConstructors>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp >index 0a0a0d725f401a3242702230a1f0619c82bdf99e..aa6b0a445a2a254e61df829fd272c8453c3d1c68 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp >@@ -175,7 +175,7 @@ JSObject* JSTestOverloadedConstructorsWithSequence::prototype(VM& vm, JSDOMGloba > return getDOMPrototype<JSTestOverloadedConstructorsWithSequence>(vm, globalObject); > } > >-JSValue JSTestOverloadedConstructorsWithSequence::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestOverloadedConstructorsWithSequence::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestOverloadedConstructorsWithSequenceConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.h b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.h >index e0f54ebedffe2f2dd1b59ebb0a8739b6b6df1682..79d67c8fc0b2d1b1df647582785f6fd1186dc892 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.h >@@ -48,7 +48,7 @@ class JSTestOverloadedConstructorsWithSequence : public JSDOMWrapper<TestOverloa > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestOverloadedConstructorsWithSequence(JSC::Structure*, JSDOMGlobalObject&, Ref<TestOverloadedConstructorsWithSequence>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp >index 5666642286156afa1ed329af9cfd31b8b41172c0..57f4eaa6305748d8029b898f2c405a08ba50416b 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp >@@ -135,7 +135,7 @@ JSObject* JSTestOverrideBuiltins::prototype(VM& vm, JSDOMGlobalObject& globalObj > return getDOMPrototype<JSTestOverrideBuiltins>(vm, globalObject); > } > >-JSValue JSTestOverrideBuiltins::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestOverrideBuiltins::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestOverrideBuiltinsConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h b/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h >index 77eeeca41f48c61abcd5ca02dcdd6f8f3e63e629..a97d37489703d8595ec68772d02b65db7b008b4b 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h >@@ -51,7 +51,7 @@ class JSTestOverrideBuiltins : public JSDOMWrapper<TestOverrideBuiltins> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::GetOwnPropertySlotIsImpure | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetOwnPropertySlot | JSC::OverridesGetPropertyNames; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp >index 7acf2a37c811a863d983e2facb5133e43c80b5cc..9dd74e9cbda3c00f2c332632f0670692d27ba1c8 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp >@@ -125,7 +125,7 @@ JSObject* JSTestPluginInterface::prototype(VM& vm, JSDOMGlobalObject& globalObje > return getDOMPrototype<JSTestPluginInterface>(vm, globalObject); > } > >-JSValue JSTestPluginInterface::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestPluginInterface::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestPluginInterfaceConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.h b/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.h >index 1437ca3a063870e3de929c71c07d9633c49b218d..2deccb9806e7544ed916283e640cd66defd364b7 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.h >@@ -55,7 +55,7 @@ class JSTestPluginInterface : public JSDOMWrapper<TestPluginInterface> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | JSC::OverridesGetCallData | JSC::OverridesGetOwnPropertySlot; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp >index 45a09c7a16cf4ad8f3100b430c5d6db3c4e59a50..e512f47fe2275df159ec0abfa06ceb33ec4faa45 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp >@@ -176,7 +176,7 @@ template<> EncodedJSValue JSC_HOST_CALL JSTestPromiseRejectionEventConstructor:: > template<> JSValue JSTestPromiseRejectionEventConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject) > { > auto result = JSEvent::getConstructor(vm, &globalObject); >- result.getObject()->didBecomePrototype(); >+ result->didBecomePrototype(); > return result; > } > >@@ -230,7 +230,7 @@ JSObject* JSTestPromiseRejectionEvent::prototype(VM& vm, JSDOMGlobalObject& glob > return getDOMPrototype<JSTestPromiseRejectionEvent>(vm, globalObject); > } > >-JSValue JSTestPromiseRejectionEvent::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestPromiseRejectionEvent::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestPromiseRejectionEventConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.h b/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.h >index f4695fa4c5ad6665805026918ee9fd6ddc9646e9..7b5133d01f072e2d8d48d29cf746924c9253e3f3 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.h >@@ -48,7 +48,7 @@ class JSTestPromiseRejectionEvent : public JSEvent { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::JSType(JSEventType), StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > TestPromiseRejectionEvent& wrapped() const > { >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp >index ce6a881a21fa6961e15504757dccae3953a62f15..c38216904b7c3890756802c980c98543a1ac64bb 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp >@@ -179,7 +179,7 @@ JSObject* JSTestSerialization::prototype(VM& vm, JSDOMGlobalObject& globalObject > return getDOMPrototype<JSTestSerialization>(vm, globalObject); > } > >-JSValue JSTestSerialization::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestSerialization::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestSerializationConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.h b/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.h >index d272847f7b43d9ed5381367b3541bbbf31347ef8..de2c6a4547689b322d54c250d928bf13d347b00b 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.h >@@ -48,7 +48,7 @@ class JSTestSerialization : public JSDOMWrapper<TestSerialization> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static JSC::JSObject* serialize(JSC::ExecState&, JSTestSerialization& thisObject, JSDOMGlobalObject&, JSC::ThrowScope&); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp >index c5196873865b7eabf50b6d80265a3c19e7629e9d..511028b9d30c181087b92f0706d6c99eb9580528 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp >@@ -72,7 +72,7 @@ using JSTestSerializationIndirectInheritanceConstructor = JSDOMConstructorNotCon > template<> JSValue JSTestSerializationIndirectInheritanceConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject) > { > auto result = JSTestSerializationInherit::getConstructor(vm, &globalObject); >- result.getObject()->didBecomePrototype(); >+ result->didBecomePrototype(); > return result; > } > >@@ -124,7 +124,7 @@ JSObject* JSTestSerializationIndirectInheritance::prototype(VM& vm, JSDOMGlobalO > return getDOMPrototype<JSTestSerializationIndirectInheritance>(vm, globalObject); > } > >-JSValue JSTestSerializationIndirectInheritance::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestSerializationIndirectInheritance::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestSerializationIndirectInheritanceConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.h b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.h >index 0dd045ae685eddacf95ecdbab3eddae15c8a5bee..ad62b81da3b58128ba5da0ca21d4eb1ecf2e05c2 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.h >@@ -47,7 +47,7 @@ class JSTestSerializationIndirectInheritance : public JSTestSerializationInherit > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > TestSerializationIndirectInheritance& wrapped() const > { >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp >index a1a824308f4f080c9d2cd7c6da78a9140f1bad9f..f937dc6a7d446aa141ba04169443360417ce87aa 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp >@@ -82,7 +82,7 @@ using JSTestSerializationInheritConstructor = JSDOMConstructorNotConstructable<J > template<> JSValue JSTestSerializationInheritConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject) > { > auto result = JSTestSerialization::getConstructor(vm, &globalObject); >- result.getObject()->didBecomePrototype(); >+ result->didBecomePrototype(); > return result; > } > >@@ -136,7 +136,7 @@ JSObject* JSTestSerializationInherit::prototype(VM& vm, JSDOMGlobalObject& globa > return getDOMPrototype<JSTestSerializationInherit>(vm, globalObject); > } > >-JSValue JSTestSerializationInherit::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestSerializationInherit::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestSerializationInheritConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.h b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.h >index 02873a26fcc041bc98a64a557b3ec978e3ebca50..b1c1b3e905544e4f66b2750b02116d1ad5fffa91 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.h >@@ -47,7 +47,7 @@ class JSTestSerializationInherit : public JSTestSerialization { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static JSC::JSObject* serialize(JSC::ExecState&, JSTestSerializationInherit& thisObject, JSDOMGlobalObject&, JSC::ThrowScope&); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > TestSerializationInherit& wrapped() const >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp >index 069b115d4af4a53e93cf2d6a726f77d4a0bd66ad..7a7c225ef76969063ed80400036b57255ccab6c1 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp >@@ -84,7 +84,7 @@ using JSTestSerializationInheritFinalConstructor = JSDOMConstructorNotConstructa > template<> JSValue JSTestSerializationInheritFinalConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject) > { > auto result = JSTestSerializationInherit::getConstructor(vm, &globalObject); >- result.getObject()->didBecomePrototype(); >+ result->didBecomePrototype(); > return result; > } > >@@ -139,7 +139,7 @@ JSObject* JSTestSerializationInheritFinal::prototype(VM& vm, JSDOMGlobalObject& > return getDOMPrototype<JSTestSerializationInheritFinal>(vm, globalObject); > } > >-JSValue JSTestSerializationInheritFinal::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestSerializationInheritFinal::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestSerializationInheritFinalConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.h b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.h >index 7c475752d40c301b244933ce0103968943101682..676ef847bfb7f23cc2b391a839adb4bce804163c 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.h >@@ -47,7 +47,7 @@ class JSTestSerializationInheritFinal : public JSTestSerializationInherit { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static JSC::JSObject* serialize(JSC::ExecState&, JSTestSerializationInheritFinal& thisObject, JSDOMGlobalObject&, JSC::ThrowScope&); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > TestSerializationInheritFinal& wrapped() const >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp >index d37fde1dc193dc8d8a36f28c58dac3c323a0289c..330b4ecd80d08a0b83784249c0483d8837ff3707 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp >@@ -155,7 +155,7 @@ JSObject* JSTestSerializedScriptValueInterface::prototype(VM& vm, JSDOMGlobalObj > return getDOMPrototype<JSTestSerializedScriptValueInterface>(vm, globalObject); > } > >-JSValue JSTestSerializedScriptValueInterface::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestSerializedScriptValueInterface::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestSerializedScriptValueInterfaceConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h >index feaec894c070202752c76f5da4b3eea80fc59a00..5548762aa2cef49de7ff501e49deb73a093ca626 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h >@@ -50,7 +50,7 @@ class JSTestSerializedScriptValueInterface : public JSDOMWrapper<TestSerializedS > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > mutable JSC::WriteBarrier<JSC::Unknown> m_cachedValue; > mutable JSC::WriteBarrier<JSC::Unknown> m_cachedReadonlyValue; > static void visitChildren(JSCell*, JSC::SlotVisitor&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp >index 1ffafdae01c37469650f642d133dad940dbeb71a..6bd109e591e4c4b33ad7adc5b656111237eb77e5 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp >@@ -131,7 +131,7 @@ JSObject* JSTestStringifier::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSTestStringifier>(vm, globalObject); > } > >-JSValue JSTestStringifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestStringifier::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestStringifierConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.h b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.h >index 55381f70a52d8d53b33bfe059c78ad5031815284..5fe6182308dbc0483825ecfd2c3f30ac31ee0458 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.h >@@ -48,7 +48,7 @@ class JSTestStringifier : public JSDOMWrapper<TestStringifier> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestStringifier(JSC::Structure*, JSDOMGlobalObject&, Ref<TestStringifier>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp >index c6465d70960abf434fb6b6b1b4570b464421e9c5..863a055019db9a0412c52a9899b4a55d627cf2c9 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp >@@ -131,7 +131,7 @@ JSObject* JSTestStringifierAnonymousOperation::prototype(VM& vm, JSDOMGlobalObje > return getDOMPrototype<JSTestStringifierAnonymousOperation>(vm, globalObject); > } > >-JSValue JSTestStringifierAnonymousOperation::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestStringifierAnonymousOperation::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestStringifierAnonymousOperationConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.h b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.h >index 14aa0ed3ee9aced16a57bcb45932282d0d49aa82..7ff3e50d3d5f51528198b44f813b0564b0f67f5d 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.h >@@ -48,7 +48,7 @@ class JSTestStringifierAnonymousOperation : public JSDOMWrapper<TestStringifierA > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestStringifierAnonymousOperation(JSC::Structure*, JSDOMGlobalObject&, Ref<TestStringifierAnonymousOperation>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp >index fe867d62e0b3a3782f50da17681d3603abc20093..9a2a481dc58f8d892d95303e6d4afa507139a24b 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp >@@ -133,7 +133,7 @@ JSObject* JSTestStringifierNamedOperation::prototype(VM& vm, JSDOMGlobalObject& > return getDOMPrototype<JSTestStringifierNamedOperation>(vm, globalObject); > } > >-JSValue JSTestStringifierNamedOperation::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestStringifierNamedOperation::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestStringifierNamedOperationConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.h b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.h >index 5bc10ef65d2194401a53e3e5cc2318fd45fbbe54..cfca13f7073a2d7bc2cca7f68de6f8da13e9b65b 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.h >@@ -48,7 +48,7 @@ class JSTestStringifierNamedOperation : public JSDOMWrapper<TestStringifierNamed > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestStringifierNamedOperation(JSC::Structure*, JSDOMGlobalObject&, Ref<TestStringifierNamedOperation>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp >index 34ab9dac708c5cac37fe171812e1e3658b1212ab..66a134babfcba56385a07b13aacdf36c18b5f363 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp >@@ -133,7 +133,7 @@ JSObject* JSTestStringifierOperationImplementedAs::prototype(VM& vm, JSDOMGlobal > return getDOMPrototype<JSTestStringifierOperationImplementedAs>(vm, globalObject); > } > >-JSValue JSTestStringifierOperationImplementedAs::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestStringifierOperationImplementedAs::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestStringifierOperationImplementedAsConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.h b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.h >index f93ff116869596bf7efc28c9ee6275adffb586ec..70f84619ec7c1a575c8c831b3c45a5a50814bbba 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.h >@@ -48,7 +48,7 @@ class JSTestStringifierOperationImplementedAs : public JSDOMWrapper<TestStringif > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestStringifierOperationImplementedAs(JSC::Structure*, JSDOMGlobalObject&, Ref<TestStringifierOperationImplementedAs>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp >index fe730ba0023fc49a4acc78067a92707a08e7fe47..1b85ce666179183906ecf7059fb31d7b59487438 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp >@@ -131,7 +131,7 @@ JSObject* JSTestStringifierOperationNamedToString::prototype(VM& vm, JSDOMGlobal > return getDOMPrototype<JSTestStringifierOperationNamedToString>(vm, globalObject); > } > >-JSValue JSTestStringifierOperationNamedToString::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestStringifierOperationNamedToString::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestStringifierOperationNamedToStringConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.h b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.h >index 12de238e0f628d609fb18c9c05c5f800c6b24ac8..965cf11f4756f6fb417b43d2521e35ec4d0c4abc 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.h >@@ -48,7 +48,7 @@ class JSTestStringifierOperationNamedToString : public JSDOMWrapper<TestStringif > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestStringifierOperationNamedToString(JSC::Structure*, JSDOMGlobalObject&, Ref<TestStringifierOperationNamedToString>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp >index df4ef8c7247c76f2feccb584623ab6ebe3290cce..45680b4bccbe5e50399dc18d9b2fb1a4d0a3d71b 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp >@@ -134,7 +134,7 @@ JSObject* JSTestStringifierReadOnlyAttribute::prototype(VM& vm, JSDOMGlobalObjec > return getDOMPrototype<JSTestStringifierReadOnlyAttribute>(vm, globalObject); > } > >-JSValue JSTestStringifierReadOnlyAttribute::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestStringifierReadOnlyAttribute::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestStringifierReadOnlyAttributeConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.h b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.h >index 6dcbdc8d955e5b2deb5eb0125053c22528b5d491..94551b96d1a83206d0b0cbf4786eec257f8b3737 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.h >@@ -48,7 +48,7 @@ class JSTestStringifierReadOnlyAttribute : public JSDOMWrapper<TestStringifierRe > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestStringifierReadOnlyAttribute(JSC::Structure*, JSDOMGlobalObject&, Ref<TestStringifierReadOnlyAttribute>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp >index b204fa263645a45d0db22cdfc9369a033ce5ece0..65d1b12331e135f19161a019e736ce4d32b6497c 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp >@@ -135,7 +135,7 @@ JSObject* JSTestStringifierReadWriteAttribute::prototype(VM& vm, JSDOMGlobalObje > return getDOMPrototype<JSTestStringifierReadWriteAttribute>(vm, globalObject); > } > >-JSValue JSTestStringifierReadWriteAttribute::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestStringifierReadWriteAttribute::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestStringifierReadWriteAttributeConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.h b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.h >index cb21c3ed45501284a35d2f645cfa9b1035bf9398..be94508ad60d7ce07190521176b7ccb747979d16 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.h >@@ -48,7 +48,7 @@ class JSTestStringifierReadWriteAttribute : public JSDOMWrapper<TestStringifierR > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > protected: > JSTestStringifierReadWriteAttribute(JSC::Structure*, JSDOMGlobalObject&, Ref<TestStringifierReadWriteAttribute>&&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp >index a71b58c6c7d36e7ac4886a5cc5934b0accc2526f..d3447a619801391dd41141b6c68ef0533e29a213 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp >@@ -238,7 +238,7 @@ JSObject* JSTestTypedefs::prototype(VM& vm, JSDOMGlobalObject& globalObject) > return getDOMPrototype<JSTestTypedefs>(vm, globalObject); > } > >-JSValue JSTestTypedefs::getConstructor(VM& vm, const JSGlobalObject* globalObject) >+JSObject* JSTestTypedefs::getConstructor(VM& vm, const JSGlobalObject* globalObject) > { > return getDOMConstructor<JSTestTypedefsConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject)); > } >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h b/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h >index 23f73fb4e15c4eb27ca12c8424efc70750430780..8111928c263d260fbc1439bb06bcee8b00bafb5b 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h >@@ -48,7 +48,7 @@ class JSTestTypedefs : public JSDOMWrapper<TestTypedefs> { > return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info()); > } > >- static JSC::JSValue getConstructor(JSC::VM&, const JSC::JSGlobalObject*); >+ static JSC::JSObject* getConstructor(JSC::VM&, const JSC::JSGlobalObject*); > static void heapSnapshot(JSCell*, JSC::HeapSnapshotBuilder&); > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::HasStaticPropertyTable;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
darin
:
review+
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 199144
: 372737