Closed Bug 1858627 Opened 7 months ago Closed 2 months ago

Suppress the paste contextmenu if the paste request is triggered by keyboard shortcut

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, task)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: edgar, Assigned: edgar)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

(This is split off from bug 1777448)

Assignee: nobody → echen
Blocks: 1770358
Attachment #9358769 - Attachment description: WIP: Bug 1858627 - Suppress the paste contextmenu in paste event handler; → Bug 1858627 - Suppress the paste contextmenu in paste event handler; r?nika

This is a sync version of nsIClipboard.asyncGetData, which can be used for
synchronous clipboard APIs, e.g. DataTransfer, to support the clipboard seqence
number concept.

Attachment #9379467 - Attachment description: Bug 1858627 - Add nsIClipboard API to return nsIAsyncSetClipboardData synchrously; → WIP: Bug 1858627 - Add nsIClipboard API to return nsIAsyncSetClipboardData synchrously;
Attachment #9379467 - Attachment description: WIP: Bug 1858627 - Add nsIClipboard API to return nsIAsyncSetClipboardData synchrously; → Bug 1858627 - Add nsIClipboard API to return nsIAsyncSetClipboardData synchrously; r?nika!
Attachment #9379832 - Attachment description: WIP: Bug 1858627 - Use ManagedEndpoint for PClipboardReadRequest construction; → Bug 1858627 - Use ManagedEndpoint for PClipboardReadRequest construction; r?nika
Depends on: 1880372

The actual data retrieval continues to use the original method.

Depends on D201364

Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/05b957fe3079
Use ManagedEndpoint for PClipboardReadRequest construction; r=nika
https://hg.mozilla.org/integration/autoland/rev/1d5175296606
Add nsIClipboard API to return nsIAsyncSetClipboardData synchrously; r=ipc-reviewers,nika
https://hg.mozilla.org/integration/autoland/rev/aca702ea720f
Update DataTransfer to utilize GetDataSnapshotSync() for retrieving clipboard formats; r=nika,ipc-reviewers
https://hg.mozilla.org/integration/autoland/rev/ad694926aa45
Suppress the paste contextmenu in paste event handler; r=nika
Regressions: 1883809
No longer regressions: 1883809
Backout by imoraru@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/cf015b6f24b4
Backed out 4 changesets for causing clipboard/paste failures. CLOSED TREE
Depends on: 1884020
No longer depends on: 1884020
Flags: needinfo?(echen)
Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/02f94f12c3ef
Use ManagedEndpoint for PClipboardReadRequest construction; r=nika
https://hg.mozilla.org/integration/autoland/rev/8f4ca2ab875b
Add nsIClipboard API to return nsIAsyncSetClipboardData synchrously; r=ipc-reviewers,nika
https://hg.mozilla.org/integration/autoland/rev/9efc1874ac78
Update DataTransfer to utilize GetDataSnapshotSync() for retrieving clipboard formats; r=nika,ipc-reviewers
https://hg.mozilla.org/integration/autoland/rev/eaf5e6b7ddd4
Suppress the paste contextmenu in paste event handler; r=nika

Backed out for causing build bustage

Backout link

Push with failures

Failure log

There are TV failures too that turned into test failures: Failure log 1 // Failure log 2

Flags: needinfo?(echen)
Flags: needinfo?(echen)
Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d3a1b3ac7611
Use ManagedEndpoint for PClipboardReadRequest construction; r=nika
https://hg.mozilla.org/integration/autoland/rev/0655d0feb163
Add nsIClipboard API to return nsIAsyncSetClipboardData synchrously; r=ipc-reviewers,nika
https://hg.mozilla.org/integration/autoland/rev/96327aab8126
Update DataTransfer to utilize GetDataSnapshotSync() for retrieving clipboard formats; r=nika,ipc-reviewers
https://hg.mozilla.org/integration/autoland/rev/7f3f50c77406
Suppress the paste contextmenu in paste event handler; r=nika

Backed out for causing build bustages with -p style --lib

Flags: needinfo?(echen)
Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e74c0b9d4629
Use ManagedEndpoint for PClipboardReadRequest construction; r=nika
https://hg.mozilla.org/integration/autoland/rev/eb0448a851ca
Add nsIClipboard API to return nsIAsyncSetClipboardData synchrously; r=ipc-reviewers,nika
https://hg.mozilla.org/integration/autoland/rev/ff1b45cb9a22
Update DataTransfer to utilize GetDataSnapshotSync() for retrieving clipboard formats; r=nika,ipc-reviewers
https://hg.mozilla.org/integration/autoland/rev/2856b3088528
Suppress the paste contextmenu in paste event handler; r=nika
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: