Closed Bug 1273097 Opened 8 years ago Closed 5 years ago

Cyrillic URLs are not loaded in Web Developer Tools due to the broken encoding

Categories

(DevTools :: Debugger, defect, P3)

44 Branch
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: test, Unassigned)

References

Details

(Keywords: regression)

Attachments

(2 files)

Attached image Untitled.png
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID: 20160429154717

Steps to reproduce:

Open a whatever Cyrillic-domain site in Firefox. This one for example:

http://xn--80ahjdhy.xn--p1ai/

Press Cntrl+Shift+S on the keyboard.

Press F5.


Actual results:

Error loading this URL: Could not load the source for http://дизайн.ÑÑ/.
Error: Failed to fetch http://дизайн.ÑÑ/. Code 2152857618.
Stack: mainThreadFetch/onResponse@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/DevToolsUtils.js:418:23
NetUtil_asyncFetch/<.onStopRequest@resource://gre/modules/NetUtil.jsm:128:17
Line: 418, column: 23


Expected results:

You should see the desired content.
Component: Untriaged → Developer Tools: Debugger
It regressed in 44 by Bug 1199430:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=b31170d704caf2bb09c184b5655a6165a4469273&tochange=657c9f974bdf493a175434fdac701fcd58a935c1

It has been partially fixed in 48 by bug 1258892:
https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=dbb14513cb83681e2c2832c712b95c23bc9bf468&tochange=15d2b8a78f3bc025cbc107d49777c5817fe1ecd5

There are still 3 remaining issues in the Debugger(with 49):
1) clicking on the Cyrillic domain throws error: http://i.imgur.com/cHZfbiq.jpg
2) the Cyrillic domain is not in bold (instead of the other domains): http://i.imgur.com/ff7Xfjg.jpg
3) JS scripts from Cyrillic domain are parsed with the entire URL: http://i.imgur.com/G0tNAZf.jpg

In old versions, like FF33, it was fine: http://i.imgur.com/AQtR47i.jpg
Status: UNCONFIRMED → NEW
Depends on: 1258892
Ever confirmed: true
Flags: needinfo?(jlaster)
Keywords: regression
Version: 46 Branch → 44 Branch
Looks like a papercut. Marking as P3.
Priority: -- → P3
Product: Firefox → DevTools

CC Honza, could you look into this?

Flags: needinfo?(jlaster) → needinfo?(odvarko)
Attached image image.png

I can't reproduce the problem anymore.

I couldn't test directly with http://дизайн.рф/ since it's for sale and not scripts included on the page, but I tested with http://мы.рф/ and debugger is loading scripts from this domain just fine.

See the screenshot, there are (1) cyrillic chars in the domain name and (2) cyrillic comments in the source code. Debugger works just fine.

Closing

Honza

Flags: needinfo?(odvarko)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: