Status: Unconfirmed
Owner: [EMAIL PROTECTED]
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 5145 by DSemeria: Object property name not allowed if part of JS  
syntax
http://code.google.com/p/chromium/issues/detail?id=5145

Chrome Version       :
URLs (if applicable) :
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 3: ?
     Firefox 3: ok
          IE 7: ok

What steps will reproduce the problem?
1. var o  = new Obj();
2. a.if   = 'will cause parser to fall over"
3. a.then = 'will cause parser to fall over"

What is the expected result?
js reserved words are allowed as object properties

What happens instead?
chrome js parser falls over

Please provide any additional information below. Attach a screenshot if
possible.


-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to