On 6/16/17 6:18 AM, smaug wrote: > On 06/16/2017 02:32 AM, Jim Porter wrote: >> Here's the code I'm currently using to generate a contextmenu event: >> <https://github.com/jimporter/gesticulate/blob/e10s/src/chrome/modules/mouseGestures.jsm#L214-L216>. >> > That just dispatches the event to dom. No forwarding to child process > will happen. > You need to use methods in nsIDOMWindowUtils to dispatch events in a way > which simulates real events better > and causes forwarding to happen.
Awesome, it works! Thanks for the pointer. Now I just need to work on making this into a WebExtension... :) - Jim _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform