<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()
InspectorTest.runTestSuite([
function testSimpleMovements(next)
{
- InspectorTest.showScriptSource("blink-fs.js", onContentLoaded);
+ InspectorTest.showScriptSource("example-fileset-for-test.js", onContentLoaded);
function onContentLoaded()
{
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();
{
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];