Closed
Bug 1703015
Opened 4 years ago
Closed 2 years ago
[Proton] Text is not displayed according to specs in WebXR panel
Categories
(Toolkit :: General, defect, P3)
Toolkit
General
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)
Affected versions
- latest Nightly 89.0a1
- Beta 88.0b7
Affected platforms
- Windows 10 x64
- Ubuntu 18.04 x64
- macOS 10.15
Steps to reproduce
- Launch Firefox.
- 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() }
- 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.
Reporter | ||
Comment 1•4 years ago
|
||
Here is a screenshot with the panel from figma.
Reporter | ||
Updated•4 years ago
|
Has Regression Range: --- → no
Has STR: --- → yes
Updated•4 years ago
|
Component: Messaging System → General
Product: Firefox → Toolkit
Updated•4 years ago
|
Priority: -- → P3
Whiteboard: [proton-door-hangers]
Updated•4 years ago
|
See Also: → https://jira.mozilla.com/browse/FIDEFE-1036
Comment 2•2 years ago
|
||
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.
Description
•