Closed Bug 1703015 Opened 3 years ago Closed 1 year ago

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


(Toolkit :: General, defect, P3)




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


(Reporter: cgeorgiu, Unassigned)


(Blocks 2 open bugs)


(Whiteboard: [proton-door-hangers])


(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[";1"].createInstance(Ci.nsIArray), QueryInterface: ChromeUtils.generateQI(["nsIContentPermissionType"]), }; let types = Cc[";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]

At least for the near term, we're not planning on shipping WebXR support - at least as far as I know. We've got it disabled by default in all channels. We can revisit this permission panel's design if we decide to ship this DOM feature.

Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.