Summary: | [testcase] javascript gives syntax error on variable named "goto" | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Roger Larsson <roger.larsson> |
Component: | kjs | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Roger Larsson
2005-01-11 00:05:10 UTC
"goto" is a reserved word (as expected) http://wp.netscape.com/eng/mozilla/3.0/handbook/javascript/keywords.htm#1002170 but as I understand it is not actually used. Of cause IE allows it as a variable name - yet another quirk... _I wish_ that konqueror handles this as IE when in IE mode. "final" is appearantly another example as can be seen on https://profile.microsoft.com:443/aspnet_client/system_web/1_1_4322/WebUIValidation.js Duping to a bug showing a broken webpage. *** This bug has been marked as a duplicate of 120925 *** What is better? * A linked webpage that can change. * Code embedded in the report I would take the embedded code any day! Yeah, but it has the comment saying it's the same bug -- except the page has package, too :-). I was going to change the title, but bugzilla was slow. Anyway, I'll try to fix this for 3.5.2 |