[Webkit-unassigned] [Bug 17247] New: labelled continue/break can fail in some cases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 8 15:03:08 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17247

           Summary: labelled continue/break can fail in some cases
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: NeedsRadar
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: oliver at apple.com
                CC: mjs at apple.com, darin at apple.com, ggaren at apple.com


JSC does not handle a continue or break to a label when there are multiple
labels at that scope, eg.
        a: 
        b:
        for (var foo = 1; foo < 10; foo++) {
           if (foo == 4)
                   continue a;
           print("foo: "+foo);
        }
execution ends up terminating at foo: 3, rather than continuing to to foo: 9


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list