Diff
Modified: trunk/Source/WebCore/ChangeLog (202217 => 202218)
--- trunk/Source/WebCore/ChangeLog 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/ChangeLog 2016-06-20 00:03:50 UTC (rev 202218)
@@ -1,3 +1,57 @@
+2016-06-19 Gavin & Ellie Barraclough <barraclo...@apple.com>
+
+ Remove hasStaticPropertyTable (part 5: done!)
+ https://bugs.webkit.org/show_bug.cgi?id=158431
+
+ Reviewed by Chris Dumez.
+
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateHeader):
+ - remove hasStaticPropertyTable.
+ * bindings/scripts/test/JS/JSInterfaceName.h:
+ (WebCore::JSInterfaceName::create):
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
+ (WebCore::JSTestActiveDOMObject::create):
+ * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h:
+ (WebCore::JSTestClassWithJSBuiltinConstructor::create):
+ * bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h:
+ (WebCore::JSTestCustomConstructorWithNoInterfaceObject::create):
+ * bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
+ (WebCore::JSTestCustomNamedGetter::create):
+ * bindings/scripts/test/JS/JSTestEventConstructor.h:
+ (WebCore::JSTestEventConstructor::create):
+ * bindings/scripts/test/JS/JSTestEventTarget.h:
+ (WebCore::JSTestEventTarget::create):
+ * bindings/scripts/test/JS/JSTestException.h:
+ (WebCore::JSTestException::create):
+ * bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
+ (WebCore::JSTestGenerateIsReachable::create):
+ * bindings/scripts/test/JS/JSTestGlobalObject.h:
+ * bindings/scripts/test/JS/JSTestInterface.h:
+ * bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h:
+ (WebCore::JSTestJSBuiltinConstructor::create):
+ * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
+ (WebCore::JSTestMediaQueryListListener::create):
+ * bindings/scripts/test/JS/JSTestNamedConstructor.h:
+ (WebCore::JSTestNamedConstructor::create):
+ * bindings/scripts/test/JS/JSTestNode.h:
+ * bindings/scripts/test/JS/JSTestNondeterministic.h:
+ (WebCore::JSTestNondeterministic::create):
+ * bindings/scripts/test/JS/JSTestObj.h:
+ (WebCore::JSTestObj::create):
+ * bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
+ (WebCore::JSTestOverloadedConstructors::create):
+ * bindings/scripts/test/JS/JSTestOverrideBuiltins.h:
+ (WebCore::JSTestOverrideBuiltins::create):
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
+ (WebCore::JSTestSerializedScriptValueInterface::create):
+ * bindings/scripts/test/JS/JSTestTypedefs.h:
+ (WebCore::JSTestTypedefs::create):
+ * bindings/scripts/test/JS/JSattribute.h:
+ (WebCore::JSattribute::create):
+ * bindings/scripts/test/JS/JSreadonly.h:
+ (WebCore::JSreadonly::create):
+
2016-06-19 Youenn Fablet <youenn.fab...@crf.canon.fr>
The JSBuiltinConstructor feature can't handle a JS interface extending an other JS interface
Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2016-06-20 00:03:50 UTC (rev 202218)
@@ -1154,9 +1154,6 @@
if (InstancePropertyCount($interface) > 0) {
$structureFlags{"JSC::HasStaticPropertyTable"} = 1;
- push(@headerContent, " static const bool hasStaticPropertyTable = true;\n\n");
- } else {
- push(@headerContent, " static const bool hasStaticPropertyTable = false;\n\n");
}
# Prototype
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static InterfaceName* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = true;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestActiveDOMObject* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestClassWithJSBuiltinConstructor* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestCustomConstructorWithNoInterfaceObject* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestCustomNamedGetter* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -38,8 +38,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestEventConstructor* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -37,8 +37,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestEventTarget* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -37,8 +37,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = true;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestException* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestGenerateIsReachable* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -40,8 +40,6 @@
static const bool needsDestruction = false;
- static const bool hasStaticPropertyTable = true;
-
static TestGlobalObject* toWrapped(JSC::JSValue);
static void destroy(JSC::JSCell*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -38,8 +38,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestInterface* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -34,8 +34,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static void destroy(JSC::JSCell*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestMediaQueryListListener* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestNamedConstructor* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestNondeterministic* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = true;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestObj* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestOverloadedConstructors* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestOverrideBuiltins* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -38,8 +38,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestSerializedScriptValueInterface* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = true;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static TestTypedefs* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -37,8 +37,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = true;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static attribute* toWrapped(JSC::JSValue);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h (202217 => 202218)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h 2016-06-19 22:19:53 UTC (rev 202217)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h 2016-06-20 00:03:50 UTC (rev 202218)
@@ -36,8 +36,6 @@
return ptr;
}
- static const bool hasStaticPropertyTable = false;
-
static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
static JSC::JSObject* prototype(JSC::VM&, JSC::JSGlobalObject*);
static readonly* toWrapped(JSC::JSValue);