diff options
Diffstat (limited to 'Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h')
-rw-r--r-- | Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h b/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h index 2aaad08..1f81970 100644 --- a/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h +++ b/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h @@ -28,6 +28,7 @@ #include "JSWrappable.h" #include <JavaScriptCore/JSRetainPtr.h> +#include <WebKit2/WKBundleScriptWorld.h> #include <string> #include <wtf/PassRefPtr.h> @@ -122,6 +123,9 @@ public: bool shouldCloseExtraWindowsAfterRunningTest() const { return m_shouldCloseExtraWindows; } + void evaluateScriptInIsolatedWorld(JSContextRef, unsigned worldID, JSStringRef script); + static unsigned worldIDForWorld(WKBundleScriptWorldRef); + private: static const double waitToDumpWatchdogTimerInterval; |