Bug 128724

Summary: Web Inspector: Issue testing breakpoints
Product: WebKit Reporter: Chris J. Shull <chrisjshull>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: burg, joepeck, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Description Flags
test which times out none

Description Chris J. Shull 2014-02-12 21:48:07 PST
1) put the attached test in LayoutTests/inspector-protocol/debugger/
2) run the test with DumpRenderTree directly

This test is set up to add a breakpoint in a function, and then hit that breakpoint (and log and complete the test).

From the console logs, it seems the breakpoint is being stopped at, but the WebInspector.DebuggerManager.Event.Paused event is never fired.
This results in the the test timing out.
Comment 1 Radar WebKit Bug Importer 2014-02-12 21:48:14 PST
Comment 2 Chris J. Shull 2014-02-12 21:49:06 PST
Created attachment 224046 [details]
test which times out
Comment 3 Brian Burg 2014-11-28 19:15:10 PST
inspector-protocol tests are for protocol messages only, and don't initialize any models or controllers such as DebuggerManager. Thus, no event should fire in this case.

To test using full (M) and (C), you should use a normal inspector test, not a protocol test. More details: https://trac.webkit.org/wiki/WebInspectorTests