Closed
Bug 1507077
Opened 7 years ago
Closed 3 years ago
DevTools performance import use wrong encoding
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect, P2)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: CoolCmd, Unassigned)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Steps to reproduce:
load attached testcase.html
F12 -> performance -> record 5 seconds
save the record
import the record
switch to "Call Tree"
Actual results:
you will see unreadable text in wrong encoding
Expected results:
you should see the text "Функция"
Attachment #9024949 -
Attachment mime type: text/html → text/html; charset=utf-8
Summary: DevTools performance data export use wrong encoding → DevTools performance export use wrong encoding
Comment 1•7 years ago
|
||
Hi,
thanks for the report!
This indeed works for me, is there anything I might be missing?
Flags: needinfo?(CoolCmd)
Updated•7 years ago
|
Priority: -- → P3
Comment 2•7 years ago
|
||
Ah sorry, I just understood this is about the _export_. Let me look.
Comment 3•7 years ago
|
||
I don't see the problem myself either. The export looks good.
Can you share your export in the bug?
Remember JSON files need to be read in UTF-8.
Comment 5•7 years ago
|
||
The JSON itself looks right, but I see that the import seems to be wrong indeed. So I reproduce with this STR, thanks!
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: DevTools performance export use wrong encoding → DevTools performance import use wrong encoding
Updated•7 years ago
|
Priority: P3 → P2
Comment 6•7 years ago
|
||
The error is likely lying somewhere around https://searchfox.org/mozilla-central/rev/007b66c1f5f7a1b9a900a2038652a16a020f010c/devtools/client/performance/modules/io.js#69.
Updated•3 years ago
|
Severity: normal → S3
Comment 7•3 years ago
|
||
I believe that this report is related to the old DevTools Profiler.
The Performance panel in DevTools now points to the new Firefox profiler available at profiler.firefox.com
Closing as Invalid bug
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•