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+

Carlos Garcia Campos
Reported 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.
Attachments
Patch (40.32 KB, patch)
2018-07-19 05:01 PDT, Carlos Garcia Campos
mcatanzaro: review+
Carlos Garcia Campos
Comment 1 2018-07-19 05:01:19 PDT
Carlos Garcia Campos
Comment 2 2018-07-19 23:11:55 PDT
Radar WebKit Bug Importer
Comment 3 2018-07-19 23:12:17 PDT
Note You need to log in before you can comment on or make changes to this bug.