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

wikimedia / parsoid / 692
85%

Build:
DEFAULT BRANCH: master
Ran 16 Sep 2015 04:27AM UTC
Jobs 4
Files 71
Run time 3min
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
692

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

77617.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 692.1 16 Sep 2015 04:29AM UTC 0
85.26
Travis Job 692.1
2 692.2 16 Sep 2015 04:27AM UTC 0
85.26
Travis Job 692.2
3 692.3 16 Sep 2015 04:27AM UTC 0
85.25
Travis Job 692.3
4 692.4 16 Sep 2015 04:31AM UTC 0
85.25
Travis Job 692.4
Source Files on build 692
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #692
  • 01230e08 on github
  • Prev Build on master (#691)
  • Next Build on master (#693)
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