Do not consult DLP when pasting items from the same origin
Categories
(Firefox :: Data Loss Prevention, task)
Tracking
()
People
(Reporter: handyman, Assigned: gstoll)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Similar to the async clipboard work in bug 1777448, we want to avoid checking with with data-loss prevention software when copy-pasting/drag-dropping contents of a page from one spot to another that does not change the origin. The work in that bug should ease this for clipboard operations. For drag-and-drop, Firefox already has mozSourceNode, that holds the element that was the source of the drag (if any).
Assignee | ||
Comment 1•6 months ago
|
||
Something like this is done with the clipboard cache in nsBaseClipboard::AsyncGetData()
. This checks that the origin is the same, but not that it comes from the same tab.
Assignee | ||
Comment 2•3 months ago
|
||
I'm working on the clipboard case.
For easy reference, the pref name I'm adding is "browser.contentanalysis.bypass_for_same_tab_operations"
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 3•3 months ago
|
||
Assignee | ||
Comment 4•3 months ago
|
||
Pushed by gstoll@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ebd8c84fa604 part 1 - some refactoring in preparation for future changes, no functionality changes r=dlp-reviewers,handyman https://hg.mozilla.org/integration/autoland/rev/a5f5e939bae1 part 2 - do not consult DLP when copy/pasting items in the same tab r=edgar,dlp-reviewers,credential-management-reviewers,handyman,sgalich
Comment 6•3 months ago
|
||
bugherder |
Assignee | ||
Comment 7•2 months ago
|
||
Now that the clipboard part is in, unassigning this from myself.
Assignee | ||
Comment 8•18 days ago
|
||
Bug 1902110 covers the drag and drop side of this, so changing this to just cover the clipboard part and closing it.
Description
•