Gijs Kruitbosch
dffa760c04
Fix issue #267 by ignoring hash URIs when making URIs absolute
2016-03-07 10:32:09 +00:00
Gijs Kruitbosch
2e1cb3f467
Fix issue #251 by making JSDOMParser expect XML and stop making excuses for 'self-closed' things, when all that does is cause trouble
2016-01-22 19:57:45 +00:00
Nicolas Perriault
9dbc009376
Fixes #113 - Recursive node ancestor scoring.
2015-04-29 22:51:45 +02:00
Nicolas Perriault
de89036cd5
Fixes #130 - Using js-beautify for HTML formatting.
2015-04-21 10:30:48 +02:00
Nicolas Perriault
12c6a11f67
Fixes #163 - Avoid including footer tag contents.
2015-04-17 17:33:04 +02:00
Nicolas Perriault
4424b0bad7
Refs #128 - Add support for options to Readability constructor. r=@gijsk
2015-04-09 11:56:58 +02:00
Gijs Kruitbosch
c53ca31907
Fixed test result output being sent at once
2015-04-08 15:24:34 +01:00
Gijs Kruitbosch
225adef137
Turn off JS when using JSDOM in tests.
2015-04-03 22:42:29 +01:00
Gijs Kruitbosch
b1f6c62b25
Fix tests for readability to also work with jsdom
...
For instance, jsdom's more spec-compliant parsing causes issues with auto-closing elements (lifehacker article) and with not having self-closing <img> and <br> tags. The former was fixed by removing offending markup, the latter by adjusting JSDOMParser to be more sane, and the expected outputs to cope with this.
Finally, JSDOMParser automatically drops comments. The test code needed to manually do this in the jsdom case.
2015-04-03 22:41:55 +01:00
Nicolas Perriault
3b636b59f0
Added readerable value to test pages metadata.
2015-04-03 15:14:49 +02:00
Margaret Leibovic
6b7834f798
add test for isProbablyReaderable
2015-04-02 17:40:06 -04:00
Nicolas Perriault
1e14d47bb7
Added benchmarks.
2015-04-01 21:58:42 +02:00
Gijs
14b33b69db
Merge pull request #65 from mozilla/support-embed-videos
...
Fixes #56 - Updated support for embedded Youtube & Vimeo videos.
2015-03-23 14:48:00 +00:00
Nicolas Perriault
ad52d8ee30
Fixes #53 - Fixed dot-slash relative URI resolution.
2015-03-23 12:54:46 +01:00
Nicolas Perriault
2d5f59f3eb
Fixes #56 - Updated support for embedded Youtube & Vimeo videos.
2015-03-23 10:07:04 +01:00
Nicolas Perriault
cf3dce6cf2
Refs #58 - Stripped embed tags.
2015-03-22 17:52:23 +01:00
Gijs Kruitbosch
f9e770ad3b
Write a bunch of tests for jsdomparser
2015-03-20 10:32:28 -07:00