summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-09-29 17:04:16 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-29 17:04:16 +0200
commit8cb789d061e2aa14b5b4c829ce153dde372729cc (patch)
tree52f1453c8f228daff6cf0d051bef68117da93a17
parentbe055b3ddd7fc65702b2938b13fea3ba6a1aba45 (diff)
downloadserenity-8cb789d061e2aa14b5b4c829ce153dde372729cc.zip
LibWeb: Remove a bunch of unnecessary <LibJS/Interpreter.h> includes
-rw-r--r--Libraries/LibWeb/Bindings/EventListenerWrapper.cpp1
-rw-r--r--Libraries/LibWeb/Bindings/LocationObject.cpp1
-rw-r--r--Libraries/LibWeb/Bindings/NavigatorObject.cpp1
-rw-r--r--Libraries/LibWeb/Bindings/WindowObject.cpp1
-rw-r--r--Libraries/LibWeb/Bindings/XMLHttpRequestConstructor.cpp1
-rw-r--r--Libraries/LibWeb/Bindings/XMLHttpRequestPrototype.cpp1
-rw-r--r--Libraries/LibWeb/CodeGenerators/WrapperGenerator.cpp1
-rw-r--r--Libraries/LibWeb/DOM/Node.cpp1
-rw-r--r--Libraries/LibWeb/DOM/Timer.cpp1
-rw-r--r--Libraries/LibWeb/DOM/XMLHttpRequest.cpp1
-rw-r--r--Libraries/LibWeb/HTML/HTMLScriptElement.cpp1
11 files changed, 0 insertions, 11 deletions
diff --git a/Libraries/LibWeb/Bindings/EventListenerWrapper.cpp b/Libraries/LibWeb/Bindings/EventListenerWrapper.cpp
index 9a716702fd..2f9cbac2c2 100644
--- a/Libraries/LibWeb/Bindings/EventListenerWrapper.cpp
+++ b/Libraries/LibWeb/Bindings/EventListenerWrapper.cpp
@@ -24,7 +24,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <LibJS/Interpreter.h>
#include <LibJS/Runtime/Function.h>
#include <LibJS/Runtime/GlobalObject.h>
#include <LibWeb/Bindings/EventListenerWrapper.h>
diff --git a/Libraries/LibWeb/Bindings/LocationObject.cpp b/Libraries/LibWeb/Bindings/LocationObject.cpp
index 6d9234fa2f..4826209981 100644
--- a/Libraries/LibWeb/Bindings/LocationObject.cpp
+++ b/Libraries/LibWeb/Bindings/LocationObject.cpp
@@ -26,7 +26,6 @@
#include <AK/FlyString.h>
#include <AK/StringBuilder.h>
-#include <LibJS/Interpreter.h>
#include <LibWeb/Bindings/LocationObject.h>
#include <LibWeb/Bindings/WindowObject.h>
#include <LibWeb/DOM/Document.h>
diff --git a/Libraries/LibWeb/Bindings/NavigatorObject.cpp b/Libraries/LibWeb/Bindings/NavigatorObject.cpp
index 33e7ab0a21..248097d8e3 100644
--- a/Libraries/LibWeb/Bindings/NavigatorObject.cpp
+++ b/Libraries/LibWeb/Bindings/NavigatorObject.cpp
@@ -25,7 +25,6 @@
*/
#include <AK/FlyString.h>
-#include <LibJS/Interpreter.h>
#include <LibJS/Runtime/Array.h>
#include <LibJS/Runtime/GlobalObject.h>
#include <LibWeb/Bindings/NavigatorObject.h>
diff --git a/Libraries/LibWeb/Bindings/WindowObject.cpp b/Libraries/LibWeb/Bindings/WindowObject.cpp
index 77178514b2..714ef9be4e 100644
--- a/Libraries/LibWeb/Bindings/WindowObject.cpp
+++ b/Libraries/LibWeb/Bindings/WindowObject.cpp
@@ -30,7 +30,6 @@
#include <AK/Function.h>
#include <AK/String.h>
#include <AK/Utf8View.h>
-#include <LibJS/Interpreter.h>
#include <LibJS/Runtime/Error.h>
#include <LibJS/Runtime/Function.h>
#include <LibJS/Runtime/Shape.h>
diff --git a/Libraries/LibWeb/Bindings/XMLHttpRequestConstructor.cpp b/Libraries/LibWeb/Bindings/XMLHttpRequestConstructor.cpp
index f66f827034..943fd0be02 100644
--- a/Libraries/LibWeb/Bindings/XMLHttpRequestConstructor.cpp
+++ b/Libraries/LibWeb/Bindings/XMLHttpRequestConstructor.cpp
@@ -25,7 +25,6 @@
*/
#include <LibJS/Heap/Heap.h>
-#include <LibJS/Interpreter.h>
#include <LibJS/Runtime/GlobalObject.h>
#include <LibJS/Runtime/Shape.h>
#include <LibWeb/Bindings/WindowObject.h>
diff --git a/Libraries/LibWeb/Bindings/XMLHttpRequestPrototype.cpp b/Libraries/LibWeb/Bindings/XMLHttpRequestPrototype.cpp
index 7286d10f50..f8110a8c74 100644
--- a/Libraries/LibWeb/Bindings/XMLHttpRequestPrototype.cpp
+++ b/Libraries/LibWeb/Bindings/XMLHttpRequestPrototype.cpp
@@ -25,7 +25,6 @@
*/
#include <AK/Function.h>
-#include <LibJS/Interpreter.h>
#include <LibJS/Runtime/Error.h>
#include <LibJS/Runtime/GlobalObject.h>
#include <LibWeb/Bindings/XMLHttpRequestPrototype.h>
diff --git a/Libraries/LibWeb/CodeGenerators/WrapperGenerator.cpp b/Libraries/LibWeb/CodeGenerators/WrapperGenerator.cpp
index 22e4075d33..d224249f81 100644
--- a/Libraries/LibWeb/CodeGenerators/WrapperGenerator.cpp
+++ b/Libraries/LibWeb/CodeGenerators/WrapperGenerator.cpp
@@ -435,7 +435,6 @@ void generate_implementation(const IDL::Interface& interface)
auto& wrapper_base_class = interface.wrapper_base_class;
out() << "#include <AK/FlyString.h>";
- out() << "#include <LibJS/Interpreter.h>";
out() << "#include <LibJS/Runtime/Array.h>";
out() << "#include <LibJS/Runtime/Value.h>";
out() << "#include <LibJS/Runtime/GlobalObject.h>";
diff --git a/Libraries/LibWeb/DOM/Node.cpp b/Libraries/LibWeb/DOM/Node.cpp
index 3e4c696b74..2a1852fa5b 100644
--- a/Libraries/LibWeb/DOM/Node.cpp
+++ b/Libraries/LibWeb/DOM/Node.cpp
@@ -26,7 +26,6 @@
#include <AK/StringBuilder.h>
#include <LibJS/AST.h>
-#include <LibJS/Interpreter.h>
#include <LibJS/Runtime/Function.h>
#include <LibJS/Runtime/ScriptFunction.h>
#include <LibWeb/Bindings/EventWrapper.h>
diff --git a/Libraries/LibWeb/DOM/Timer.cpp b/Libraries/LibWeb/DOM/Timer.cpp
index 5b3ac7d572..a9bf2dcd4b 100644
--- a/Libraries/LibWeb/DOM/Timer.cpp
+++ b/Libraries/LibWeb/DOM/Timer.cpp
@@ -25,7 +25,6 @@
*/
#include <LibCore/Timer.h>
-#include <LibJS/Interpreter.h>
#include <LibJS/Runtime/Function.h>
#include <LibWeb/DOM/Timer.h>
#include <LibWeb/DOM/Window.h>
diff --git a/Libraries/LibWeb/DOM/XMLHttpRequest.cpp b/Libraries/LibWeb/DOM/XMLHttpRequest.cpp
index 12d28c6089..9829cefac4 100644
--- a/Libraries/LibWeb/DOM/XMLHttpRequest.cpp
+++ b/Libraries/LibWeb/DOM/XMLHttpRequest.cpp
@@ -24,7 +24,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <LibJS/Interpreter.h>
#include <LibJS/Runtime/Function.h>
#include <LibWeb/Bindings/EventWrapper.h>
#include <LibWeb/Bindings/EventWrapperFactory.h>
diff --git a/Libraries/LibWeb/HTML/HTMLScriptElement.cpp b/Libraries/LibWeb/HTML/HTMLScriptElement.cpp
index 21d5ff1124..011778b2a6 100644
--- a/Libraries/LibWeb/HTML/HTMLScriptElement.cpp
+++ b/Libraries/LibWeb/HTML/HTMLScriptElement.cpp
@@ -25,7 +25,6 @@
*/
#include <AK/StringBuilder.h>
-#include <LibJS/Interpreter.h>
#include <LibJS/Parser.h>
#include <LibWeb/DOM/Document.h>
#include <LibWeb/DOM/Text.h>