Closed Bug 1898727 Opened 4 months ago Closed 4 months ago

Firefox is freezing after resizing the window while DLP request is in progress

Categories

(Firefox :: Data Loss Prevention, defect)

Firefox 128
Desktop
Windows
defect

Tracking

()

RESOLVED DUPLICATE of bug 1898718
Tracking Status
firefox-esr115 --- unaffected
firefox126 --- unaffected
firefox127 --- unaffected
firefox128 --- affected

People

(Reporter: bhidecuti, Assigned: gstoll)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Found in

  • 128.0a1 (2024-05-23)

Affected versions

  • 128.0a1 (2024-05-23)

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
  • Have the sample DLP agent running (open a command prompt ( not a Powershell prompt!) in the directory where content_analysis_sdk_agent.exe is located and run the command: .\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:Ubuntu 22.04, macOS 12.6.6

Steps to reproduce

  1. Navigate to https://support.mozilla.org/
  2. Open up a document in an external program (for example Notepad) and type “123456789” into it and copy it
  3. Return to Firefox and paste the “123456789” into the search bar in the middle of the page
  4. While the scan is still in progress, continuously resize the window to its minimum size
  5. Wait for the scan to finish and observe the behavior

Expected result

  • Firefox is not freezing after resizing the window while the scan is in progress

Actual result

  • Firefox is freezing after resizing the window while the scan is in progress, causing the entire desktop to become unresponsive

Regression range

  • This is not a regression as this is a new feature

Additional notes

  • This is an S2 issue because the entire desktop becomes unresponsive, and the user is able to use the device only after opening Task Manager (Ctrl+Alt+Delete). Also, the browser needs to be closed from Task Manager.
  • See the attached video
  • Sometimes, the above steps might need to be repeated 2-3 time to trigger the issue, but after that, it is reproducible every time
  • Also, closing the browser from Task Manager will sometimes generate a silent crash (as mentioned in Bug 1898718):
    https://crash-stats.mozilla.org/report/index/95355402-58ac-400c-8887-b20100240524

After further testing and analysis, we have concluded that an S3 severity would be more appropriate for this issue. This is due to the fact that it is reproducible only when the browser is resized during the transition from the “Scan in progress” dialog to the “You’re not permitted..” dialog, which makes it unlikely to be encountered.

Severity: S2 → S3

This might be the same underlying issue as bug 1898718, let me see if the fix to that bug fixes this.

Assignee: nobody → gstoll
Status: NEW → ASSIGNED

Yes, I was able to reproduce the problem locally before the fix to bug 1898718, but not after I applied it.

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Duplicate of bug: 1898718
Resolution: --- → DUPLICATE

I can also confirm that the issue is no longer reproducing while using Firefox Nightly 128.0a1, build ID 20240529214854, on Windows 10/11. The browser is no longer freezing/crashing when being resized during the transition from the “Scan in progress” dialog to the “You’re not permitted..” dialog.

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

Attachment

General

Created:
Updated:
Size: