Open Bug 1899237 Opened 1 month ago Updated 12 days ago

DLP content messages are not RTL

Categories

(Firefox :: Data Loss Prevention, defect)

Desktop
Windows
defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox126 --- unaffected
firefox127 --- unaffected
firefox128 --- affected

People

(Reporter: atrif, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image image.png

Found in

  • 128.0a1 (2024-05-27)

Affected versions

  • 128.0a1 (2024-05-27)

Tested platforms

  • Affected platforms: Windows 10x64, Windows 11
  • Unaffected platforms: Ubuntu 23, 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
  • run the DLP agent in CMD using: .\content_analysis_sdk_agent.exe --user --toblock=.\d{3}-?\d{2}-?\d{4}. --towarn=.warn. --delays=10
  • use RTL build (e.g he or ar)

Steps to reproduce

  1. Copy the “123456789” text in the clipboard and open Wikipedia.
  2. Paste the text and observe the message while the scan is ongoing and after the scan is finished.

Expected result

  • All message content is in right to left (RTL).

Actual result

  • Only the button and the first part of the message ("You're not permitted to paste this content") are right to left (RTL). The middle part of the message is not in right to left (RTL)

Regression range

  • Not a regression. New implementation.

Additional notes

  • Attached a screenshot.
  • This applies to warning messages.
No longer blocks: 1882607
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: