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

wikimedia / parsoid / 2747 / 2
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 21 Jun 2019 08:39PM UTC
Files 153
Run time 22s
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

21 Jun 2019 08:24PM UTC coverage: 84.601% (+0.07%) from 84.528%
2747.2

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%)

29666.71 hits per line

Source Files on job 2747.2
  • Tree
  • List 0
  • Changed 97
  • Source Changed 25
  • Coverage Changed 95
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2554
  • Travis Job 2747.2
  • 31d356a5 on github
  • Prev Job for on master (#2746.2)
  • Next Job for on master (#2748.1)
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