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

wikimedia / parsoid / 3169
85%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2019 07:56PM UTC
Jobs 3
Files 308
Run time 8min
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
3169

push

travis-ci

jenkins-bot
<a href="https://github.com/wikimedia/parsoid/commit/742034151">Add handling for new / missing pages in html2wt direction

* We currently unconditionally construct a PageConfigFrame in
  html2wt even though it is not used. The idea is that eventually,
  both wt2html and html2wt will use PageConfigFrame for accessing
  page content.

* But, PageConfigFrame didn&#39;t know anything about missing / new
  titles and was barfing in html2wt mode.

* Pass along information in html2wt mode whether a title is expected
  to exist or not so that PageContentFrame can be strict or lenient
  about throwing exceptions, as recommended in T234549.

  If title is not known to exist, it initializes itself to &#39;&#39;.

* Change the changeEnv signature in ParsoidHandler to make
  titleShouldExist a required argument so that we didn&#39;t have
  different values of defaults here and in PageConfigFrame.

  The explicitness also makes for better documentation anyway.

* A related issue is T235307. An env object is constructed in the
  REST handlers for internal use and discarded only to be built again
  in Parsoid&#39;s entry points. So, we had two places for the exception
  to be thrown. This is handled uniformly now by passing along
  information about whether title exists or not.

Bug: T234549
Bug: T238161
Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/055075ed5">055075ed5</a>

19318 of 24264 branches covered (79.62%)

30268 of 35660 relevant lines covered (84.88%)

99423.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3169.1 14 Nov 2019 08:03PM UTC 0
84.88
Travis Job 3169.1
2 3169.2 14 Nov 2019 07:56PM UTC 0
84.88
Travis Job 3169.2
3 3169.3 14 Nov 2019 08:04PM UTC 0
84.91
Travis Job 3169.3
Source Files on build 3169
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3169
  • 74203415 on github
  • Prev Build on master (#3168)
  • Next Build on master (#3170)
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