diff options
author | Ascrod <32915892+Ascrod@users.noreply.github.com> | 2018-06-01 21:32:59 -0400 |
---|---|---|
committer | Ascrod <32915892+Ascrod@users.noreply.github.com> | 2018-06-02 15:49:59 -0400 |
commit | 984dad43ae49ba1cfa236af5567bf4c934e59263 (patch) | |
tree | 9a0e801344d8588d3b3f0d034313449c8a00e79f /toolkit/components/reader/ReaderWorker.js | |
parent | 7d9e2a108478d1fc79aa25b2ac56b62249e31dc5 (diff) | |
download | UXP-984dad43ae49ba1cfa236af5567bf4c934e59263.tar UXP-984dad43ae49ba1cfa236af5567bf4c934e59263.tar.gz UXP-984dad43ae49ba1cfa236af5567bf4c934e59263.tar.lz UXP-984dad43ae49ba1cfa236af5567bf4c934e59263.tar.xz UXP-984dad43ae49ba1cfa236af5567bf4c934e59263.zip |
Update Readability from mozilla-central release branch (FF 60.0).
Diffstat (limited to 'toolkit/components/reader/ReaderWorker.js')
-rw-r--r-- | toolkit/components/reader/ReaderWorker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/reader/ReaderWorker.js b/toolkit/components/reader/ReaderWorker.js index 9ae589d7d..69426788b 100644 --- a/toolkit/components/reader/ReaderWorker.js +++ b/toolkit/components/reader/ReaderWorker.js @@ -47,7 +47,7 @@ var Agent = { * @return {object} Article object returned from Readability. */ parseDocument(uri, serializedDoc, options) { - let doc = new JSDOMParser().parse(serializedDoc); + let doc = new JSDOMParser().parse(serializedDoc, uri.spec); return new Readability(uri, doc, options).parse(); }, }; |