Diff
Modified: trunk/Source/WebCore/ChangeLog (188436 => 188437)
--- trunk/Source/WebCore/ChangeLog 2015-08-14 04:53:20 UTC (rev 188436)
+++ trunk/Source/WebCore/ChangeLog 2015-08-14 05:23:34 UTC (rev 188437)
@@ -1,3 +1,25 @@
+2015-08-13 Simon Fraser <[email protected]>
+
+ Generated files don't all need to include ScriptExecutionContext.h
+ https://bugs.webkit.org/show_bug.cgi?id=148011
+
+ Reviewed by Alexey Proskuryakov.
+
+ Generated files which are not callbacks or constructors do not need to include
+ ScriptExecutionContext.h.
+
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateImplementation): Deleted.
+ * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+ * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+ * bindings/scripts/test/JS/JSTestException.cpp:
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ * bindings/scripts/test/JS/JSTestNondeterministic.cpp:
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ * bindings/scripts/test/JS/JSattribute.cpp:
+
2015-08-13 Commit Queue <[email protected]>
Unreviewed, rolling out r188428.
Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (188436 => 188437)
--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2015-08-14 04:53:20 UTC (rev 188436)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2015-08-14 05:23:34 UTC (rev 188437)
@@ -2240,7 +2240,6 @@
push(@implContent, " return throwGetterTypeError(*exec, \"$interfaceName\", \"$name\");\n");
push(@implContent, " }\n");
}
- $implIncludes{"ScriptExecutionContext.h"} = 1;
}
my @arguments = ();
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp (188436 => 188437)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp 2015-08-14 04:53:20 UTC (rev 188436)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp 2015-08-14 05:23:34 UTC (rev 188437)
@@ -24,7 +24,6 @@
#include "ExceptionCode.h"
#include "JSDOMBinding.h"
#include "JSNode.h"
-#include "ScriptExecutionContext.h"
#include "TestActiveDOMObject.h"
#include <runtime/Error.h>
#include <wtf/GetPtr.h>
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp (188436 => 188437)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp 2015-08-14 04:53:20 UTC (rev 188436)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp 2015-08-14 05:23:34 UTC (rev 188437)
@@ -23,7 +23,6 @@
#include "JSDOMBinding.h"
#include "JSDictionary.h"
-#include "ScriptExecutionContext.h"
#include "TestEventConstructor.h"
#include "URL.h"
#include <runtime/Error.h>
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp (188436 => 188437)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp 2015-08-14 04:53:20 UTC (rev 188436)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp 2015-08-14 05:23:34 UTC (rev 188437)
@@ -22,7 +22,6 @@
#include "JSTestException.h"
#include "JSDOMBinding.h"
-#include "ScriptExecutionContext.h"
#include "TestException.h"
#include "URL.h"
#include <runtime/JSString.h>
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp (188436 => 188437)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp 2015-08-14 04:53:20 UTC (rev 188436)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp 2015-08-14 05:23:34 UTC (rev 188437)
@@ -26,7 +26,6 @@
#include "ExceptionCode.h"
#include "JSDOMBinding.h"
-#include "ScriptExecutionContext.h"
#include "TestInterface.h"
#include "TestObj.h"
#include "TestSupplemental.h"
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp (188436 => 188437)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp 2015-08-14 04:53:20 UTC (rev 188436)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp 2015-08-14 05:23:34 UTC (rev 188437)
@@ -23,7 +23,6 @@
#include "ExceptionCode.h"
#include "JSDOMBinding.h"
-#include "ScriptExecutionContext.h"
#include "TestNondeterministic.h"
#include "URL.h"
#include <runtime/Error.h>
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (188436 => 188437)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp 2015-08-14 04:53:20 UTC (rev 188436)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp 2015-08-14 05:23:34 UTC (rev 188437)
@@ -45,7 +45,6 @@
#include "SVGDocument.h"
#include "SVGPoint.h"
#include "SVGStaticPropertyTearOff.h"
-#include "ScriptExecutionContext.h"
#include "ScriptProfile.h"
#include "SerializedScriptValue.h"
#include "Settings.h"
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp (188436 => 188437)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp 2015-08-14 04:53:20 UTC (rev 188436)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp 2015-08-14 05:23:34 UTC (rev 188437)
@@ -27,7 +27,6 @@
#include "JSDOMBinding.h"
#include "JSMessagePort.h"
#include "MessagePort.h"
-#include "ScriptExecutionContext.h"
#include "SerializedScriptValue.h"
#include "TestSerializedScriptValueInterface.h"
#include <runtime/JSArray.h>
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (188436 => 188437)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp 2015-08-14 04:53:20 UTC (rev 188436)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp 2015-08-14 05:23:34 UTC (rev 188437)
@@ -31,7 +31,6 @@
#include "JSTestEventTarget.h"
#include "JSTestSubObj.h"
#include "SVGPoint.h"
-#include "ScriptExecutionContext.h"
#include "SerializedScriptValue.h"
#include "TestTypedefs.h"
#include "URL.h"
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp (188436 => 188437)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp 2015-08-14 04:53:20 UTC (rev 188436)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp 2015-08-14 05:23:34 UTC (rev 188437)
@@ -22,7 +22,6 @@
#include "JSattribute.h"
#include "JSDOMBinding.h"
-#include "ScriptExecutionContext.h"
#include "URL.h"
#include "attribute.h"
#include <runtime/JSString.h>