Bug 187798

Summary: [GLIB] jsc_context_evaluate_in_object() should receive an instance when a JSCClass is given
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, mcatanzaro, webkit-bug-importer
Priority: P2 Keywords: Gtk, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mcatanzaro: review+

Description Carlos Garcia Campos 2018-07-19 04:54:28 PDT
Because a JSCClass is pretty much useless without an instance in this case. It should be similar to jsc_value_new_object() because indeed we are creating a new object. This makes destroy function and vtable functions to work.
Comment 1 Carlos Garcia Campos 2018-07-19 05:01:19 PDT
Created attachment 345342 [details]
Patch
Comment 2 Carlos Garcia Campos 2018-07-19 23:11:55 PDT
Committed r234025: <https://trac.webkit.org/changeset/234025>
Comment 3 Radar WebKit Bug Importer 2018-07-19 23:12:17 PDT
<rdar://problem/42416631>