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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/extensions-test.js

Issue 2080173003: DevTools: pass theme name to the extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test rebaselined Created 4 years, 5 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/LayoutTests/http/tests/inspector/extensions-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/extensions-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/extensions-test.js
index b5d0b0431d7ad51c885e10c779eef1beb5b1b692..29bcfbe8c9a0a01a61488cd47157e32e5c5899da 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/extensions-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/extensions-test.js
@@ -12,7 +12,7 @@ function extensionFunctions()
var initialize_ExtensionsTest = function()
{
-WebInspector.extensionServer._overridePlatformExtensionAPIForTest = function(extensionInfo, inspectedTabId)
+WebInspector.extensionServer._overridePlatformExtensionAPIForTest = function(extensionInfo, inspectedTabId, themeName)
{
WebInspector.extensionServer._registerHandler("evaluateForTestInFrontEnd", onEvaluate);
@@ -20,6 +20,7 @@ WebInspector.extensionServer._overridePlatformExtensionAPIForTest = function(ext
{
window.webInspector = coreAPI;
window._extensionServerForTests = extensionServer;
+ coreAPI.panels.themeName = "themeNameForTest";
}
return platformExtensionAPI.toString();
}

Powered by Google App Engine
This is Rietveld 408576698