Bug 20284

Summary: JavaScript can be executed even though debugger is running and at a break point
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: Web Inspector (Deprecated)Assignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben, timothy
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://nerget.com/rayjs3/rayjs.html
Attachments:
Description Flags
Proposed patch (ignoring whitespace changes)
aroben: review+
Proposed patch (full patch) none

Description Oliver Hunt 2008-08-05 01:31:13 PDT
Go to the linked url, start the debugger.
Set a breakpoint on the render function in rayjs.html
click the render link, the dbeugger should hit your break point.

Now hit the render link again, and the renderer will start, trigger the slow script dialog, *and* continue working without hitting any break points that may otherwise have been present (if you allow it to continue after the slow script dialog).
Comment 1 Mark Rowe (bdash) 2008-08-05 13:39:57 PDT
<rdar://problem/6126886>
Comment 2 Timothy Hatcher 2008-08-15 08:19:08 PDT
Created attachment 22817 [details]
Proposed patch (ignoring whitespace changes)
Comment 3 Timothy Hatcher 2008-08-15 08:19:55 PDT
Created attachment 22818 [details]
Proposed patch (full patch)
Comment 4 Adam Roben (:aroben) 2008-08-15 08:26:07 PDT
Comment on attachment 22817 [details]
Proposed patch (ignoring whitespace changes)

r=me

Nice test case!
Comment 5 Timothy Hatcher 2008-08-15 09:34:34 PDT
Landed in r35783.