[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 170070] [testcase] Javascript 1.5 reserved keyword const is not
From:       Maksim Orlovich <maksim () kde ! org>
Date:       2008-08-30 20:38:38
Message-ID: 20080830203838.E27B912F25 () immanuel ! kde ! org
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=170070


Maksim Orlovich maksim kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maksim@kde.org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #1 from Maksim Orlovich <maksim kde org>  2008-08-30 22:38:27 ---
Confirm regression in KJS4.1, for global scope (and other symbolics) ---
[[Put]] simply fails since ReadOnly is set. We need special codegen on
execution for ReadOnly things, and it is quite a bit of a mess since we don't
want to override readonly in general, so it needs to make sure it's bound to
the proper lexical scope. OTOH, it'll likely get more Mozilla-like semantics
doing that.

WRT to the report, though, I must point out, however, that "JavaScript 1.5" is
merely the name for the non-standard dialect supported by Mozilla, and is in no
way, shape, or form a standard, and has quite a few extensions. The relevant
standard is ECMAScript 3 (ECMA 262-3), which does not list such a construct.
The upcoming version 3.1 will include const, as well as many other vendor
extensions other implementations pretty much had to implement for compatibility
anyway.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic