Closed
Bug 878939
Opened 11 years ago
Closed 11 years ago
WebRTC doorhanger shows IDN as punycode
Categories
(Firefox :: Site Permissions, defect)
Firefox
Site Permissions
Tracking
()
VERIFIED
FIXED
Firefox 24
People
(Reporter: mwobensmith, Assigned: dao)
Details
(Whiteboard: [getUserMedia][blocking-gum-])
Attachments
(2 files)
150.24 KB,
image/png
|
Details | |
933 bytes,
patch
|
Dolske
:
review+
|
Details | Diff | Splinter Review |
When a request for cam/mic comes from an origin that has a valid IDN, the WebRTC permission doorhanger displays the origin incorrectly. The domain token(s) that contain non-ASCII are displayed as punycode.
Other portions of the UI - address bar, tab title bar, status bar - display the correct IDN.
See attached screenshot.
For comparison, this does not affect the geolocation doorhanger, which correctly canonicalizes the domain name.
My own repro case was simulated with a local server. To reproduce, use a server of your own that allows wildcard subdomains, and add a subdomain with a non-ASCII character.
Reporter | ||
Updated•11 years ago
|
QA Contact: jsmith
Comment 1•11 years ago
|
||
This is a bug, but a low priority one. I don't think I've ever seen in any of the top site testing I've done where UTF-8 characters was used for the host origin. Many cases host origins typically rely on ASC-II character sets, even in countries outside of the United States. For example, if I was in a Spanish locale and made use of a subdomain to represent a country-specific site, sites very commonly use es.yourhost.com.
Component: Networking → General
Product: Core → Firefox
Whiteboard: [getUserMedia][blocking-gum-]
Reporter | ||
Comment 2•11 years ago
|
||
Low priority bug, but to be clear, this isn't just about subdomains. It's about any IDN/Unicode domain, of which there are currently about one million registered with Verisign alone.
Adding Simon, who did the most recent work for IDNs.
Should get fixed eventually.
Comment 3•11 years ago
|
||
(In reply to Matt Wobensmith from comment #2)
> Low priority bug, but to be clear, this isn't just about subdomains. It's
> about any IDN/Unicode domain, of which there are currently about one million
> registered with Verisign alone.
Note - That's small in the grand context of all possible origins on the web.
>
> Adding Simon, who did the most recent work for IDNs.
>
> Should get fixed eventually.
A question that needs to be answered here is to find out if this applies to more than just the WebRTC doorhanger, as I would not be surprised if this happened with other permission doorhangers. What happens if you run this same test case with geolocation? desktop notifications?
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dao
OS: Mac OS X → All
Hardware: x86 → All
Updated•11 years ago
|
OS: All → Mac OS X
Hardware: All → x86
Assignee | ||
Updated•11 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Comment 10•11 years ago
|
||
I pushed a patch to try at https://tbpl.mozilla.org/?tree=Try&rev=baa6c604c6d8 but am just off for a week's vacation so won't be able until after 2013-06-17.
Assignee | ||
Comment 11•11 years ago
|
||
Attachment #762543 -
Flags: review?(dolske)
Updated•11 years ago
|
Attachment #762543 -
Flags: review?(dolske) → review+
Assignee | ||
Comment 12•11 years ago
|
||
Comment 13•11 years ago
|
||
For electrolysis this should probably use gBrowser.currentURI.
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to Tom Schuster [:evilpie] from comment #13)
> For electrolysis this should probably use gBrowser.currentURI.
This would regress bug 878924.
Assignee | ||
Comment 15•11 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #14)
> (In reply to Tom Schuster [:evilpie] from comment #13)
> > For electrolysis this should probably use gBrowser.currentURI.
>
> This would regress bug 878924.
I mean bug 876044...
Comment 16•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
Comment 17•11 years ago
|
||
Filed bug 883745 as a follow-up
Updated•10 years ago
|
Component: General → Device Permissions
You need to log in
before you can comment on or make changes to this bug.
Description
•