| Index: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/filesystem-delete-file.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/filesystem-delete-file.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/filesystem-delete-file.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3d4fae14c71ce7398f5155cc7889f91d6f5ed3ad
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/filesystem-delete-file.html
|
| @@ -0,0 +1,31 @@
|
| +<html>
|
| +<head>
|
| +<script src="../inspector-test.js"></script>
|
| +<script src="../isolated-filesystem-test.js"></script>
|
| +<script src="./persistence-test.js"></script>
|
| +<script src="./automapping-test.js"></script>
|
| +<script>
|
| +
|
| +function test()
|
| +{
|
| + var fs = new InspectorTest.TestFileSystem("file:///var/www");
|
| + InspectorTest.addFiles(fs, {
|
| + "script.js": { content: "testme" },
|
| + "bar.js": { content: "another" },
|
| + });
|
| + fs.reportCreated(function() { });
|
| + InspectorTest.waitForUISourceCode("script.js").then(onUISourceCode);
|
| +
|
| + function onUISourceCode(uiSourceCode) {
|
| + InspectorTest.addResult("BEFORE:\n" + fs.dumpAsText());
|
| + uiSourceCode.remove();
|
| + InspectorTest.addResult("\nAFTER:\n" + fs.dumpAsText());
|
| + InspectorTest.completeTest();
|
| + }
|
| +}
|
| +</script>
|
| +</head>
|
| +<body onload="runTest()">
|
| +<p>Verifies that uiSourceCode.delete actually deltes file from IsolatedFileSystem.</p>
|
| +</body>
|
| +</html>
|
|
|