[Webkit-unassigned] [Bug 171207] [GTK] Web Inspector: crashes on every page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 1 01:15:06 PST 2017


Sergey Mende <sergey at mende.spb.ru> changed:

           What    |Removed                     |Added
                 CC|                            |sergey at mende.spb.ru

--- Comment #3 from Sergey Mende <sergey at mende.spb.ru> ---
The problem lies in the discrepancy between LANG environment variable format and  https://www.rfc-editor.org/rfc/bcp/bcp47.txt spec.

The Web Inspector does not cause an internal error if LANG is set to a simple two characters language code, i.e.:

    env LANG="en" midori

works just fine. 

As soon as LANG is set to a full spec, e.g. "en_US.UTF-8", the Web Inspector fails to open with the following message in its pane:

TypeError:​ failed to initialize NumberFormat due to invalid locale (at Utilities.js:​801:​57)​
    NumberFormat @ [native code]​
    toLocaleString @ [native code]​
    d @ Utilities.js:​801:​57
    value @ Utilities.js:​881:​64
    value @ Utilities.js:​899:​29
    _loadNewRecording @ TimelineManager.js:​655:​108
    reset @ TimelineManager.js:​114:​31
    TimelineManager @ TimelineManager.js:​62:​19
    loaded @ Main.js:​130:​50
    global code @ Main.html:​808:​18

I am using stock FC26's package (webkitgtk4-2.18.3-1.fc26.x86_64)

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171201/03b9584b/attachment.html>

More information about the webkit-unassigned mailing list