X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FLayoutTests%2Finspector%2Ftimeline%2Ftimeline-node-reference.html;h=7cd8d67de9b9584207380d66bbaf464dda236a3c;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=c3d4890f6fc9cc36abb08cb4156cc9a2214bdef2;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/LayoutTests/inspector/timeline/timeline-node-reference.html b/src/third_party/WebKit/LayoutTests/inspector/timeline/timeline-node-reference.html index c3d4890..7cd8d67 100644 --- a/src/third_party/WebKit/LayoutTests/inspector/timeline/timeline-node-reference.html +++ b/src/third_party/WebKit/LayoutTests/inspector/timeline/timeline-node-reference.html @@ -20,6 +20,9 @@ function performActions() function test() { + // Force panel load. + WebInspector.panel("elements"); + InspectorTest.evaluateInPage("var unused = document.body.offsetWidth; testRunner.display();", function() { InspectorTest.evaluateWithTimeline("performActions()", onTimelineRecorded); }); @@ -43,7 +46,7 @@ function test() function onTimelineRecorded(records) { var layoutRecord = InspectorTest.findPresentationRecord("Layout"); - WebInspector.notifications.addEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, onSelectedNodeChanged); + WebInspector.notifications.addEventListener(WebInspector.NotificationService.Events.SelectedNodeChanged, onSelectedNodeChanged); clickValueLink(layoutRecord, "Layout root"); } @@ -55,7 +58,7 @@ function test() // We may first get an old selected node while switching to the Elements panel. if (node.nodeName() === "BODY") return; - WebInspector.notifications.removeEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, onSelectedNodeChanged); + WebInspector.notifications.removeEventListener(WebInspector.NotificationService.Events.SelectedNodeChanged, onSelectedNodeChanged); InspectorTest.addResult("Layout root node id: " + node.getAttribute("id")); InspectorTest.completeTest(); }