Interesting, Chrome doesn't always update the Selection. For instance, when `Selection.addRange()` is called when JS is loaded, the clipboard is not updated. In a click event handler, it is. https://jsfiddle.net/cuwr3bt6/1/ illustrates the latter. @dschubert: we should first clarify the desired behavior, before that it might not make sense to contact slack.com-developers. Although I wonder why <slack.com> has the Firefox-specific code.
Bug 1751757 Comment 13 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Interesting, Chrome doesn't always update the Selection. For instance, when `Selection.addRange()` is called when JS is loaded, the clipboard is not updated. In a click event handler, it is. https://jsfiddle.net/cuwr3bt6/1/ illustrates the latter. So this might depend on user-activation. @dschubert: we should first clarify the desired behavior, before that it might not make sense to contact slack.com-developers. Although I wonder why <slack.com> has the Firefox-specific code.