Firefox is freezing if resizing the window during the transition to the blocked dialog for printing operation
Categories
(Firefox :: Data Loss Prevention, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox126 | --- | unaffected |
firefox127 | --- | unaffected |
firefox128 | --- | wontfix |
firefox129 | --- | verified |
People
(Reporter: bhidecuti, Assigned: gstoll)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression)
Attachments
(2 files)
Found in
- 128.0a1 (2024-06-05)
Affected versions
- 128.0a1 (2024-06-05)
Tested platforms
- Affected platforms: Windows 10/11
- Unaffected platforms: macOS, Ubuntu
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
Steps to reproduce
- Navigate to https://en.wikipedia.org/wiki/123456789
- Open the Print Preview (ctrl+P) and press the “Print” button
- Wait for the OS notification regarding the DLP agent reviewing data to be displayed and then resize the browser during the transition to the “You’re not permitted..” blocked dialog
- Observe the behavior
Expected result
- Firefox is not freezing after resizing the window during the transition to the “You’re not permitted..” blocked dialog
Actual result
- Firefox is freezing, causing the entire desktop to become unresponsive
Regression range*
- We suspect that bug 1899714 introduced this issue, but we cannot be sure due to the same bug. This is happening before bug 1898718 as well.
Additional notes
- See the attached video
- The issue is fixed after closing Firefox from Task Manager
- This is only reproducing for the printing operation - and only when resizing the window during the transition to the blocked dialog
- Not reproducing when resizing the window and printing operation is allowed
- Not reproducing for blocked paste / upload operation
Changing the severity to S3 as I accidentally selected S4.
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Comment 2•25 days ago
|
||
A new attempt to fix these problems - always use asynchronous dialogs, but in the print preview case show the "DLP blocked" dialog on the original browsingContext that displayed the print preview dialog (since the dialog itself is about to close)
Comment 3•20 days ago
|
||
Set release status flags based on info from the regressing bug 1899714
Updated•20 days ago
|
Pushed by gstoll@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/99ddc4351882 go back to async "DLP blocked" dialog for print preview r=dlp-reviewers,handyman
Comment 6•18 days ago
|
||
The patch landed in nightly and beta is affected.
:gstoll, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox128
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 7•18 days ago
|
||
No (although we will be uplifting to ESR next cycle)
Verified as fixed using Firefox Nightly 129.0a1, build ID 20240613215041, using Windows 11. Firefox is no longer freezing after resizing the window during the transition to the “You’re not permitted..” blocked dialog.
Description
•