[Webkit-unassigned] [Bug 181041] [GTK] WebView create signal: navigation action modifiers not set
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 21 23:49:41 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=181041
--- Comment #2 from Cédric Bellegarde <cedric.bellegarde at adishatz.org> ---
No the C API does not work, here a patch for epiphany tags/3.26.5.1:
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 195ec9814..a9d71f7c5 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1842,6 +1842,7 @@ create_web_view_cb (WebKitWebView *web_view,
EphyNewTabFlags flags;
EphyWindow *target_window;
+ printf("create_web_view_cb(): %d\n", webkit_navigation_action_get_modifiers(navigation_action));
if ((ephy_embed_shell_get_mode (ephy_embed_shell_get_default ()) != EPHY_EMBED_SHELL_MODE_APPLICATION) &&
(g_settings_get_boolean (EPHY_SETTINGS_MAIN,
EPHY_PREFS_NEW_WINDOWS_IN_TABS) ||
Go to https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_win_open, click on try it with Shift pressed, it will always print "0"
--
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/20171222/a1f4dc5b/attachment.html>
More information about the webkit-unassigned
mailing list