• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wikimedia / parsoid / 2385
85%

Build:
DEFAULT BRANCH: master
Ran 20 Mar 2019 05:18PM UTC
Jobs 3
Files 116
Run time 7min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2385

push

travis-ci

jenkins-bot
<a href="https://github.com/wikimedia/parsoid/commit/0806a23ff">Let fosterable nodes remain unfostered across serialization boundaries

* This patch adds new options to:
  - ContentUtils.ppToXML and XMLSerializer (while serializing the
    DOM) to tunnel content in fosterable positions via a data-fostered
    attribute on the parent node.

    This moves the fosterable content into the data-fostered attribute
    and replaces it with an empty placeholder comment.

    This is the tunnelFosteredContent option.

    Code is implemented on both the JS &amp; PHP sides.

  - ContentUtils.ppToDOM (while parsing HTML to DOM) to reinsert
    tunneled fosterable content back into the fosterable positions
    where they were originally found.

    This is the reinsertFosteredContent option.

    Code is implemented on both the JS &amp; PHP sides.

* Updated PHPDomTransform.js and runDOMTransform.php to use these new
  options while serializing DOM / parsing HTML to DOM.

* bin/parserTests.js --wt2html now runs to completion with
  computeDSR pass running on the PHP side.

  * Two previously failing tests changed their blacklisted output.

    - One is a true failure in the ComputeDSR pass because of an
      incomplete port of WTUtils::decodedCommentLength. As a result,
      the DSR value for one of the nodes is computed as [-10,0,0,0]
      which doesn&#39;t make sense. This will be fixed in a separate commit.

    - Another is a failure related to handling \r (and potentially
      other wikitext-illegal characters) in Parsoid. See T106578.
      This will be dealt with separately.

* Update bin/runDOMTransform.php to remove the HTML inputfile from
  disk on successful execution. This removes cluttering disk with
  temporary files.

Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/1e9b56ebe">1e9b56ebe</a>

9551 of 12030 branches covered (79.39%)

14862 of 17628 relevant lines covered (84.31%)

85902.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2385.1 20 Mar 2019 05:18PM UTC 0
84.31
Travis Job 2385.1
2 2385.2 20 Mar 2019 05:17PM UTC 0
84.31
Travis Job 2385.2
3 2385.3 20 Mar 2019 05:24PM UTC 0
84.31
Travis Job 2385.3
Source Files on build 2385
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2385
  • 0806a23f on github
  • Prev Build on master (#2384)
  • Next Build on master (#2386)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc