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)

64 Branch
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: CoolCmd, Unassigned)

Details

Attachments

(3 files)

Attached file testcase.html
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
Attached image Screenshot in nightly
Hi, thanks for the report! This indeed works for me, is there anything I might be missing?
Flags: needinfo?(CoolCmd)
Priority: -- → P3
Ah sorry, I just understood this is about the _export_. Let me look.
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.
Attached file profile.json
import this file and switch to it
Flags: needinfo?(CoolCmd)
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
Priority: P3 → P2
Severity: normal → S3

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.

Attachment

General

Creator:
Created:
Updated:
Size: