Closed Bug 1192763 Opened 9 years ago Closed 5 years ago

Debugger shows 'loadSourceError' for sources on an IDN

Categories

(DevTools :: Debugger, defect)

39 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: lecotegougdelaforce, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150603135023

Steps to reproduce:

1. Upload this simple HTML file on a webserver with an internationalized domain name (IDN) :

<!DOCTYPE html>
<html>
  <body>
    <script type="text/javascript">
      alert('1');
    </script>
  </body>
</html>

2. Open the JavaScript debugger.

3. Click on « sources > filename » if needed.


Actual results:

The debugger will say "loadSourceError".


Expected results:

The debugger should have loaded the document.
I can confirm that using Windows 7 + Firefox 39.0.3.

My steps:
1. Go to http://öl.de/
2. Open the Debugger panel (Ctrl + Shift + S)
3. Click on 'öl.de/' within the Sources side panel

=> Instead of the script's source you'll see the error message (might be similar, translated from German):

Error loading from source:
loadSourceError
Status: UNCONFIRMED → NEW
Component: Untriaged → Developer Tools: Debugger
Depends on: 987069
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → All
Summary: JavaScript debugger doesn't handle internationalized domain names → Debugger shows 'loadSourceError' for sources on an IDN
Version: 38 Branch → 39 Branch
Product: Firefox → DevTools

I suspect this is fixed now but I can't test it with the URL given in comment #1.

It seems fixed indeed.

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.