| Index: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-absolute-paths.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-absolute-paths.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-absolute-paths.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..49696e2d0854660e8fd1773046408b2d290f6ac9
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-absolute-paths.html
|
| @@ -0,0 +1,38 @@
|
| +<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 app_js = {
|
| + content: "console.log('foo.js!');",
|
| + time: null
|
| + };
|
| +
|
| + var automappingTest = new InspectorTest.AutomappingTest(new WebInspector.Workspace());
|
| + automappingTest.addNetworkResources({
|
| + // Make sure main resource gets mapped.
|
| + "file:///usr/local/node/app.js": app_js,
|
| + });
|
| +
|
| + var fs = new InspectorTest.TestFileSystem("file:///usr/local/node");
|
| + InspectorTest.addFiles(fs, {
|
| + "app.js": app_js,
|
| + });
|
| + fs.reportCreated(onFileSystemCreated);
|
| +
|
| + function onFileSystemCreated()
|
| + {
|
| + automappingTest.waitUntilMappingIsStabilized(InspectorTest.completeTest.bind(InspectorTest));
|
| + }
|
| +}
|
| +</script>
|
| +</head>
|
| +<body onload="runTest()">
|
| +<p>Verify that automapping is capable of mapping file:// urls.</p>
|
| +</body>
|
| +</html>
|
|
|