summaryrefslogtreecommitdiffstats
path: root/toolkit/components/reader/ReaderWorker.js
diff options
context:
space:
mode:
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();
},
};