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

Unified Diff: third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html

Issue 2795193003: DevTools: carefully cleanup script UISourceCodes (Closed)
Patch Set: address comments Created 3 years, 8 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/inspector-enabled/sources/debugger/linkifier.html
diff --git a/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html b/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html
index 26900aa6e03c7a0bb1936f177fc11f5ef02389aa..28034767c3a773203b6350e83103d037d473af82 100644
--- a/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html
+++ b/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html
@@ -43,9 +43,7 @@ function test()
function debuggerTest()
{
- var scripts = InspectorTest.debuggerModel.scripts;
- for (var scriptId in scripts) {
- var scriptCandidate = scripts[scriptId];
+ for (var scriptCandidate of InspectorTest.debuggerModel.scripts()) {
if (scriptCandidate.sourceURL === InspectorTest.mainTarget.inspectedURL() && scriptCandidate.lineOffset === 4) {
script = scriptCandidate;
break;

Powered by Google App Engine
This is Rietveld 408576698