source formater isn't working properly for some scripts
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
People
(Reporter: martin.chomage, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
Steps to reproduce:
go on youtube,
open the script from https://www.youtube.com/yts/jsbin/desktop_polymer_inlined_html_polymer_flags_v2-vfl3UVLCd/desktop_polymer_inlined_html_polymer_flags_v2.js
click on the "{}" button
Actual results:
the beginning of the script is properly formated and indented
but at some point, no indentation is done at all, everything is aligned to the left
Expected results:
when i try to pretify the same code there https://prettier.io/playground/
the code is properly formated and indented, i expext firefox to work too
Comment 1•5 years ago
|
||
Resetting severity to default of --
.
Hi,
I don't have the technical knowledge to confirm this issue but I'll add product and component so the team can make some research on it. Hopefully, someone with a more deep understanding of this matter can help. Feel free to route this ticket to the corresponding team.
Regards,
Jerónimo.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Description
•