Open Bug 1891594 Opened 2 years ago Updated 2 years ago

Show UI elements in right browser frame

Categories

(Firefox :: Data Loss Prevention, enhancement)

enhancement

Tracking

()

People

(Reporter: handyman, Unassigned)

Details

At the moment, the slow DLP dialog and the results dialogs are posted to the root browser in the tab. iframes will block an entire tab while waiting for DLP results. We can do better by using ContentAnalysis.sys.mjs in the right process, which would require some synchronization. (This won't work for clipboard operations atm since they block the child process.)

Since the UI is shown on a given BrowsingContext as a response to "dlp-request-made" and "dlp-response" observable messages, this would almost be simple. The stickiest point is simply that all observers in a process would be alerted (which is unfortunate, even if we were to cross-check the observer with the request to avoid errors). We could target listeners more directly.

You need to log in before you can comment on or make changes to this bug.