Nicolas Perriault
d59c89ce48
Specialized tests between extraction and detection.
2015-04-09 15:38:44 +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