Closed
Bug 1376812
Opened 7 years ago
Closed 7 years ago
Crash during snapshot of screen with slimerjs
Categories
(Firefox :: Headless, defect)
Tracking
()
RESOLVED
FIXED
Firefox 56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: bdahl, Assigned: bdahl)
Details
Attachments
(1 file)
5.50 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
Running: var webpage = require('webpage').create(); webpage .open('about:mozilla') .then(function () { webpage.viewportSize = { width: 650, height: 320 }; webpage.render('page_snapshot.png', { onlyViewport: true }); slimer.exit(); }); Causes: 0:11.34 PROCESS_OUTPUT: Thread-5 (pid:1428) "Assertion failure: aSurface->GetFormat() != SurfaceFormat::B8G8R8X8, at c:/Users/brend/projects/gecko/gfx/2d/DrawTargetD2D1.cpp:216"
Assignee | ||
Comment 1•7 years ago
|
||
Defining the default draw target avoids the previous mix of cairo and d2d layers, which would trigger an assertion when capturing a page with the widget layers.
Attachment #8881801 -
Flags: review?(jmuizelaar)
Updated•7 years ago
|
Attachment #8881801 -
Flags: review?(jmuizelaar) → review+
Pushed by bdahl@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/f1f96310ee1f Create default headless draw target. r=jrmuizel
Comment 3•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f1f96310ee1f
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
You need to log in
before you can comment on or make changes to this bug.
Description
•