Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Mar 30, 2020

Conversation

MortimerGoro
Copy link
Contributor

No description provided.

@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
@@ -1453,7 +1453,7 @@ the Select` button. When clicked it closes all the previously selected tabs -->

<!-- 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

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
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

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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants