| 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)
|
|
|