Private_Tab icon indicating copy to clipboard operation
Private_Tab copied to clipboard

Update API events for toggling using duplication in Firefox 51+

Open Infocatcher opened this issue 8 years ago • 1 comments

See #237. Now we should provide some way to letting know about this new "toggling".

Infocatcher avatar Jan 31 '17 08:01 Infocatcher

https://developer.mozilla.org/en-US/docs/Web/API/Event/Comparison_of_Event_Targets#Event_targets event.explicitOriginalTarget looks very similar to our case. So, will dispatch "PrivateTab:PrivateChanged" for new (duplicated) tab and set event.explicitOriginalTarget to original/source tab.

Infocatcher avatar Jan 31 '17 19:01 Infocatcher