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 155180
Add proper JSON.stringify support for Proxy when the target is an array
https://bugs.webkit.org/show_bug.cgi?id=155180
Summary
Add proper JSON.stringify support for Proxy when the target is an array
Saam Barati
Reported
2016-03-08 11:43:26 PST
...
Attachments
patch
(10.48 KB, patch)
2016-03-09 17:35 PST
,
Saam Barati
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Saam Barati
Comment 1
2016-03-09 17:35:35 PST
Created
attachment 273519
[details]
patch
WebKit Commit Bot
Comment 2
2016-03-09 18:41:22 PST
Comment on
attachment 273519
[details]
patch Clearing flags on attachment: 273519 Committed
r197918
: <
http://trac.webkit.org/changeset/197918
>
WebKit Commit Bot
Comment 3
2016-03-09 18:41:26 PST
All reviewed patches have been landed. Closing bug.
Mark Lam
Comment 4
2016-03-09 23:28:50 PST
Comment on
attachment 273519
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=273519&action=review
> Source/JavaScriptCore/runtime/ArrayConstructor.h:91 > + ASSERT_NOT_REACHED();
I didn't catch this before, but you should probably make this a RELEASE_ASSERT_NOT_REACHED().
Mark Lam
Comment 5
2016-03-09 23:57:46 PST
Comment on
attachment 273519
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=273519&action=review
>> Source/JavaScriptCore/runtime/ArrayConstructor.h:91 >> + ASSERT_NOT_REACHED(); > > I didn't catch this before, but you should probably make this a RELEASE_ASSERT_NOT_REACHED().
Nevermind. Saam reminded me (offline) that this comes after an infinite loop. Short of a compiler error, there's really no way to reach this point. The debug assert is good enough if only for documentation (in case someone re-writes the loop in the future to not be an infinite loop).
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