[Webkit-unassigned] [Bug 17027] New: Incorrect Function.toString behaviour with read/modify/write operators performed on numbers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 26 18:20:38 PST 2008


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

           Summary: Incorrect Function.toString behaviour with
                    read/modify/write operators performed on numbers
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: HasReduction
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: oliver at apple.com
                CC: darin at apple.com, jruderman at gmail.com


Function.toString loses necessary parentheses when performing read/modify/write
operations like >>>=, etc on *negative* numbers.

eg.
function f() {
   (-1) >>>= 1;
}
becomes
function f() {
  -1 >>>= 1;
}


-- 
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