Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Fix WebXR quick permission regression. Unify permission messages.#3070

Merged
bluemarvin merged 1 commit intomasterfrom
v10/webxr_permission_fix
Mar 30, 2020
Merged

Fix WebXR quick permission regression. Unify permission messages.#3070
bluemarvin merged 1 commit intomasterfrom
v10/webxr_permission_fix

Conversation

@MortimerGoro
Copy link
Copy Markdown
Contributor

No description provided.

@MortimerGoro MortimerGoro requested a review from bluemarvin March 30, 2020 14:11
@MortimerGoro MortimerGoro self-assigned this Mar 30, 2020
@MortimerGoro MortimerGoro requested a review from keianhzo March 30, 2020 14:12
@MortimerGoro MortimerGoro force-pushed the v10/webxr_permission_fix branch from 89bd2cf to cfadb31 Compare March 30, 2020 14:38
@MortimerGoro MortimerGoro changed the title Fix WebXR quick permission regression Fix WebXR quick permission regression. Unify permission messages. Mar 30, 2020
@bluemarvin bluemarvin merged commit 678e7bd into master Mar 30, 2020
@bluemarvin bluemarvin deleted the v10/webxr_permission_fix branch March 30, 2020 17:38
<!-- This string is displayed in the title of the quick WebXR blocking dialog, accessed from the VR icon in the URL bar.
'%1$s' will be replaced at runtime with the app's name. -->
<string name="webxr_block_dialog_message">‘%1$s’ wants to access WebXR API</string>
<string name="webxr_permission_dialog_message">WebXR is %1$s for this site. (&lt;a href="%2$s">Learn More&lt;/a>)</string>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two questions:

  1. What does WebXR is Firefox for this site. mean? Because that's what the comment implies
  2. Is the HTML supposed to look like this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ups, the comment is wrong. The real text will be: WebXR is "on/off" for this site

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And where do "ON" and "OFF" come from? Note that they're adjectives, so they need to be adapted to the name, and you can't reuse generic ones.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any update on this? We can't expose for localization any strings until this is fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants