Bug 20728
Summary: | for each (... in ...) statement not recognised | ||
---|---|---|---|
Product: | WebKit | Reporter: | Nicholas Shanks <nickshanks> |
Component: | JavaScriptCore | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Cameron Zwarich (cpst)
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 ***