Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / profiler / temp-storage-cleaner.html
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script>
5
6 function test()
7 {
8     WebInspector.inspectorView.showPanel("profiles");
9     var cleaner = new WebInspector.TempStorageCleaner();
10     function finish()
11     {
12         InspectorTest.addResult("PASSED: we got a call from TempStorageCleaner that it had done the job.");
13         InspectorTest.completeTest();
14     }
15     cleaner.ensureStorageCleared(finish);
16 }
17
18 </script>
19 </head>
20
21 <body onload="runTest()">
22 <p>
23 This test checks TempStorageCleaner which is used in HeapProfiler.
24 </p>
25
26 </body>
27 </html>