Bug 34715

Summary: webkit-gtk doesn't emit new-window-policy-decision-requested for onclick js popups
Product: WebKit Reporter: Senko Rasic <senko>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: juanpablougarte, mathstuf, mrobinson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

Senko Rasic
Reported 2010-02-08 12:29:04 PST
I'm using python-webkit 1.1.7-1+b1 with libwebkit 1.1.19-1 on Debian unstable. From what I've been told on IRC, the problem is in webkit-gtk and not the python bindings. I'm trying to catch all new window creation requests in my application. I have a handler for 'new-window-policy-decision-requested' (and 'navigation-policy-decision-requested'). When clicking on links in gmail, it attempts to open a new window in the onclick handler, but the 'new-window-policy-decision-requested' signal is never emitted (neither is 'navigation-policy-decision-requested', fwiw).
Attachments
Senko Rasic
Comment 1 2010-02-08 12:36:26 PST
Additional note: newly created webview for the popup (if you do create one) does emit 'navigation-policy-decision-requested', which is a documented behaviour.
Juan Pablo Ugarte
Comment 2 2010-10-14 13:49:06 PDT
This looks like a duplicate of https://bugs.webkit.org/show_bug.cgi?id=23432
Martin Robinson
Comment 3 2014-04-08 18:32:27 PDT
The GTK+ port of WebKit1 has been removed. *** This bug has been marked as a duplicate of bug 23432 ***
Note You need to log in before you can comment on or make changes to this bug.