Bug 22004 - Can't set a breakpoint on the statement after a single line "for"
Summary: Can't set a breakpoint on the statement after a single line "for"
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Timothy Hatcher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-31 11:09 PDT by Timothy Hatcher
Modified: 2008-10-31 11:50 PDT (History)
3 users (show)

See Also:


Attachments
Test (566 bytes, text/html)
2008-10-31 11:09 PDT, Timothy Hatcher
no flags Details
Proposed Patch (7.91 KB, patch)
2008-10-31 11:31 PDT, Timothy Hatcher
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2008-10-31 11:09:27 PDT
The line that calls test() is never hit:

for (var i = 0; i < 1; ++i)
    test();
Comment 1 Timothy Hatcher 2008-10-31 11:09:52 PDT
Created attachment 24802 [details]
Test
Comment 2 Timothy Hatcher 2008-10-31 11:31:04 PDT
Created attachment 24804 [details]
Proposed Patch
Comment 3 Darin Adler 2008-10-31 11:37:36 PDT
Comment on attachment 24804 [details]
Proposed Patch

r=me

We've got to find a way to automate these tests; otherwise we're going to break them all the time while working on the JavaScript engine.
Comment 4 Timothy Hatcher 2008-10-31 11:50:05 PDT
Landed in r38040.