Bug 22004

Summary: Can't set a breakpoint on the statement after a single line "for"
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web Inspector (Deprecated)Assignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben, kmccullough, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test
none
Proposed Patch darin: review+

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.