Closed Bug 1957349 Opened 7 months ago Closed 7 months ago

Canceling an ongoing operation and performing a new one will wait for the previous operations to complete before scanning the current one

Categories

(Firefox :: Data Loss Prevention, defect)

All
Windows
defect

Tracking

()

RESOLVED DUPLICATE of bug 1956629
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox137 --- disabled
firefox138 --- affected
firefox139 --- affected

People

(Reporter: atrif, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image dlp_agent.gif

Found in

  • 138.0a1 (2025-03-30)

Affected versions

  • 138.0a1 (2025-03-30)
  • 137.0

Tested platforms

  • Affected platforms: Windows 10x64, Windows 11
  • Unaffected platforms: Ubuntu 24, macOS

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
  • DLP Agent is running: .\content_analysis_sdk_agent.exe --user --toblock=.*\d{3}-?\d{2}-?\d{4}.* --towarn=.*warn.* --delays=10

Steps to reproduce

  1. Upload a folder with multiple files.
  2. Cancel the scanning.
  3. Perform a clipboard paste on the Wikipedia page.

Expected result

  • The action from step 3 is scanned, and the action from step 1 is canceled.

Actual result

  • The actions from step 1 are not canceled inside the DLP Agent; once completed, the action from comment 1 is scanned.

Regression range

  • Not a regression.

Additional notes

  • Attached a screen recording.
  • This was filed for tracking purposes. Engineering announced to us that the demo DLP agent cannot cancel an ongoing operation, and this issue should not happen with a real agent.

(In reply to Alexandru Trif, Desktop Test Engineering [:atrif] from comment #0)

  • This was filed for tracking purposes. Engineering announced to us that the demo DLP agent cannot cancel an ongoing operation, and this issue should not happen with a real agent.

This is potentially true but hasn't been confirmed with a non-demo agent. Also, we have a fix for it that is nearly ready in bug 1956629. We do, however, expect that this is not as dramatic outside of test cases, so we don't consider it a blocker for the feature.

No longer blocks: 1882607
Status: NEW → RESOLVED
Closed: 7 months ago
Duplicate of bug: 1956629
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: