Skip to content

Cannot access the clipboard for the crypto address check (wayland)

Noticed after the ESR 128 rebase, and not reproducible in 13.5. Not sure what changed in mozilla-central to cause this.

Steps to reproduce:

  1. Visit http.badssl.com.
  2. Open the page console and add document.body.append("3aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");.
  3. Try to copy the appended text.

In the page console I get:

Uncaught (in promise) DOMException: Clipboard read operation is not allowed.

And the expected crypto warning does not pop up.

I think the CryptoSafetyChild no longer has permission to read the clipboard content.

Edited by henry
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information