Open Juraj-Masiar opened 4 months ago
When including this library in a Firefox addon, the Firefox linter will generate a warning since "innerHtml" is forbidden in addons: https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML#sect3
What's more, the logger here is never called with appendToDocument set to true, so the "innerHtml" is never actually used: https://github.com/rotemdan/lzutf8.js/blob/e691f5244a51ea8785a083216999756a7feb35c1/src/Globals/Globals.ts#L49
appendToDocument
true
When including this library in a Firefox addon, the Firefox linter will generate a warning since "innerHtml" is forbidden in addons: https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML#sect3
What's more, the logger here is never called with
appendToDocument
set totrue
, so the "innerHtml" is never actually used: https://github.com/rotemdan/lzutf8.js/blob/e691f5244a51ea8785a083216999756a7feb35c1/src/Globals/Globals.ts#L49