Diff
Modified: trunk/Source/WebCore/ChangeLog (196475 => 196476)
--- trunk/Source/WebCore/ChangeLog 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/ChangeLog 2016-02-12 16:49:01 UTC (rev 196476)
@@ -1,3 +1,14 @@
+2016-02-12 Chris Dumez <[email protected]>
+
+ Unreviewed nit fixes after r196466.
+
+ * Modules/speech/SpeechSynthesisUtterance.idl: Fix curly bracket
+ placement.
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateHeader): Use wrappableObject instead of domObject.
+ * bindings/scripts/test/*: Rebaseline.
+ * dom/WebKitNamedFlow.idl: Drop unnecessary #if case.
+
2016-02-12 Carlos Garcia Campos <[email protected]>
[GTK] Properly handle classes inheriting from EventTarget
Modified: trunk/Source/WebCore/Modules/speech/SpeechSynthesisUtterance.idl (196475 => 196476)
--- trunk/Source/WebCore/Modules/speech/SpeechSynthesisUtterance.idl 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/Modules/speech/SpeechSynthesisUtterance.idl 2016-02-12 16:49:01 UTC (rev 196476)
@@ -28,8 +28,7 @@
EventTarget,
ConstructorCallWith=ScriptExecutionContext,
Constructor([Default=NullString] optional DOMString text)
-] interface SpeechSynthesisUtterance : EventTarget
-{
+] interface SpeechSynthesisUtterance : EventTarget {
attribute DOMString text;
attribute DOMString lang;
attribute SpeechSynthesisVoice voice;
Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2016-02-12 16:49:01 UTC (rev 196476)
@@ -1243,9 +1243,9 @@
push(@headerContent, " return &owner.get();\n");
push(@headerContent, "}\n");
push(@headerContent, "\n");
- push(@headerContent, "inline void* wrapperKey($implType* domObject)\n");
+ push(@headerContent, "inline void* wrapperKey($implType* wrappableObject)\n");
push(@headerContent, "{\n");
- push(@headerContent, " return domObject;\n");
+ push(@headerContent, " return wrappableObject;\n");
push(@headerContent, "}\n");
push(@headerContent, "\n");
}
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -78,9 +78,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestActiveDOMObject* domObject)
+inline void* wrapperKey(TestActiveDOMObject* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestActiveDOMObject*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -77,9 +77,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestClassWithJSBuiltinConstructor* domObject)
+inline void* wrapperKey(TestClassWithJSBuiltinConstructor* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestClassWithJSBuiltinConstructor*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -74,9 +74,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestCustomConstructorWithNoInterfaceObject* domObject)
+inline void* wrapperKey(TestCustomConstructorWithNoInterfaceObject* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestCustomConstructorWithNoInterfaceObject*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -81,9 +81,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestCustomNamedGetter* domObject)
+inline void* wrapperKey(TestCustomNamedGetter* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestCustomNamedGetter*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -77,9 +77,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestEventConstructor* domObject)
+inline void* wrapperKey(TestEventConstructor* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestEventConstructor*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -79,9 +79,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestException* domObject)
+inline void* wrapperKey(TestException* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestException*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -75,9 +75,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestGenerateIsReachable* domObject)
+inline void* wrapperKey(TestGenerateIsReachable* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestGenerateIsReachable*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -102,9 +102,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestInterface* domObject)
+inline void* wrapperKey(TestInterface* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestInterface*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -75,9 +75,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestMediaQueryListListener* domObject)
+inline void* wrapperKey(TestMediaQueryListListener* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestMediaQueryListListener*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -76,9 +76,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestNamedConstructor* domObject)
+inline void* wrapperKey(TestNamedConstructor* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestNamedConstructor*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -75,9 +75,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestNondeterministic* domObject)
+inline void* wrapperKey(TestNondeterministic* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestNondeterministic*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -91,9 +91,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestObj* domObject)
+inline void* wrapperKey(TestObj* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestObj*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -75,9 +75,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestOverloadedConstructors* domObject)
+inline void* wrapperKey(TestOverloadedConstructors* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestOverloadedConstructors*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -82,9 +82,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestOverrideBuiltins* domObject)
+inline void* wrapperKey(TestOverrideBuiltins* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestOverrideBuiltins*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -81,9 +81,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestSerializedScriptValueInterface* domObject)
+inline void* wrapperKey(TestSerializedScriptValueInterface* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestSerializedScriptValueInterface*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -78,9 +78,9 @@
return &owner.get();
}
-inline void* wrapperKey(TestTypedefs* domObject)
+inline void* wrapperKey(TestTypedefs* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestTypedefs*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -76,9 +76,9 @@
return &owner.get();
}
-inline void* wrapperKey(attribute* domObject)
+inline void* wrapperKey(attribute* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, attribute*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h (196475 => 196476)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h 2016-02-12 16:49:01 UTC (rev 196476)
@@ -75,9 +75,9 @@
return &owner.get();
}
-inline void* wrapperKey(readonly* domObject)
+inline void* wrapperKey(readonly* wrappableObject)
{
- return domObject;
+ return wrappableObject;
}
JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, readonly*);
Modified: trunk/Source/WebCore/dom/WebKitNamedFlow.idl (196475 => 196476)
--- trunk/Source/WebCore/dom/WebKitNamedFlow.idl 2016-02-12 16:40:14 UTC (rev 196475)
+++ trunk/Source/WebCore/dom/WebKitNamedFlow.idl 2016-02-12 16:49:01 UTC (rev 196476)
@@ -31,10 +31,7 @@
NoInterfaceObject,
EventTarget,
GenerateIsReachable=ImplOwnerNodeRoot,
-] interface WebKitNamedFlow
-#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
-: EventTarget
-#endif
+] interface WebKitNamedFlow : EventTarget
{
readonly attribute DOMString name;
readonly attribute boolean overset;