Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: third_party/WebKit/Source/web/WebTestingSupport.cpp

Issue 1915373002: Implement empty WorkerInternals interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trials-in-service-workers
Patch Set: update expectations Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebTestingSupport.cpp
diff --git a/third_party/WebKit/Source/web/WebTestingSupport.cpp b/third_party/WebKit/Source/web/WebTestingSupport.cpp
index f89bc23af8c6f90d68b0560e05e8fe98e5a40cc2..ef1623b6b95377ca3525c2d4fede9cd106571bc4 100644
--- a/third_party/WebKit/Source/web/WebTestingSupport.cpp
+++ b/third_party/WebKit/Source/web/WebTestingSupport.cpp
@@ -51,4 +51,11 @@ void WebTestingSupport::resetInternalsObject(WebLocalFrame* frame)
WebCoreTestSupport::resetInternalsObject(frame->mainWorldScriptContext());
}
+void WebTestingSupport::injectInternalsObject(v8::Local<v8::Context> context)
+{
+ V8InternalsPartial::initialize();
+ v8::HandleScope handleScope(v8::Isolate::GetCurrent());
+ WebCoreTestSupport::injectInternalsObject(context);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698