Commit Graph

88 Commits (keep-tabular-data)
 

Author SHA1 Message Date
Nicolas Perriault 62fae22849 Closes #66 - Keep tabular data as they're most likely to be part of content. 9 years ago
Gijs f9ea568f3f Merge pull request #64 from mozilla/fix-readme-with-tests
Updated README about tests.
9 years ago
Nicolas Perriault c24821c247 Updated README about tests. 9 years ago
Nicolas Perriault 9510715723 Merge pull request #61 from mozilla/strip-embed-tags
Refs #58 - Stripped embed tags.
9 years ago
Nicolas Perriault cf3dce6cf2 Refs #58 - Stripped embed tags. 9 years ago
Gijs 6ad9dd9952 Merge pull request #52 from mozilla/forEach-loops
Use forEach when it makes sense.
9 years ago
Nicolas Perriault eee224560b Addressed review comments from @Gijsk. 9 years ago
Nicolas Perriault 4f9615cb9a Use forEach when it makes sense. 9 years ago
Gijs f7c0e4713f Merge pull request #51 from gijsk/fix-medium-title
Fix the title to not update when we already have one
9 years ago
Gijs Kruitbosch 14afc21b96 Fix code to ignore titles when we already have one. 9 years ago
Gijs Kruitbosch a924e31729 Add testcase for current Medium behaviour including SVG that desktop sees. 9 years ago
Gijs 98d35fc306 Merge pull request #50 from gijsk/fix-herald-sun
Bug 1143725 - fix the Herald Sun website
9 years ago
Gijs Kruitbosch 955951659d Bug 1143725 - fix the Herald Sun website 9 years ago
Gijs a77dcab362 Merge pull request #49 from gijsk/improve-logic-to-use-children-instead-of-childnodes
Improve logic to rely on children instead of childNodes
9 years ago
Gijs Kruitbosch eb81444946 Improve logic to rely on children instead of childNodes 9 years ago
Margaret Leibovic 4e92d7c1ac Merge pull request #46 from gijsk/tests-for-jsdomparser
Write a bunch of tests for jsdomparser
9 years ago
Gijs Kruitbosch f9e770ad3b Write a bunch of tests for jsdomparser 9 years ago
Margaret Leibovic d0df9d8479 Merge pull request #40 from leibovic/byline
Improve byline algorithm. r=Gijs
9 years ago
Margaret Leibovic 3c2d93cd09 Improve byline algorithm 9 years ago
Gijs 32e7702ea4 Merge pull request #44 from DavidBruant/patch-1
Update package.json
9 years ago
Gijs 3e287a90d5 Merge pull request #42 from mozilla/better-test-docs
Better test docs.
9 years ago
David Bruant 3f16d5bd92 Update package.json 9 years ago
Nicolas Perriault f4670a1531 Better test docs. 9 years ago
Gijs afa61e33cc Merge pull request #41 from mozilla/detailed-test-reports
More detailed test reports.
9 years ago
Nicolas Perriault df02218905 More detailed test reports. 9 years ago
Gijs c2a733fa46 Merge pull request #37 from gijsk/remove-reliance-on-inert-nodecollection
Remove reliance on inert nodecollection
9 years ago
Gijs Kruitbosch 2b09db3300 Improve logging for errors in test runs, add a way to run just some tests (using an env var because mocha doesn't support passing arguments) 9 years ago
Gijs Kruitbosch d94f3158d3 Fix readability.js to do a DOM traversal rather than relying on a wonky DOMCollection, fix trims, fix a potential null access, etc. 9 years ago
Gijs Kruitbosch 9c4648193c Fix JSDOMParser to have support for X-Element-Y (for X from first, last, next, previous; Y from Child, Element) 9 years ago
Gijs 4903846104 Merge pull request #35 from leibovic/metatest
Check metadata in tests
9 years ago
Margaret Leibovic 639c878af5 Generate expected-metadata.json in generate-testcase.js 9 years ago
Margaret Leibovic 1b5d896b8b Add expected-metadata.json for existing tests 9 years ago
Margaret Leibovic 6490d7205d Update test to check metadata 9 years ago
Margaret Leibovic fc53e1a315 Set 'name' variable to null in _getExcerpt to avoid old values in future for loop iterations 9 years ago
Margaret Leibovic 2c7c504a36 Merge pull request #32 from gijsk/regex-issues-with-class-and-id-stuff
Fix regex issues. r=margaret
9 years ago
Gijs aec1ce774d Merge pull request #31 from gijsk/testing-generates
Allow generating tests from the web, make testing more closely match Firefox
9 years ago
Gijs Kruitbosch 5efddf6620 Update all the tests, add a bunch of random things so we have some base idea of what stuff we're breaking when changing things. 9 years ago
Gijs Kruitbosch 1c42f29aa5 Create a script to generate testcases, actually use our version of JSDOMParser 9 years ago
Gijs Kruitbosch b5e905ef6b Fix JSDOMParser to deal with scripts and all whitespace, not just spaces, and s/let/var/. 9 years ago
Gijs 23e6eef8b3 Merge pull request #34 from mozilla/gijsk-support-https-video
Fix video regular expression to support https
9 years ago
Gijs 17062c1ccf Fix video regular expression to support https 9 years ago
Gijs d9f1e884dd Fix regex issues 9 years ago
Gijs Kruitbosch cd89e18647 Import the tree's JSDOMParser 9 years ago
Gijs a907fce85e Merge pull request #28 from mozilla/jsdom-tests
Switched to using jsdom for tests.
9 years ago
Nicolas Perriault fac76c6c1a Added support for readability log messages forwarding to node. 9 years ago
Nicolas Perriault 7da6e82fec Switched to using jsdom for tests. 9 years ago
Margaret Leibovic 98ee8f7463 Merge pull request #27 from gijsk/fix-missing-paragraphs
Bug 1144441 - avoid leaving out paragraphs. r=margaret
9 years ago
Gijs Kruitbosch 1d2df4a70e Bug 1144441 - avoid leaving out paragraphs 9 years ago
Gijs 6c9c93d306 Merge pull request #26 from leibovic/emptydoc
Bug 1144355 - Bail if we don't have a body to parse. r=Gijs
9 years ago
Margaret Leibovic a9bd60154d Bug 1144355 - Bail if we don't have a body to parse. r?Gijs 9 years ago