[Webkit-unassigned] [Bug 186593] User gesture context is not passed via MessageChannel

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 18 02:08:43 PDT 2018


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

--- Comment #7 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
Created attachment 342918

  --> https://bugs.webkit.org/attachment.cgi?id=342918&action=review

Patch

This new version now properly sets the current gesture in MessagePort::dispatchMessages and adds the missing IPC encoding/decoding of the gesture.

I've written a new test case, based on Dima's: http://output.jsbin.com/kiruqatiso
The difference is that the frame tries to automatically send the channel message 5 seconds after page load.

With this patch, WebKit allows to open the popup when you click "Channel Message" but not for the automatic channel message.

-- 
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/20180618/98e850d1/attachment-0001.html>


More information about the webkit-unassigned mailing list