Ran
|
Jobs
3
|
Files
69
|
Run time
10min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Don't use selser if oldid is missing * So far, we were always constructing SelectiveSerializer and checking for absence of page-src to fallback to non-selser WTS. However, that is insufficient since rt-testing provides page-src to minimize dirty diffs and we don't want to be using selser there. As per https://www.mediawiki.org/wiki/Parsoid/API#v1_API_entry_points "Both it and the oldid parameter are needed for clean round-tripping of HTML retrieved earlier with" * So much for wanting to hide internal details (of selser) from the API. This does leak selser-ability via the API, but right now, there doesn't seem to be a clean way to support all the varied use cases for html2wt that provide title, oldid, and page src. The only way to disable selser right now is to NOT provide oldid. In this patch, we'll rely on that. * Clarified the serialization properties in DOMUtils.serializeDOM to more accurately reflect when DOM/orig-src needs to be fetched -- only in selser mode. * Fixed a mocha api test to reflect this new expectation. Change-Id: I30cc1ea61
10936 of 12821 relevant lines covered (85.3%)
67164.01 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 407.1 | 69 |
85.3 |
Travis Job 407.1 | |
2 | 407.2 | 69 |
85.3 |
Travis Job 407.2 | |
3 | 407.3 | 69 |
85.29 |
Travis Job 407.3 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|