Open Bug 1936798 Opened 2 months ago Updated 28 days ago

The blocked dialog stacks 2-3 times after pasting content to a website that is part of the DenyUrlRegexList

Categories

(Firefox :: Data Loss Prevention, defect)

Firefox 135
Desktop
Windows
defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox133 --- unaffected
firefox134 --- unaffected
firefox135 --- disabled

People

(Reporter: bhidecuti, Unassigned)

References

(Blocks 2 open bugs, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached video video showing the issue

Found in

  • 135.0a1 (2024-12-12)

Affected versions

  • 135.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 yahoo.com
  2. Copy any random text and paste it inside the Search field
  3. Press the “Ok” button from the “You're not permitted to paste this content dialog” dialog and observe the behavior

Expected result

  • “You're not permitted to paste din content” dialog is shown only once

Actual result

  • “You're not permitted to paste din content” dialog is stacked 2-3 times

Regression range

  • I'm uncertain if bug 1936225 or bug 1915351 is the actual regressor. Before the fix for bug 1936225, Firefox is crashing and before the fix for 1915351 the issue is not reproducing

Additional notes

  • See the attached video
  • Also reproducing without the agent running
  • Not reproducing for webpages that are not part of the DenyUrlRegexList

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

For more information, please visit BugBot documentation.

Flags: needinfo?(gstoll)
Flags: needinfo?(gstoll)

The severity field is not set for this bug.
:handyman, could you have a look please?

For more information, please visit BugBot documentation.

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

This might get fixed by bug 1928064 (or we may be able to fix it in a similar way)

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

Attachment

General

Created:
Updated:
Size: