| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../inspector-test.js"></script> | 3 <script src="../inspector-test.js"></script> |
| 4 <script src="../isolated-filesystem-test.js"></script> | 4 <script src="../isolated-filesystem-test.js"></script> |
| 5 <script src="./persistence-test.js"></script> | 5 <script src="./persistence-test.js"></script> |
| 6 <script src="./automapping-test.js"></script> | 6 <script src="./automapping-test.js"></script> |
| 7 <script> | 7 <script> |
| 8 | 8 |
| 9 function test() | 9 function test() |
| 10 { | 10 { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 content: "0123456789", | 68 content: "0123456789", |
| 69 time: timestamp | 69 time: timestamp |
| 70 }, | 70 }, |
| 71 "modules/elements/module.json": elements_module_json, | 71 "modules/elements/module.json": elements_module_json, |
| 72 "modules/sources/module.json": sources_module_json | 72 "modules/sources/module.json": sources_module_json |
| 73 }); | 73 }); |
| 74 fs.reportCreated(onFileSystemCreated); | 74 fs.reportCreated(onFileSystemCreated); |
| 75 | 75 |
| 76 function onFileSystemCreated() | 76 function onFileSystemCreated() |
| 77 { | 77 { |
| 78 automappingTest.waitUntilMappingIsStabilized(InspectorTest.completeTest.
bind(InspectorTest)); | 78 automappingTest.waitUntilMappingIsStabilized().then(InspectorTest.comple
teTest.bind(InspectorTest)); |
| 79 } | 79 } |
| 80 } | 80 } |
| 81 </script> | 81 </script> |
| 82 </head> | 82 </head> |
| 83 <body onload="runTest()"> | 83 <body onload="runTest()"> |
| 84 <p>Verify that automapping is sane.</p> | 84 <p>Verify that automapping is sane.</p> |
| 85 </body> | 85 </body> |
| 86 </html> | 86 </html> |
| OLD | NEW |