Update and stablize the Clipboard API
Fixes #3991.
The base API for this is shipping in all three major engines, so I don't see how the current API could change.
The base API for this is shipping in all three major engines, so I don't see how the current API could change.
Unfortunately this happens regularly and then we end up stuck with outdated APIs that we can't really fix without a breaking change.
Though I agree that the base API is unlikely to change any further, so what we can do is stabilize parts of it we are more certain then not aren't going to change.
Let me know if you need any help with that!
I've removed (commented out) everything that isn't supported by Chrome, Firefox and Safari currently.