| Index: LayoutTests/inspector/sources/debugger/ui-source-code-display-name.html
|
| diff --git a/LayoutTests/inspector/sources/debugger/ui-source-code-display-name.html b/LayoutTests/inspector/sources/debugger/ui-source-code-display-name.html
|
| deleted file mode 100644
|
| index f05c2d7ed6f724ce9766da0f26338b72ece50b4d..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/sources/debugger/ui-source-code-display-name.html
|
| +++ /dev/null
|
| @@ -1,46 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| -<script>
|
| -function test()
|
| -{
|
| -
|
| - function createContentProvider(url)
|
| - {
|
| - var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, "");
|
| - contentProvider.requestContent = function(callback)
|
| - {
|
| - InspectorTest.addResult("Source requested for " + url);
|
| - callback("");
|
| - };
|
| - return contentProvider;
|
| - }
|
| -
|
| - var workspace = new WebInspector.Workspace();
|
| - workspace.networkProject = new WebInspector.NetworkProject(InspectorTest.mainTarget, workspace, WebInspector.networkMapping);
|
| -
|
| - function addNetworkFile(url)
|
| - {
|
| - return workspace.networkProject.addFileForURL(url, createContentProvider(url));
|
| - }
|
| -
|
| - function dumpUISourceCodeDisplayName(url)
|
| - {
|
| - var uiSourceCode = addNetworkFile(url);
|
| - InspectorTest.addResult("UISourceCode display name for url \"" + url + "\" is \"" + WebInspector.TabbedEditorContainer.prototype._titleForFile(uiSourceCode) + "\".");
|
| - }
|
| -
|
| - const baseURL = "http://localhost:8080/folder/";
|
| - dumpUISourceCodeDisplayName(baseURL + "filename?parameter=value&nnn=1");
|
| - dumpUISourceCodeDisplayName(baseURL + "very-long-filename-123456?nn=1");
|
| - dumpUISourceCodeDisplayName(baseURL + "too-long-filename-1234567890?nn=1");
|
| - dumpUISourceCodeDisplayName(baseURL + "long-filename?parameter=value&nnn=1");
|
| - dumpUISourceCodeDisplayName(baseURL + "too-long-filename-1234567890?parameter=value&nnn=1");
|
| - InspectorTest.completeTest();
|
| -};
|
| -</script>
|
| -</head>
|
| -<body onload="runTest()">
|
| -<p>Tests UISourceCode display name.</p>
|
| -</body>
|
| -</html>
|
|
|