Allow chrome documents to enable/disable copy/cut/paste.
Categories
(Core :: XUL, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: bdahl, Assigned: bdahl)
References
Details
Attachments
(1 file)
Currently, copy/cut/paste is always enabled for HTML or XHTML so events get dispatched (bug 1159490). XUL supports enabling/disabling these commands, but it'd be nice to support that for any chrome document.
See more discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1178047#c18
Assignee | ||
Comment 1•5 years ago
|
||
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.
Also, restores tests to how they were before copy/paste was always enabled.
Comment 3•5 years ago
|
||
Backed out for dt failures on browser_console_context_menu_entries.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/22b5dd1aea554ad662228bc6253b16fea3e46207
Push link: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=pending%2Crunning%2Csuccess%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&searchStr=os%2Cx%2C10.14%2Cdebug%2Cmochitests%2Ctest-macosx1014-64%2Fdebug-mochitest-devtools-chrome-e10s-5%2Cm%28dt5%29&revision=aa7f507ac74362abce9fda28f503851e53ea163b&selectedJob=251819678
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=251819678&repo=autoland&lineNumber=3510
Assignee | ||
Comment 4•5 years ago
|
||
Hmm....looks like whether paste is enabled/disabled on MacOS isn't reliable. I'll need to update that test to be like the other context menu tests and only check paste on Windows.
Comment 6•5 years ago
|
||
Backed out changeset 7312aba8ec3b (bug 1558674) for causing browser_console_context_menu_entries.js to permafail
push that caused the backout: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=7312aba8ec3b2149f5251bd91d8f1cfee7cd3322
backout: https://hg.mozilla.org/integration/autoland/rev/dd19d57a81d5690fccd5e45be09e3b8686d79e53
Assignee | ||
Updated•5 years ago
|
Comment 8•5 years ago
|
||
bugherder |
Description
•