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

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

Issue 13816005: Add preprocessor to reloadOptions in chrome.devtools.inspectedWindow.reload(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove unnecessary include Created 7 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: Source/devtools/front_end/ExtensionServer.js
diff --git a/Source/devtools/front_end/ExtensionServer.js b/Source/devtools/front_end/ExtensionServer.js
index b610d1b17b5c6c4f2f2b78c6f46df0c667b927b4..bf57fb187aa986f1506d79b1f20ef3928e0fce08 100644
--- a/Source/devtools/front_end/ExtensionServer.js
+++ b/Source/devtools/front_end/ExtensionServer.js
@@ -326,7 +326,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