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

wikimedia / parsoid / 2747
85%

Build:
DEFAULT BRANCH: master
Ran 21 Jun 2019 08:39PM UTC
Jobs 3
Files 153
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
2747

push

travis-ci

jenkins-bot
Ensure that proper source texts are used when parsing

It is important to properly match the srcOffsets and source texts so
that we can refer to the original source text in order to adjust the
offsets as needed for different character encodings.

Add a Frame object to the environment which will always hold the
proper source text.  Note that the current implementation needs
to hold/pass the current frame because asynchronous pipelines in
JavaScript are inconsistent with holding current frame in
`Env#currentFrame'.

In order to consistently have srcOffsets to use when invoking recursive
pipelines, we also needed to be much more careful about passing in
appropriate srcOffsets when creating KV pairs for attributes.  This also
allowed us to removed the 'srcOffset' attribute from the DOMFragmentToken
and replace it with proper srcOffset properties on the 'content' KV, which
solves a typing issue with the PHP port of KV.

The transformTests input files were updated to add missing srcOffsets.

Change-Id: Ie25bb638e

9555 of 12044 branches covered (79.33%)

14966 of 17690 relevant lines covered (84.6%)

90468.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2747.1 21 Jun 2019 08:42PM UTC 0
84.6
Travis Job 2747.1
2 2747.2 21 Jun 2019 08:39PM UTC 0
84.6
Travis Job 2747.2
3 2747.3 21 Jun 2019 08:46PM UTC 0
84.63
Travis Job 2747.3
Source Files on build 2747
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2747
  • 31d356a5 on github
  • Prev Build on master (#2746)
  • Next Build on master (#2748)
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