[jsc-dev] I would like to consult a JavaScriptCore question, I beg your help~~

Yusuke SUZUKI utatane.tea at gmail.com
Fri May 4 23:12:19 PDT 2018

In JSC, JSGlobalObject is now Immutable Prototype Exotic Object[1,2,3,4].
So, after instantiating JSGlobalObject, we cannot replace [[Prototype]] of

You can set your prototype when creating JSGlobalObject.
JSClassRef's "prototype" can return a prototype object used for
JSGlobalObject when creating JSGlobalObject with

Yusuke Suzuki

[1]: https://bugs.webkit.org/show_bug.cgi?id=169787
[2]: https://bugs.webkit.org/show_bug.cgi?id=177070
[4]: https://github.com/tc39/ecma262/issues/272

On Sat, May 5, 2018 at 2:26 PM linlin_miao <linlin_miao at foxitsoftware.cn>

> Hello!
> I would like to consult a JavaScriptCore question, I beg your help~~
> Because of the need of business, prototype can be set up for global object
> through interface JSObjectSetPrototype before using JavaScriptCore.
> But after upgrading, it is found that this method is invalid. We still
> need this kind of business in particular.
> So if we want to consult you, what can we do to achieve it?
> I look forward to it. Thank you for your reply.
> Good luck!
> linlin_miao
> _______________________________________________
> jsc-dev mailing list
> jsc-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/jsc-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/jsc-dev/attachments/20180505/1fdefde9/attachment-0001.html>

More information about the jsc-dev mailing list