| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-snippet-checkContent.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-snippet-checkContent.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-snippet-checkContent.html
|
| deleted file mode 100644
|
| index 3025548b79d21914345aca0cebe714d8493805bd..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-snippet-checkContent.html
|
| +++ /dev/null
|
| @@ -1,47 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../../http/tests/inspector/debugger-test.js"></script>
|
| -<script>
|
| -function startWorker()
|
| -{
|
| - var workerScript = "postMessage('Done.');";
|
| - var blob = new Blob([workerScript], { type: "text/javascript" });
|
| - var worker = new Worker(URL.createObjectURL(blob));
|
| -}
|
| -
|
| -function test()
|
| -{
|
| - var uiSourceCode;
|
| -
|
| - window.confirm = confirmOverride;
|
| -
|
| - Snippets.scriptSnippetModel.project().createFile("", null, "", onCreated.bind(this));
|
| - function onCreated(usc)
|
| - {
|
| - uiSourceCode = usc;
|
| - uiSourceCode.requestContent().then(onContentAvailable);
|
| - }
|
| -
|
| - function onContentAvailable()
|
| - {
|
| - uiSourceCode.setWorkingCopy("var a = 0;");
|
| - uiSourceCode.checkContentUpdated(true, onUpdated);
|
| - }
|
| -
|
| - function confirmOverride()
|
| - {
|
| - InspectorTest.addResult("FAILED: confirmation dialog appeared");
|
| - }
|
| -
|
| - function onUpdated()
|
| - {
|
| - InspectorTest.completeTest();
|
| - }
|
| -}
|
| -</script>
|
| -</head>
|
| -<body onload="runTest()">
|
| -<p>Tests that checking content on the dirty snippet does not wipe it out.</p>
|
| -</body>
|
| -</html>
|
|
|