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

Unified Diff: Source/devtools/front_end/ExtensionServer.js

Issue 23514035: Add preprocessor to reloadOptions in chrome.devtools.inspectedWindow.reload(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 7 years, 3 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: Source/devtools/front_end/ExtensionServer.js
diff --git a/Source/devtools/front_end/ExtensionServer.js b/Source/devtools/front_end/ExtensionServer.js
index b0f0a2fb7ea5eb238cd9de15626e20e84a04245e..15a668c3cb01c5d7dd21572bf987259796e46d44 100644
--- a/Source/devtools/front_end/ExtensionServer.js
+++ b/Source/devtools/front_end/ExtensionServer.js
@@ -325,7 +325,8 @@ WebInspector.ExtensionServer.prototype = {
var injectedScript;
if (options.injectedScript)
injectedScript = "(function(){" + options.injectedScript + "})()";
- PageAgent.reload(!!options.ignoreCache, injectedScript);
+ var preprocessingScript = options.preprocessingScript;
+ PageAgent.reload(!!options.ignoreCache, injectedScript, preprocessingScript);
return this._status.OK();
},
« no previous file with comments | « LayoutTests/inspector/extensions/extensions-reload-expected.txt ('k') | Source/devtools/front_end/externs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698