[Webkit-unassigned] [Bug 187172] [GTK] web inspector does not work with is-ephemeral set to true

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 29 03:50:41 PDT 2018


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

Adrian Perez <aperez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aperez at igalia.com,
                   |                            |cgarcia at igalia.com,
                   |                            |mcatanzaro at igalia.com

--- Comment #2 from Adrian Perez <aperez at igalia.com> ---
Epiphany's incognito windows use ephemeral web contexts, and the
inspector works fine there.

I am not sure whether this would be the reason, but one difference
between the code you linked from Astroid and Epiphany is:

 - Epiphany uses g_object_new() to pass *both* the WebKitWebContext
   and the WebKitSettings objects at construction time.

 - Astroid uses webkit_web_view_new_with_context(), which sets the
   WebKitWebContext only at construction time. After the WebKitWebView
   has been constructed, later on it uses webkit_web_view_set_settings().

Could it be that for some reason some settings cannot are not being
applied correctly when the WebKitSettings is changed after construction
and the WebKitWebContext is ephemeral? If there is something inside
WebKit that prevents the second usage pattern, we should at least add
some notes to the API documentation.

I am adding Carlos GarcĂ­a and Michael Catanzaro on CC, because they
might have some idea about this.

-- 
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/20180629/c105ca90/attachment.html>


More information about the webkit-unassigned mailing list