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

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

Issue 2873843003: [DevTools] Restore tree selection after reload (Closed)
Patch Set: [DevTools] Restore tree selection after reload Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/resources/resources-panel-selection-on-reload.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
index e500367decaa3922457f52a6130eef958895e30b..603ca5c33488ffed390b68044ac82a763eead7cc 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
@@ -530,31 +530,31 @@ InspectorTest.navigatePromise = function(url)
return promise;
}
-InspectorTest.hardReloadPage = function(callback, scriptToEvaluateOnLoad, scriptPreprocessor)
+InspectorTest.hardReloadPage = function(callback, scriptToEvaluateOnLoad)
{
- InspectorTest._innerReloadPage(true, callback, scriptToEvaluateOnLoad, scriptPreprocessor);
+ InspectorTest._innerReloadPage(true, callback, scriptToEvaluateOnLoad);
}
-InspectorTest.reloadPage = function(callback, scriptToEvaluateOnLoad, scriptPreprocessor)
+InspectorTest.reloadPage = function(callback, scriptToEvaluateOnLoad)
{
- InspectorTest._innerReloadPage(false, callback, scriptToEvaluateOnLoad, scriptPreprocessor);
+ InspectorTest._innerReloadPage(false, callback, scriptToEvaluateOnLoad);
}
-InspectorTest.reloadPagePromise = function(scriptToEvaluateOnLoad, scriptPreprocessor)
+InspectorTest.reloadPagePromise = function(scriptToEvaluateOnLoad)
{
var fulfill;
var promise = new Promise(x => fulfill = x);
- InspectorTest.reloadPage(fulfill, scriptToEvaluateOnLoad, scriptPreprocessor);
+ InspectorTest.reloadPage(fulfill, scriptToEvaluateOnLoad);
return promise;
}
-InspectorTest._innerReloadPage = function(hardReload, callback, scriptToEvaluateOnLoad, scriptPreprocessor)
+InspectorTest._innerReloadPage = function(hardReload, callback, scriptToEvaluateOnLoad)
{
InspectorTest._pageLoadedCallback = InspectorTest.safeWrap(callback);
if (UI.panels.network)
UI.panels.network._networkLogView.reset();
- InspectorTest.PageAgent.reload(hardReload, scriptToEvaluateOnLoad, scriptPreprocessor);
+ InspectorTest.resourceTreeModel.reloadPage(hardReload, scriptToEvaluateOnLoad);
}
InspectorTest.pageLoaded = function()
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/resources/resources-panel-selection-on-reload.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698