[Webkit-unassigned] [Bug 198037] [GLIB] Crash when instantiating a js object registered with jsc_context_register_class on window object cleared

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 20 07:54:52 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=198037

--- Comment #5 from Adrian Perez <aperez at igalia.com> ---
(In reply to Michael Catanzaro from comment #2)
> Comment on attachment 370249 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=370249&action=review
> 
> > Source/JavaScriptCore/API/glib/JSCClass.cpp:346
> > -            static_cast<GParamFlags>(WEBKIT_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)));
> > +            static_cast<GParamFlags>(WEBKIT_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)));
> 
> Nothing like a good API break to make a change exciting.
> 
> I think we can get away with this, though.

Well, if people were using the API that allows registering JS
classes in the wild, we would have had a bug report for this
much earlier. So not many people are using this *for now*, and
I also think this change won't bite anybody ;-]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190520/875bb9bf/attachment-0001.html>


More information about the webkit-unassigned mailing list