summaryrefslogtreecommitdiff
path: root/ext/bg/js/native-simple-dom-parser.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-18 17:06:30 -0500
committerGitHub <noreply@github.com>2020-12-18 17:06:30 -0500
commit05d4049f16715194842cf8cdf62345478288ee71 (patch)
treebd64ad1829e8da9f08dc968abddb6f6f8cad6d41 /ext/bg/js/native-simple-dom-parser.js
parent9beb659b178ab922a4d11a821ed6d2f1bce40f96 (diff)
DOMParser replacement (#561)
* Add script to build library files * Add built parse5 library * Add new SimpleDOMParser which uses parse5 * Update license info * Update MV3 build to use the new SimpleDOMParser * Update file exclusions * Hide/clarify license info for MV2 builds
Diffstat (limited to 'ext/bg/js/native-simple-dom-parser.js')
-rw-r--r--ext/bg/js/native-simple-dom-parser.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/bg/js/native-simple-dom-parser.js b/ext/bg/js/native-simple-dom-parser.js
index c1752bc4..4e0d89ea 100644
--- a/ext/bg/js/native-simple-dom-parser.js
+++ b/ext/bg/js/native-simple-dom-parser.js
@@ -17,8 +17,6 @@
class NativeSimpleDOMParser {
constructor(content) {
- // TODO : Remove
- // eslint-disable-next-line no-undef
this._document = new DOMParser().parseFromString(content, 'text/html');
}