Closed Bug 1927129 Opened 1 year ago Closed 11 months ago

Blocked dialog displayed after canceling paste of warning text in Google Docs/OneDrive

Categories

(Firefox :: Data Loss Prevention, defect)

Firefox 133
Desktop
Windows
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox131 --- unaffected
firefox132 --- unaffected
firefox133 --- wontfix
firefox134 --- wontfix
firefox135 --- verified

People

(Reporter: bhidecuti, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached video video showing the issue

Found in

  • 133.0a1 (2024-10-24)

Affected versions

  • 133.0a1

Preconditions

  • Download the DLP test assets from https://drive.google.com/file/d/1yjqVRuxdKV3WnO7D2wzMgDXBuYBxUgVw/view
  • Create a distribution folder inside the Firefox folder and paste the policies-1.json to it and then rename it to policies.json
  • Run the DLP agent in CMD using: .\content_analysis_sdk_agent.exe --user --toblock=.\d{3}-?\d{2}-?\d{4}. --towarn=.warn. --delays=10

Tested platforms

  • Affected platforms: Windows 10/11
  • Unaffected platforms: macOS, Ubuntu

Steps to reproduce

  1. Go to https://drive.google.com/drive/home and open a Google Doc
  2. Open up a document in an external program (for example Notepad) and type “warning text” into it and copy it
  3. Paste the copied text from step 2 into the Google Doc
  4. Press the “Cancel” button from the “This content may be unsafe” dialog and observe the behavior

Expected result

  • “You’re not permitted to pasted this content” dialog is not displayed

Actual result

  • “You’re not permitted to pasted this content” dialog is displayed

Regression range

Additional notes

  • See the attached video
  • Also reproducing for One Drive Documents
  • Not reproducing for the drag and drop operation

:gstoll, since you are the author of the regressor, bug 1915351, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(gstoll)
Severity: -- → S3
Flags: needinfo?(gstoll)

Setting Fx133 to fixed since the regressor was backed out
https://bugzilla.mozilla.org/show_bug.cgi?id=1915351#c23

This is probably the same issue as bug 1927131

See Also: → 1927131
No longer blocks: 1882607

Verified as fixed on Firefox Nightly 135.0a1 (2024-12-09), using Windows 10/11. Blocked dialog is no longer displayed in Google Docs / OneDrive docs after canceling paste of warning text in Google Docs/OneDrive.
Please not that I've used the following command: ".\content_analysis_sdk_agent.exe --user --toblock=.\d{3}-\d{2}-\d{4}. --towarn=.warn. --delays=10" to test the Paste scenario between godc/gdoc or dgoc/onedrive docs.

Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

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

Attachment

General

Created:
Updated:
Size: