WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
187515
[GLIB] Add jsc_context_get_global_object() to GLib API
https://bugs.webkit.org/show_bug.cgi?id=187515
Summary
[GLIB] Add jsc_context_get_global_object() to GLib API
Carlos Garcia Campos
Reported
2018-07-10 04:04:30 PDT
This isn't exposed because we have convenient methods in JSCContext to get and set properties on the global object. However, getting the global object could be useful in some cases, for example to give it a well known name like 'window' in browsers and GJS.
Attachments
Patch
(7.21 KB, patch)
2018-07-10 04:06 PDT
,
Carlos Garcia Campos
mcatanzaro
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2018-07-10 04:06:37 PDT
Created
attachment 344687
[details]
Patch
Michael Catanzaro
Comment 2
2018-07-10 06:13:30 PDT
Comment on
attachment 344687
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=344687&action=review
> Source/JavaScriptCore/ChangeLog:10 > + This wasn't exposed because we have convenient methods in JSCContext to get and set properties on the global > + object. However, getting the global object could be useful in some cases, for example to give it a well known > + name like 'window' in browsers and GJS.
What specifically are you planning to use it for? Surely it's not required to give it the name "window" in Epiphany?
Carlos Garcia Campos
Comment 3
2018-07-11 22:14:11 PDT
Committed
r233759
: <
https://trac.webkit.org/changeset/233759
>
Radar WebKit Bug Importer
Comment 4
2018-07-11 22:18:01 PDT
<
rdar://problem/42104161
>
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