Bug 20728

Summary: for each (... in ...) statement not recognised
Product: WebKit Reporter: Nicholas Shanks <nickshanks>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: zwarich
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://graphs.mozilla.org/

Nicholas Shanks
Reported 2008-09-08 09:05:08 PDT
The web application at http://graphs.mozilla.org/ does not work in WebKit. The following are logged to the javascript console: SyntaxError: Parse error GraphCanvas.js (line 366) => for each (var dsvals in this.dataSetMinMaxes) { SyntaxError: Parse error graphCore.js (line 162) => for each (var g in [BigPerfGraph, SmallPerfGraph]) { SyntaxError: Parse error graph.js (line 712) => for each (var s in hasharray) {
Attachments
Cameron Zwarich (cpst)
Comment 1 2008-09-08 09:13:06 PDT
There is an orphaned patch for this in bug 12878. It shouldn't be too hard to resurrect it. *** This bug has been marked as a duplicate of 12878 ***
Note You need to log in before you can comment on or make changes to this bug.