diff options
author | New Tobin Paradigm <email@mattatobin.com> | 2018-06-03 08:07:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-03 08:07:20 -0400 |
commit | 83394569a1e3c6a48a5c0dbd380a1a7cf741d17a (patch) | |
tree | 18933e3ecae894c3137b103694cc211dc1f4f2e2 /toolkit/components/reader/ReaderWorker.js | |
parent | dd7046209e4e2e51f48e1499366692e7e8b78ff3 (diff) | |
parent | 984dad43ae49ba1cfa236af5567bf4c934e59263 (diff) | |
download | UXP-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.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(); }, }; |