OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../http/tests/inspector/inspector-test.js"></script> |
4 <script type="text/javascript"> | 4 <script type="text/javascript"> |
5 var test = function() | 5 var test = function() |
6 { | 6 { |
7 WebInspector.showPanel("scripts"); | 7 WebInspector.showPanel("sources"); |
8 | 8 |
9 function dumpHistory(history) | 9 function dumpHistory(history) |
10 { | 10 { |
11 InspectorTest.addResult(" history = " + JSON.stringify(history._seriali
zeToObject()) + ""); | 11 InspectorTest.addResult(" history = " + JSON.stringify(history._seriali
zeToObject()) + ""); |
12 } | 12 } |
13 | 13 |
14 function updateScrollAndSelectionAndDump(history, url, scrollLineNumber, sel
ection) | 14 function updateScrollAndSelectionAndDump(history, url, scrollLineNumber, sel
ection) |
15 { | 15 { |
16 history.updateScrollLineNumber(url, scrollLineNumber); | 16 history.updateScrollLineNumber(url, scrollLineNumber); |
17 history.updateSelectionRange(url, selection); | 17 history.updateSelectionRange(url, selection); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 InspectorTest.completeTest(); | 72 InspectorTest.completeTest(); |
73 } | 73 } |
74 </script> | 74 </script> |
75 </head> | 75 </head> |
76 <body onload="runTest()"> | 76 <body onload="runTest()"> |
77 <p>Tests history saving logic in TabbedEditorContainer.</p> | 77 <p>Tests history saving logic in TabbedEditorContainer.</p> |
78 <a href="https://bugs.webkit.org/show_bug.cgi?id=76912">Bug 76912</a> | 78 <a href="https://bugs.webkit.org/show_bug.cgi?id=76912">Bug 76912</a> |
79 </body> | 79 </body> |
80 </html> | 80 </html> |
OLD | NEW |