Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / jump-to-previous-editing-location.html
index faf21f4..5ac5021 100644 (file)
@@ -3,7 +3,7 @@
 <script src="../http/tests/inspector/inspector-test.js"></script>
 <script src="../http/tests/inspector/workspace-test.js"></script>
 <script src="../http/tests/inspector/debugger-test.js"></script>
-<script src="resources/blink-fs.js"></script>
+<script src="resources/example-fileset-for-test.js"></script>
 <script src="editor/editor-test.js"></script>
 <script>
 function test()
@@ -59,7 +59,7 @@ function test()
     InspectorTest.runTestSuite([
         function testSimpleMovements(next)
         {
-            InspectorTest.showScriptSource("blink-fs.js", onContentLoaded);
+            InspectorTest.showScriptSource("example-fileset-for-test.js", onContentLoaded);
 
             function onContentLoaded()
             {
@@ -218,10 +218,10 @@ function test()
             function onScriptSource(uiSourceCode)
             {
                 var linkifier = new WebInspector.Linkifier();
-                var anchorURI = uiSourceCode.uri();
-                var jumpAnchor = linkifier.linkifyLocation(anchorURI, 10, 1);
                 WebInspector.showPanel("timeline");
-                WebInspector.showAnchorLocation(jumpAnchor);
+                var anchorURI = uiSourceCode.url;
+                var anchor = linkifier.linkifyLocation(anchorURI, 10, 1);
+                WebInspector.Revealer.reveal(anchor.__uiLocation);
                 InspectorTest.addResult("Selection: " + panel.visibleView.textEditor.selection().toString());
                 dumpSelection(panel.visibleView.textEditor, "Showed anchor in " + anchorURI.split("/").pop() + " with line 333 column 3");
                 rollback();
@@ -236,7 +236,7 @@ function test()
         {
             dumpSelection(panel.visibleView.textEditor, "Initial state");
 
-            InspectorTest.waitForScriptSource("blink-fs.js", onScriptSourceLoaded);
+            InspectorTest.waitForScriptSource("example-fileset-for-test.js", onScriptSourceLoaded);
             function onScriptSourceLoaded(uiSourceCode)
             {
                 var jumps = [20, 10, 30];