Review Request: kjs: Allow keywords as object propertynames

Bernd Buschinski b.buschinski at googlemail.com
Fri Feb 24 01:05:12 GMT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104058/
-----------------------------------------------------------

Review request for kdelibs.


Description
-------

For kjs,

Allow keywords as object propterynames, like:

    var tokenCodes  = {};
    tokenCodes.null = 0;
    tokenCodes.true = 1;

This fixes 24 ecmascript262 tests
7.6.1-2-1 to 7.6.1-2-12
and
7.6.1-6-1 to 7.6.1-6-12


Diffs
-----

  kjs/lexer.cpp e89de5f 

Diff: http://git.reviewboard.kde.org/r/104058/diff/


Testing
-------

tested with ecmascript262 (until konq hits the freeze bug), no new fails


Thanks,

Bernd Buschinski

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120224/892c0a22/attachment.htm>


More information about the kde-core-devel mailing list