Bug 128724 - Web Inspector: Issue testing breakpoints
Summary: Web Inspector: Issue testing breakpoints
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-02-12 21:48 PST by Chris J. Shull
Modified: 2014-11-28 19:15 PST (History)
4 users (show)

See Also:


Attachments
test which times out (1.99 KB, text/html)
2014-02-12 21:49 PST, Chris J. Shull
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris J. Shull 2014-02-12 21:48:07 PST
Steps:
1) put the attached test in LayoutTests/inspector-protocol/debugger/
2) run the test with DumpRenderTree directly

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

observed:
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
<rdar://problem/16056356>
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