You are not permitted to print this document message is no longer displayed when printing sensitive data
Categories
(Firefox :: Data Loss Prevention, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox126 | --- | unaffected |
firefox127 | --- | unaffected |
firefox128 | --- | verified |
People
(Reporter: atrif, Assigned: gstoll)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: perf-alert, regression)
Attachments
(2 files)
Found in
- 128.0a1 (2024-05-29)
Affected versions
- 128.0a1 (2024-05-29)
Tested platforms
- Affected platforms: Windows 10x64, Windows 11x64
- 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
- Print the page.
Expected result
- After 10 seconds the dialog
You're not permitted to print this document
is displayed.
Actual result
- The print preview disappears and nothing happens.
Regression range
- This most likely started after bug 1898718.
Additional notes
- Attached a screen recording.
- The document is not printed as expected.
- The Notification that the DLP agent is reviewing data is displayed.
Reporter | ||
Updated•8 months ago
|
Comment 1•8 months ago
|
||
:gstoll, since you are the author of the regressor, bug 1898718, could you take a look?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 2•8 months ago
|
||
Wow, bug 1898718 did regress this! That's surprising. Gonna take a look.
Assignee | ||
Comment 3•8 months ago
|
||
I think the problem is that the call to print is throwing an NS_ERROR_CONTENT_BLOCKED
error, which gets caught and then the print preview window gets closed right away, which also closes the "blocked" dialog. This happened to work in the past because the dialog was being shown synchronously, which wouldn't let the window close until it went away I guess?
Assignee | ||
Comment 4•8 months ago
|
||
I verified that quitting while the synchronous version of the dialog is active doesn't hang, so we're not re-regressing bug 1898718.
Comment 6•8 months ago
|
||
bugherder |
Reporter | ||
Comment 7•8 months ago
•
|
||
Verified fixed with Firefox 128.0a1 (20240605093026) on Windows 10x64 and Windows 11. The DLP block dialog is successfully displayed after following steps from comment 0 and no shutdown hang can be seen when closing Firefox while the DLP block dialog is active. However, this might have introduced a regression, but we are unsure, see bug 1900798 for more details.
Comment 8•7 months ago
|
||
Perfherder has detected a talos performance change from push 3b98afd40620067845b46a4d7d5c05c010c1b4bc.
Improvements:
Ratio | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|
16% | about_preferences_basic | macosx1015-64-shippable-qr | e10s fission stylo webrender-sw | 127.52 -> 107.17 |
8% | about_preferences_basic | linux1804-64-shippable-qr | e10s fission stylo webrender-sw | 171.36 -> 157.09 |
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.
You can run these tests on try with ./mach try perf --alert 633
For more information on performance sheriffing please see our FAQ.
Description
•