3 <script src=
"../../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../../http/tests/inspector/elements-test.js"></script>
5 <script src=
"../../../http/tests/inspector/debugger-test.js"></script>
15 InspectorTest
.startDebuggerTest(step1
, true);
19 WebInspector
.inspectorView
.showPanel("sources").then(step2
);
24 InspectorTest
.nodeWithId("test", step3
);
29 InspectorTest
.assertTrue(!!node
);
30 InspectorTest
.evaluateInPage("setTimeout(callback, 200)", step4
.bind(null, node
));
35 InspectorTest
.assertTrue(!WebInspector
.panels
.sources
.paused());
36 WebInspector
.panels
.sources
.togglePause();
38 // This used to skip the pause request (the test used to timeout).
41 InspectorTest
.waitUntilPaused(step5
);
44 function step5(callFrames
)
46 InspectorTest
.captureStackTrace(callFrames
);
47 InspectorTest
.addResult("PASS: Debugger paused.");
48 InspectorTest
.completeDebuggerTest();
55 <body onload=
"runTest()">
58 Tests that debugger pause button works on Elements panel after a DOM node highlighting.
<a href=
"https://code.google.com/p/chromium/issues/detail?id=433366">Chromium bug
433366</a>