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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html

Issue 2376583002: DevTools: remove WI.NetworkMapping.networkURL (Closed)
Patch Set: do not blackbox fs uiSourceCodes 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/elements/styles/update-locations-on-filesystem-scss-load.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/compiler-script-mapping.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html b/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
index 528c6afab6237c784a507e471d1dfd01e07c66a8..d9cbfb5a35b63cfb92b375bb1180e8b57e0b01e7 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
@@ -52,15 +52,13 @@ function test()
function uiSourceCodeAdded(event)
{
var uiSourceCode = event.data;
- var networkURL = InspectorTest.testNetworkMapping.networkURL(uiSourceCode);
- InspectorTest.addResult("UISourceCodeAdded: [" + uiSourceCode.project().type() + "] " + networkURL);
+ InspectorTest.addResult("UISourceCodeAdded: [" + uiSourceCode.project().type() + "] " + uiSourceCode.url());
}
function uiSourceCodeRemoved(event)
{
var uiSourceCode = event.data;
- var networkURL = InspectorTest.testNetworkMapping.networkURL(uiSourceCode);
- InspectorTest.addResult("UISourceCodeRemoved: [" + uiSourceCode.project().type() + "] " + networkURL);
+ InspectorTest.addResult("UISourceCodeRemoved: [" + uiSourceCode.project().type() + "] " + uiSourceCode.url());
}
InspectorTest.runTestSuite([
@@ -254,21 +252,11 @@ function test()
function firstUISourceCodeAdded(uiSourceCode)
{
- var networkURL = InspectorTest.testNetworkMapping.networkURL(uiSourceCode);
- if (!networkURL) {
- InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(firstUISourceCodeAdded);
- return;
- }
InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(secondUISourceCodeAdded);
}
function secondUISourceCodeAdded(uiSourceCode)
{
- var networkURL = InspectorTest.testNetworkMapping.networkURL(uiSourceCode);
- if (!networkURL) {
- InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(secondUISourceCodeAdded);
- return;
- }
afterScriptAdded();
}
@@ -330,12 +318,7 @@ function test()
function firstUISourceCodeAdded(uiSourceCode)
{
- InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(secondUISourceCodeAdded);
- }
-
- function secondUISourceCodeAdded(uiSourceCode)
- {
- afterScriptAdded();
+ InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(afterScriptAdded);
}
function afterScriptAdded(uiSourceCode)
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698