WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
95140
[chromium] WebGL canvas cleared by printing
https://bugs.webkit.org/show_bug.cgi?id=95140
Summary
[chromium] WebGL canvas cleared by printing
James Robinson
Reported
2012-08-27 15:34:41 PDT
Load up a page with WebGL that doesn't repaint on every frame (for instance
http://trac.webkit.org/export/126806/trunk/LayoutTests/fast/canvas/webgl/webgl-composite-modes.html
) and print. The webgl canvas content is gone after printing if the preserveDrawingBuffer attribute is false. It appears the readback is destructive on the canvas.
Attachments
Add attachment
proposed patch, testcase, etc.
Kenneth Russell
Comment 1
2012-08-27 15:37:55 PDT
Darn it -- this keeps regressing. We need a way to write printing layout tests.
James Robinson
Comment 2
2012-08-27 15:43:05 PDT
Maybe we could add a testRunner hook that "prints" into a null WebCanvas so at least we'd hit all of the printing logic in WebKit and verify that it didn't hose any state, even though we couldn't test on what showed up in the printed output?
Kenneth Russell
Comment 3
2012-08-27 15:46:06 PDT
That would be an improvement -- it would catch this particular error -- but it would be better if we could also (optionally) examine the printed results as a pixel test.
Stephen Chenney
Comment 4
2013-04-15 08:21:45 PDT
https://code.google.com/p/chromium/issues/detail?id=231368
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug