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