WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
147874
[ES6] Implement Reflect.getPrototypeOf and Reflect.setPrototypeOf
https://bugs.webkit.org/show_bug.cgi?id=147874
Summary
[ES6] Implement Reflect.getPrototypeOf and Reflect.setPrototypeOf
Yusuke Suzuki
Reported
2015-08-11 01:50:19 PDT
[ES6] Implement Reflect.getPrototypeOf and Reflect.setPrototypeOf
Attachments
Patch
(12.30 KB, patch)
2015-08-11 01:52 PDT
,
Yusuke Suzuki
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2015-08-11 01:52:30 PDT
Created
attachment 258711
[details]
Patch
Darin Adler
Comment 2
2015-08-11 10:37:59 PDT
Comment on
attachment 258711
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=258711&action=review
> Source/JavaScriptCore/runtime/ObjectConstructor.cpp:190 > return JSValue::encode(jsNull());
Strange that this uses jsNull where most call sites use jsUndefined, yet this value is always ignored. Untidy to have this be different across the code base.
Yusuke Suzuki
Comment 3
2015-08-11 10:51:33 PDT
Comment on
attachment 258711
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=258711&action=review
Thank you :)
>> Source/JavaScriptCore/runtime/ObjectConstructor.cpp:190 >> return JSValue::encode(jsNull()); > > Strange that this uses jsNull where most call sites use jsUndefined, yet this value is always ignored. Untidy to have this be different across the code base.
Seeing the ObjectConstructor.cpp, in this file, using "jsNull()" as the non meaningful return value for the exception is major. So I'll fix the touched part in this patch: `objectConstructorGetPrototypeOf` one. When modifying / fixing the other part, at that time, we need to fix it gradually.
Yusuke Suzuki
Comment 4
2015-08-11 10:57:30 PDT
Committed
r188262
: <
http://trac.webkit.org/changeset/188262
>
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