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

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

Issue 697563003: DevTools: do not show compiled script while source maps are being loaded. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: w/ tests Created 6 years, 2 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: LayoutTests/http/tests/inspector/debugger-test.js
diff --git a/LayoutTests/http/tests/inspector/debugger-test.js b/LayoutTests/http/tests/inspector/debugger-test.js
index 0dde59f0a3e2a6e9fe65ad9212e138c63bb686ee..6134cbb51494dc3d68888fc8b495b26912a823a5 100644
--- a/LayoutTests/http/tests/inspector/debugger-test.js
+++ b/LayoutTests/http/tests/inspector/debugger-test.js
@@ -311,6 +311,8 @@ InspectorTest.waitForScriptSource = function(scriptName, callback)
var panel = WebInspector.panels.sources;
var uiSourceCodes = panel._workspace.uiSourceCodes();
for (var i = 0; i < uiSourceCodes.length; ++i) {
+ if (uiSourceCodes[i].project().type() === WebInspector.projectTypes.Service)
+ continue;
if (uiSourceCodes[i].name() === scriptName) {
callback(uiSourceCodes[i]);
return;

Powered by Google App Engine
This is Rietveld 408576698