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

wikimedia / parsoid / 692 / 1
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 16 Sep 2015 04:29AM UTC
Files 71
Run time 2s
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

16 Sep 2015 04:27AM UTC coverage: 85.259% (+0.001%) from 85.258%
692.1

push

travis-ci

Tim Starling
Fix denial of client-side upscaling in thumb and frameless format

The batch API returns the input width and height even when
client-side scaling is done, which I think is the correct policy.
However, this does mean that Parsoid needs to handle the case where
upscaling is denied itself, instead of relying on the API.

Also, mediatype === 'DRAWING' was used as an approximation to
mustRender(), which is not accurate. For example, PDFs have media
type "OFFICE", see MW's includes/mime.info. Use mediatype != 'BITMAP'
in the b/c case, which is more likely to be correct. Also
allow the API to provide explicit indication of mustRender. A patch
will be forthcoming implementing this in the batch API. This allows
Parsoid to match the behaviour of MW, which uses mustRender to
determine whether upscaling should be allowed.

Bug: T112668
Change-Id: I1500c0f46

11920 of 13981 relevant lines covered (85.26%)

19404.42 hits per line

Source Files on job 692.1
  • Tree
  • List 0
  • Changed 17
  • Source Changed 1
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 692
  • Travis Job 692.1
  • 01230e08 on github
  • Prev Job for on master (#691.1)
  • Next Job for on master (#693.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