ported from UXP:

- Issue #1138 - Part 1: refactor the JSON Viewer stream converter (8f1e1f40c)
- Issue #1138 - Part 2: JSON Viewer should ignore BOM (32b3994a7)
- Issue #1138 - Part 3: avoid quirks mode in JSON Viewer (55d401707)
- Issue #1138 - Part 4: fix JSON Viewer save functionality (73cdb3106)
This commit is contained in:
2022-04-05 14:27:15 +08:00
parent b275a7ccf9
commit 9b70831b31
5 changed files with 222 additions and 254 deletions
+3 -1
View File
@@ -3,7 +3,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@import "resource://devtools/client/shared/components/reps/reps.css";
@import "resource://devtools/client/themes/variables.css";
@import "resource://devtools/client/themes/common.css";
@import "resource://devtools/client/themes/toolbars.css";
@import "resource://devtools/client/shared/components/tree/tree-view.css";
@import "resource://devtools/client/shared/components/tabs/tabs.css";