Closed Bug 1703015 Opened 3 years ago Closed 2 years ago

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

Categories

(Toolkit :: General, defect, P3)

defect

Tracking

()

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

People

(Reporter: cgeorgiu, 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]

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.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: