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

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

Issue 2274233002: [Devtools] Fix reload behavior when devtools is open (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: new methods Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector-protocol/reload-memory-cache.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-protocol/inspector-protocol-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/inspector-protocol-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/inspector-protocol-test.js
index ed9a774c3961d4e7949bc835463e4a495d4e50e5..aafade0747146bac91277505c70c5315b7585680 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/inspector-protocol-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/inspector-protocol-test.js
@@ -113,6 +113,11 @@ function navigateProtocolTest(url)
window.location.replace(url);
}
+function prepareForReload()
+{
+ window.location += "#" + reloadParam + lastFrontendEvalId;
+}
+
function openInspector()
{
var scriptTags = document.getElementsByTagName("script");
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector-protocol/reload-memory-cache.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698