Chromium Code Reviews| Index: LayoutTests/inspector/sources/debugger/network-uisourcecode-provider.html |
| diff --git a/LayoutTests/inspector/sources/debugger/network-uisourcecode-provider.html b/LayoutTests/inspector/sources/debugger/network-uisourcecode-provider.html |
| index 2245fff335270b5cdcd7ef9f0c7f2d6fae740014..eeb2e87ffef8882d65e87d901a6edae1276c6669 100644 |
| --- a/LayoutTests/inspector/sources/debugger/network-uisourcecode-provider.html |
| +++ b/LayoutTests/inspector/sources/debugger/network-uisourcecode-provider.html |
| @@ -87,24 +87,13 @@ function test() |
| } |
| }, |
| - function testScriptResource(next) |
| + function testScriptResourceAndVMScript(next) |
| { |
| createNetworkUISourceCodeProvider(); |
| - InspectorTest.addResult("Creating resource."); |
| InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(uiSourceCodeAdded); |
| + InspectorTest.addResult("Creating script resource."); |
| createResourceMock(WebInspector.resourceTypes.Script, "<script resource content>"); |
| - |
| - function uiSourceCodeAdded(uiSourceCode) |
| - { |
| - setTimeout(function() { InspectorTest.dumpUISourceCode(uiSourceCode, next); }); |
| - } |
| - }, |
| - |
| - function testVMScript(next) |
| - { |
| - createNetworkUISourceCodeProvider(); |
| InspectorTest.addResult("Creating script."); |
| - InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(uiSourceCodeAdded); |
| createScriptMock("<script content>"); |
| function uiSourceCodeAdded(uiSourceCode) |
| @@ -113,19 +102,6 @@ function test() |
| } |
| }, |
| - function testStylesheetResource(next) |
|
pfeldman
2015/08/12 23:38:42
Why is this removed?
dgozman
2015/08/13 18:27:26
Because adding stylesheet resource does not affect
pfeldman
2015/08/13 19:22:33
Does this mean that we no longer show stylesheets
|
| - { |
| - createNetworkUISourceCodeProvider(); |
| - InspectorTest.addResult("Creating resource."); |
| - InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(uiSourceCodeAdded); |
| - createResourceMock(WebInspector.resourceTypes.Stylesheet, "<stylesheet resource content>"); |
| - |
| - function uiSourceCodeAdded(uiSourceCode) |
| - { |
| - setTimeout(function() { InspectorTest.dumpUISourceCode(uiSourceCode, next); }); |
| - } |
| - }, |
| - |
| function testRemoveStyleSheetFromModelWithComplexURL(next) |
| { |
| var mockStyleSheetHeader = createMockStyleSheetHeader("http://example.com/foo.css"); |
| @@ -143,6 +119,9 @@ function test() |
| { |
| createNetworkUISourceCodeProvider(); |
| InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(uiSourceCodeAdded); |
| + InspectorTest.addResult("Creating stylesheet resource."); |
| + createResourceMock(WebInspector.resourceTypes.Stylesheet, "<stylesheet resource content>"); |
| + |
| WebInspector.CSSStyleModel.fromTarget(target)._styleSheetAdded(mockStyleSheetHeader); |
| function uiSourceCodeAdded(uiSourceCode) |