| Index: third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js b/third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js
|
| index c7ff8142f0953929f649b92c7fcd3f6927a64111..2354b93bb8ac1c9372217fea7050c953c3e7949b 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js
|
| @@ -106,6 +106,9 @@ Resources.AppManifestView = class extends UI.VBox {
|
| if (!data)
|
| return;
|
|
|
| + if (data.charCodeAt(0) === 0xFEFF)
|
| + data = data.slice(1); // Trim the BOM as per https://tools.ietf.org/html/rfc7159#section-8.1.
|
| +
|
| var parsedManifest = JSON.parse(data);
|
| this._nameField.textContent = stringProperty('name');
|
| this._shortNameField.textContent = stringProperty('short_name');
|
|
|