WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 75455
ES5 prohibits parseInt from supporting octal
https://bugs.webkit.org/show_bug.cgi?id=75455
Summary
ES5 prohibits parseInt from supporting octal
Gavin Barraclough
Reported
2012-01-02 18:23:40 PST
See sections 15.1.2.2 and annex E.
Attachments
Fix
(7.64 KB, patch)
2012-01-02 18:31 PST
,
Gavin Barraclough
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Gavin Barraclough
Comment 1
2012-01-02 18:31:47 PST
Created
attachment 120905
[details]
Fix
WebKit Review Bot
Comment 2
2012-01-02 18:38:27 PST
Attachment 120905
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1 Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp:274: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp:277: Should have a space between // and comment [whitespace/comments] [4] Total errors found: 2 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Review Bot
Comment 3
2012-01-02 19:24:08 PST
Comment on
attachment 120905
[details]
Fix
Attachment 120905
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/11003149
New failing tests: fast/js/kde/GlobalObject.html
Sam Weinig
Comment 4
2012-01-02 20:11:47 PST
Comment on
attachment 120905
[details]
Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=120905&action=review
>> Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp:277 >> + // 8.a. If R < 2 or R > 36, then return NaN. > > Should have a space between // and comment [whitespace/comments] [4]
There seems to be a weird character in your comment.
Gavin Barraclough
Comment 5
2012-01-02 20:33:50 PST
(In reply to
comment #4
)
> There seems to be a weird character in your comment.
Ooops, yes! (copied & pasted from spec!) fixed. Fixed in
r103922
. (The change in layout test results for Chromium represents a bug in the v8 engine).
Csaba Osztrogonác
Comment 6
2012-01-02 22:24:56 PST
Reopen, because it broke 2 jscore tests on all bot: ecma/GlobalObject/15.1.2.2-1.js ecma/GlobalObject/15.1.2.2-2.js Could you fix it, please?
Gavin Barraclough
Comment 7
2012-01-02 22:52:30 PST
(In reply to
comment #6
)
> Reopen, because it broke 2 jscore tests on all bot: > ecma/GlobalObject/15.1.2.2-1.js > ecma/GlobalObject/15.1.2.2-2.js > > Could you fix it, please?
Ooops, sorry! - fixes for the tests are incoming!
Gavin Barraclough
Comment 8
2012-01-02 23:01:19 PST
JSC tests fixed in
r103926
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug