summaryrefslogtreecommitdiffstats
path: root/toolkit/components/reader/ReaderWorker.js
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-06-03 08:07:20 -0400
committerGitHub <noreply@github.com>2018-06-03 08:07:20 -0400
commit83394569a1e3c6a48a5c0dbd380a1a7cf741d17a (patch)
tree18933e3ecae894c3137b103694cc211dc1f4f2e2 /toolkit/components/reader/ReaderWorker.js
parentdd7046209e4e2e51f48e1499366692e7e8b78ff3 (diff)
parent984dad43ae49ba1cfa236af5567bf4c934e59263 (diff)
downloadUXP-83394569a1e3c6a48a5c0dbd380a1a7cf741d17a.tar
UXP-83394569a1e3c6a48a5c0dbd380a1a7cf741d17a.tar.gz
UXP-83394569a1e3c6a48a5c0dbd380a1a7cf741d17a.tar.lz
UXP-83394569a1e3c6a48a5c0dbd380a1a7cf741d17a.tar.xz
UXP-83394569a1e3c6a48a5c0dbd380a1a7cf741d17a.zip
Merge pull request #436 from Ascrod/readerview
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.js2
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();
},
};