Closed
Bug 1141122
Opened 10 years ago
Closed 10 years ago
Replace 'about:conversation' in Loop gUM doorhanger with a more meaningful alternative source
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(firefox38 verified, firefox39 verified)
People
(Reporter: mikedeboer, Assigned: mikedeboer)
References
Details
(Whiteboard: [screensharing][strings])
Attachments
(1 file, 2 obsolete files)
|
2.16 KB,
patch
|
florian
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
During the Window/ tabsharing feature review the issue was raised that the source mentioned in the Screenshare gUM doorhanger, anchored to the conversation window, mentions 'about:loopconversation', which is not useful.
For Fx38 we decided to replace this source with the Conversation/ room name.
In Fx39 we'll be changing the string, but that's not viable for Fx38 (string freeze).
Flags: qe-verify+
Flags: firefox-backlog+
Updated•10 years ago
|
Rank: 9
Whiteboard: [screensharing][strings]
| Assignee | ||
Comment 1•10 years ago
|
||
Mark, we saw this when you were sharing your screen on Vidyo, but the thing is that I see '...with this page' instead of '...with about:loopconversation'.
So my question is: was this bug perhaps due to something you had applied locally?
Flags: needinfo?(standard8)
Comment 2•10 years ago
|
||
(In reply to Mike de Boer [:mikedeboer] from comment #1)
> Mark, we saw this when you were sharing your screen on Vidyo, but the thing
> is that I see '...with this page' instead of '...with
> about:loopconversation'.
That sounds like you're looking at the prompts after permission is granted. Try looking at the window sharing prompt before granting permission.
Flags: needinfo?(standard8)
| Assignee | ||
Comment 3•10 years ago
|
||
This will display 'Firefox Hello' for gUM permission request prompts inside Loop conversation windows. (Only shown for Window sharing, to select a window)
| Assignee | ||
Updated•10 years ago
|
Iteration: --- → 39.2 - 23 Mar
Comment 4•10 years ago
|
||
Comment on attachment 8576685 [details] [diff] [review]
Patch v1: supply a more canonical alternative to the about:loopconversation
Review of attachment 8576685 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/modules/webrtcUI.jsm
@@ +188,5 @@
> let chromeWin = chromeDoc.defaultView;
> +
> + // Special case-ing Loop/ Hello gUM requests.
> + if (host == "about:loopconversation" && "LoopUI" in chromeWin)
> + host = chromeWin.LoopUI.getUserMediaHost();
Can this go in the "getHost" method that already has a special case for 'about:'?
Attachment #8576685 -
Flags: review?(florian)
| Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8576685 -
Attachment is obsolete: true
Attachment #8576695 -
Flags: review?(florian)
Comment 6•10 years ago
|
||
Comment on attachment 8576695 [details] [diff] [review]
Patch v2: supply a more canonical alternative to the about:loopconversation
Review of attachment 8576695 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/modules/webrtcUI.jsm
@@ +170,5 @@
> // For about URIs, just use the full spec, without any #hash parts
> host = uri.specIgnoringRef;
> + // Special case-ing Loop/ Hello gUM requests.
> + if (host == "about:loopconversation" && "LoopUI" in chromeWin)
> + host = chromeWin.LoopUI.getUserMediaHost();
Introducing a dependency on chromeWin is annoying here. I would prefer if you just used Services.strings, like the 'else' case does.
@@ +188,4 @@
> let chromeDoc = aBrowser.ownerDocument;
> let chromeWin = chromeDoc.defaultView;
> + let uri = Services.io.newURI(aRequest.documentURI, null, null);
> + let host = getHost(uri, null, chromeWin);
This isn't the only caller of getHost.
Attachment #8576695 -
Flags: review?(florian) → review-
| Assignee | ||
Comment 7•10 years ago
|
||
Like this, you mean?
Attachment #8576695 -
Attachment is obsolete: true
Attachment #8576704 -
Flags: review?(florian)
Comment 8•10 years ago
|
||
Comment on attachment 8576704 [details] [diff] [review]
Patch v2: supply a more canonical alternative to the about:loopconversation
Review of attachment 8576704 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/modules/webrtcUI.jsm
@@ +167,5 @@
> } catch (ex) {};
> if (!host) {
> if (uri && uri.scheme.toLowerCase() == "about") {
> // For about URIs, just use the full spec, without any #hash parts
> host = uri.specIgnoringRef;
This line looks like it should go in a 'else' block. And the comment above changed to say "For other about URIs..."
@@ +191,5 @@
> let uri = Services.io.newURI(aRequest.documentURI, null, null);
> let host = getHost(uri);
> let chromeDoc = aBrowser.ownerDocument;
> let chromeWin = chromeDoc.defaultView;
> +
Please revert this whitespace-only change.
Attachment #8576704 -
Flags: review?(florian) → review+
| Assignee | ||
Comment 9•10 years ago
|
||
Pushed to fx-team with comment addressed: https://hg.mozilla.org/integration/fx-team/rev/912179142d7e
Comment 10•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: mozilla38 → mozilla39
| Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8576704 [details] [diff] [review]
Patch v2: supply a more canonical alternative to the about:loopconversation
Approval Request Comment
[Feature/regressing bug #]: Loop/ Hello screensharing milestone
[User impact if declined]: User will see a new option that allows her/ him to share a window or Firefox tabs inside a room (aka. conversation).
[Describe test coverage new/current, TreeHerder]: landed on m-c, tests pass.
[Risks and why]: minor
[String/UUID change made/needed]: n/a
Attachment #8576704 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
QA Contact: bogdan.maris
Updated•10 years ago
|
Attachment #8576704 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•10 years ago
|
status-firefox38:
--- → affected
| Assignee | ||
Comment 12•10 years ago
|
||
Comment 13•10 years ago
|
||
Verified that 'about:loopconversation' was replaced with 'Firefox Hello' in doorhanger across platforms (Windows 7 64-bit, Mac OS X 10.9.5 and Ubuntu 14.04 32-bit) on latest Nightly. I`m gonna close this bug as verified but will get back to verify on Aurora tomorrow.
Status: RESOLVED → VERIFIED
Comment 14•10 years ago
|
||
Verified on Firefox Developer edition as well across platforms (Windows 8.1 64-bit, Mac OS X 10.9.5 and Ubuntu 14.04 32-bit).
You need to log in
before you can comment on or make changes to this bug.
Description
•