Bug 20284 - JavaScript can be executed even though debugger is running and at a break point
Summary: JavaScript can be executed even though debugger is running and at a break point
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Timothy Hatcher
URL: http://nerget.com/rayjs3/rayjs.html
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-08-05 01:31 PDT by Oliver Hunt
Modified: 2008-08-15 09:34 PDT (History)
2 users (show)

See Also:


Attachments
Proposed patch (ignoring whitespace changes) (5.54 KB, patch)
2008-08-15 08:19 PDT, Timothy Hatcher
aroben: review+
Details | Formatted Diff | Diff
Proposed patch (full patch) (7.65 KB, patch)
2008-08-15 08:19 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.