Diff
Modified: trunk/Source/WebCore/ChangeLog (205457 => 205458)
--- trunk/Source/WebCore/ChangeLog 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/ChangeLog 2016-09-05 17:25:52 UTC (rev 205458)
@@ -1,5 +1,63 @@
2016-09-05 Fujii Hironori <[email protected]>
+ run-bindings-tests fails since r205422
+ https://bugs.webkit.org/show_bug.cgi?id=161595
+
+ Reviewed by Darin Adler.
+
+ Rebaseline binding tests after r205422.
+
+ * bindings/scripts/test/JS/JSInterfaceName.cpp:
+ * bindings/scripts/test/JS/JSInterfaceName.h:
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
+ * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp:
+ * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h:
+ * bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp:
+ * bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h:
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
+ * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+ * bindings/scripts/test/JS/JSTestEventConstructor.h:
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ * bindings/scripts/test/JS/JSTestEventTarget.h:
+ * bindings/scripts/test/JS/JSTestException.cpp:
+ * bindings/scripts/test/JS/JSTestException.h:
+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
+ * bindings/scripts/test/JS/JSTestGlobalObject.cpp:
+ * bindings/scripts/test/JS/JSTestGlobalObject.h:
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ * bindings/scripts/test/JS/JSTestInterface.h:
+ * bindings/scripts/test/JS/JSTestIterable.cpp:
+ * bindings/scripts/test/JS/JSTestIterable.h:
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
+ * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
+ * bindings/scripts/test/JS/JSTestNamedConstructor.h:
+ * bindings/scripts/test/JS/JSTestNode.cpp:
+ * bindings/scripts/test/JS/JSTestNode.h:
+ * bindings/scripts/test/JS/JSTestNondeterministic.cpp:
+ * bindings/scripts/test/JS/JSTestNondeterministic.h:
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ * bindings/scripts/test/JS/JSTestObj.h:
+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
+ * bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp:
+ * bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.h:
+ * bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp:
+ * bindings/scripts/test/JS/JSTestOverrideBuiltins.h:
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ * bindings/scripts/test/JS/JSTestTypedefs.h:
+ * bindings/scripts/test/JS/JSattribute.cpp:
+ * bindings/scripts/test/JS/JSattribute.h:
+ * bindings/scripts/test/JS/JSreadonly.cpp:
+ * bindings/scripts/test/JS/JSreadonly.h:
+
+2016-09-05 Fujii Hironori <[email protected]>
+
[CMake] Duplicated IDL files in WebCore_IDL_FILES
https://bugs.webkit.org/show_bug.cgi?id=161592
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -203,7 +203,7 @@
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
globalObject->vm().heap.reportExtraMemoryAllocated(impl->memoryCost());
- return createWrapper<JSInterfaceName, InterfaceName>(globalObject, WTFMove(impl));
+ return createWrapper<InterfaceName>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, InterfaceName& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -85,5 +85,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<InterfaceName>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<InterfaceName>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<InterfaceName> {
+ using WrapperClass = JSInterfaceName;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -274,7 +274,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestActiveDOMObject, TestActiveDOMObject>(globalObject, WTFMove(impl));
+ return createWrapper<TestActiveDOMObject>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestActiveDOMObject& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -84,5 +84,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestActiveDOMObject>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestActiveDOMObject>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestActiveDOMObject> {
+ using WrapperClass = JSTestActiveDOMObject;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -201,7 +201,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestClassWithJSBuiltinConstructor, TestClassWithJSBuiltinConstructor>(globalObject, WTFMove(impl));
+ return createWrapper<TestClassWithJSBuiltinConstructor>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestClassWithJSBuiltinConstructor& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -84,5 +84,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestClassWithJSBuiltinConstructor>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestClassWithJSBuiltinConstructor>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestClassWithJSBuiltinConstructor> {
+ using WrapperClass = JSTestClassWithJSBuiltinConstructor;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -192,7 +192,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestCustomConstructorWithNoInterfaceObject, TestCustomConstructorWithNoInterfaceObject>(globalObject, WTFMove(impl));
+ return createWrapper<TestCustomConstructorWithNoInterfaceObject>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestCustomConstructorWithNoInterfaceObject& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -84,5 +84,8 @@
// Custom constructor
JSC::EncodedJSValue JSC_HOST_CALL constructJSTestCustomConstructorWithNoInterfaceObject(JSC::ExecState&);
+template<> struct JSDOMWrapperConverterTraits<TestCustomConstructorWithNoInterfaceObject> {
+ using WrapperClass = JSTestCustomConstructorWithNoInterfaceObject;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -251,7 +251,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestCustomNamedGetter, TestCustomNamedGetter>(globalObject, WTFMove(impl));
+ return createWrapper<TestCustomNamedGetter>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestCustomNamedGetter& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -88,5 +88,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestCustomNamedGetter>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestCustomNamedGetter>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestCustomNamedGetter> {
+ using WrapperClass = JSTestCustomNamedGetter;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -105,7 +105,7 @@
}
Ref<TestEventConstructor> event = TestEventConstructor::createForBindings(eventType, eventInit);
- return JSValue::encode(CREATE_DOM_WRAPPER(jsConstructor->globalObject(), TestEventConstructor, WTFMove(event)));
+ return JSValue::encode(createWrapper<TestEventConstructor>(jsConstructor->globalObject(), WTFMove(event)));
}
bool fillTestEventConstructorInit(TestEventConstructorInit& eventInit, JSDictionary& dictionary)
@@ -305,7 +305,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestEventConstructor, TestEventConstructor>(globalObject, WTFMove(impl));
+ return createWrapper<TestEventConstructor>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestEventConstructor& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -86,5 +86,8 @@
bool fillTestEventConstructorInit(TestEventConstructorInit&, JSDictionary&);
+template<> struct JSDOMWrapperConverterTraits<TestEventConstructor> {
+ using WrapperClass = JSTestEventConstructor;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -258,7 +258,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestEventTarget, TestEventTarget>(globalObject, WTFMove(impl));
+ return createWrapper<TestEventTarget>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestEventTarget& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -78,5 +78,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestEventTarget>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestEventTarget>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestEventTarget> {
+ using WrapperClass = JSTestEventTarget;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -222,7 +222,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestException, TestException>(globalObject, WTFMove(impl));
+ return createWrapper<TestException>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestException& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -85,5 +85,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestException>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestException>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestException> {
+ using WrapperClass = JSTestException;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -188,7 +188,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestGenerateIsReachable, TestGenerateIsReachable>(globalObject, WTFMove(impl));
+ return createWrapper<TestGenerateIsReachable>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestGenerateIsReachable& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -82,5 +82,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestGenerateIsReachable>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestGenerateIsReachable>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestGenerateIsReachable> {
+ using WrapperClass = JSTestGenerateIsReachable;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -507,7 +507,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestGlobalObject, TestGlobalObject>(globalObject, WTFMove(impl));
+ return createWrapper<TestGlobalObject>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestGlobalObject& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -112,5 +112,8 @@
static const unsigned StructureFlags = JSC::HasStaticPropertyTable | Base::StructureFlags;
};
+template<> struct JSDOMWrapperConverterTraits<TestGlobalObject> {
+ using WrapperClass = JSTestGlobalObject;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -996,7 +996,7 @@
// attribute to TestInterface.
static_assert(!__is_polymorphic(TestInterface), "TestInterface is polymorphic but the IDL claims it is not");
#endif
- return createWrapper<JSTestInterface, TestInterface>(globalObject, WTFMove(impl));
+ return createWrapper<TestInterface>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestInterface& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -109,6 +109,9 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestInterface>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestInterface>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestInterface> {
+ using WrapperClass = JSTestInterface;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -236,7 +236,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestIterable, TestIterable>(globalObject, WTFMove(impl));
+ return createWrapper<TestIterable>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestIterable& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -82,5 +82,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestIterable>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestIterable>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestIterable> {
+ using WrapperClass = JSTestIterable;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -216,7 +216,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestMediaQueryListListener, TestMediaQueryListListener>(globalObject, WTFMove(impl));
+ return createWrapper<TestMediaQueryListListener>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestMediaQueryListListener& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -82,5 +82,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestMediaQueryListListener>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestMediaQueryListListener>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestMediaQueryListListener> {
+ using WrapperClass = JSTestMediaQueryListListener;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -240,7 +240,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestNamedConstructor, TestNamedConstructor>(globalObject, WTFMove(impl));
+ return createWrapper<TestNamedConstructor>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestNamedConstructor& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -83,5 +83,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestNamedConstructor>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestNamedConstructor>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestNamedConstructor> {
+ using WrapperClass = JSTestNamedConstructor;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -299,7 +299,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestNode, TestNode>(globalObject, WTFMove(impl));
+ return createWrapper<TestNode>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestNode& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -69,5 +69,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestNode>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestNode>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestNode> {
+ using WrapperClass = JSTestNode;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -518,7 +518,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestNondeterministic, TestNondeterministic>(globalObject, WTFMove(impl));
+ return createWrapper<TestNondeterministic>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestNondeterministic& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -82,5 +82,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestNondeterministic>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestNondeterministic>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestNondeterministic> {
+ using WrapperClass = JSTestNondeterministic;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -7524,7 +7524,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestObj, TestObj>(globalObject, WTFMove(impl));
+ return createWrapper<TestObj>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestObj& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -100,5 +100,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestObj>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestObj>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestObj> {
+ using WrapperClass = JSTestObj;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -297,7 +297,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestOverloadedConstructors, TestOverloadedConstructors>(globalObject, WTFMove(impl));
+ return createWrapper<TestOverloadedConstructors>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestOverloadedConstructors& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -82,5 +82,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestOverloadedConstructors>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestOverloadedConstructors>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestOverloadedConstructors> {
+ using WrapperClass = JSTestOverloadedConstructors;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -240,7 +240,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestOverloadedConstructorsWithSequence, TestOverloadedConstructorsWithSequence>(globalObject, WTFMove(impl));
+ return createWrapper<TestOverloadedConstructorsWithSequence>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestOverloadedConstructorsWithSequence& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -82,5 +82,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestOverloadedConstructorsWithSequence>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestOverloadedConstructorsWithSequence>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestOverloadedConstructorsWithSequence> {
+ using WrapperClass = JSTestOverloadedConstructorsWithSequence;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -260,7 +260,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestOverrideBuiltins, TestOverrideBuiltins>(globalObject, WTFMove(impl));
+ return createWrapper<TestOverrideBuiltins>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestOverrideBuiltins& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -89,5 +89,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestOverrideBuiltins>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestOverrideBuiltins>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestOverrideBuiltins> {
+ using WrapperClass = JSTestOverrideBuiltins;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -343,7 +343,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestSerializedScriptValueInterface, TestSerializedScriptValueInterface>(globalObject, WTFMove(impl));
+ return createWrapper<TestSerializedScriptValueInterface>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestSerializedScriptValueInterface& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -88,6 +88,9 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestSerializedScriptValueInterface>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestSerializedScriptValueInterface>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestSerializedScriptValueInterface> {
+ using WrapperClass = JSTestSerializedScriptValueInterface;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -734,7 +734,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSTestTypedefs, TestTypedefs>(globalObject, WTFMove(impl));
+ return createWrapper<TestTypedefs>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, TestTypedefs& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -84,5 +84,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<TestTypedefs>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<TestTypedefs>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<TestTypedefs> {
+ using WrapperClass = JSTestTypedefs;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -222,7 +222,7 @@
// by adding the SkipVTableValidation attribute to the interface IDL definition
RELEASE_ASSERT(actualVTablePointer == expectedVTablePointer);
#endif
- return createWrapper<JSattribute, attribute>(globalObject, WTFMove(impl));
+ return createWrapper<attribute>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, attribute& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -85,5 +85,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<attribute>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<attribute>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<attribute> {
+ using WrapperClass = JSattribute;
+};
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp 2016-09-05 17:25:52 UTC (rev 205458)
@@ -167,7 +167,7 @@
// attribute to readonly.
static_assert(!__is_polymorphic(readonly), "readonly is polymorphic but the IDL claims it is not");
#endif
- return createWrapper<JSreadonly, readonly>(globalObject, WTFMove(impl));
+ return createWrapper<readonly>(globalObject, WTFMove(impl));
}
JSC::JSValue toJS(JSC::ExecState* state, JSDOMGlobalObject* globalObject, readonly& impl)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h (205457 => 205458)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h 2016-09-05 17:21:33 UTC (rev 205457)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h 2016-09-05 17:25:52 UTC (rev 205458)
@@ -82,5 +82,8 @@
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, Ref<readonly>&&);
inline JSC::JSValue toJSNewlyCreated(JSC::ExecState* state, JSDOMGlobalObject* globalObject, RefPtr<readonly>&& impl) { return impl ? toJSNewlyCreated(state, globalObject, impl.releaseNonNull()) : JSC::jsNull(); }
+template<> struct JSDOMWrapperConverterTraits<readonly> {
+ using WrapperClass = JSreadonly;
+};
} // namespace WebCore