Open Bug 1703015 Opened 6 months ago Updated 6 months ago

[Proton] Text is not displayed according to specs in WebXR panel

Categories

(Toolkit :: General, defect, P3)

defect

Tracking

()

Tracking Status
firefox-esr78 --- unaffected
firefox87 --- unaffected
firefox88 --- affected
firefox89 --- affected

People

(Reporter: ciprian_georgiu, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [proton-door-hangers])

Attachments

(2 files)

Attached image Screenshot_1.png

Affected versions

  • latest Nightly 89.0a1
  • Beta 88.0b7

Affected platforms

  • Windows 10 x64
  • Ubuntu 18.04 x64
  • macOS 10.15

Steps to reproduce

  1. Launch Firefox.
  2. In Browser Console paste the text below and press Enter.
    { function makeMockPermissionRequest(browser) { let type = { options: Cc["@mozilla.org/array;1"].createInstance(Ci.nsIArray), QueryInterface: ChromeUtils.generateQI(["nsIContentPermissionType"]), }; let types = Cc["@mozilla.org/array;1"].createInstance(Ci.nsIMutableArray); types.appendElement(type); let principal = browser.contentPrincipal; let result = { types, isHandlingUserInput: false, principal, topLevelPrincipal: principal, requester: null, cancelled: false, cancel() { this.cancelled = true; }, allowed: false, allow() { this.allowed = true; }, getDelegatePrincipal(aType) { return principal; }, QueryInterface: ChromeUtils.generateQI(["nsIContentPermissionRequest"]), }; // In the e10s-case, nsIContentPermissionRequest will have // element defined. window is defined otherwise. if (browser.isRemoteBrowser) { result.element = browser; } else { result.window = browser.contentWindow; } return result; } const { PermissionUI } = ChromeUtils.import( "resource:///modules/PermissionUI.jsm" ); let Prompt = PermissionUI.XRPermissionPrompt; let mockRequest = makeMockPermissionRequest(gBrowser.selectedBrowser); let TestPrompt = new Prompt(mockRequest); TestPrompt.prompt() }
  3. Focus again on the tab opened in step 1.

Expected result

  • "This may expose sensitive information" text is displayed on the second row, and the text is not bolded.

Actual result

  • "This may expose sensitive information" text is displayed on the same row, and the text is bolded.

Suggested Severity

  • S3, since this won't affected the end users.

Regression range

  • Not a regression.

Additional notes

  • please observe the attached screencast.
Attached image webXR.png

Here is a screenshot with the panel from figma.

Has Regression Range: --- → no
Has STR: --- → yes
Component: Messaging System → General
Product: Firefox → Toolkit
Priority: -- → P3
Whiteboard: [proton-door-hangers]
You need to log in before you can comment on or make changes to this bug.