Bug 70643 - [WK2] Crash after printing a view with accelerated compositing content
Summary: [WK2] Crash after printing a view with accelerated compositing content
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Printing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-10-21 13:49 PDT by Alexey Proskuryakov
Modified: 2011-10-21 14:25 PDT (History)
0 users

See Also:


Attachments
proposed fix (1.50 KB, patch)
2011-10-21 14:10 PDT, Alexey Proskuryakov
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2011-10-21 13:49:20 PDT
Steps to reproduce:
1. Open any Web page that Safari Reader can display.
2. Enter Reader.
3. Cmd+P, Cancel.
4. Cmd+P again.

The problem is that -[WKView drawRect:] is not used to paint this view, so we don't have a chance to ever call endPrinting.

<rdar://problem/9479083>
Comment 1 Alexey Proskuryakov 2011-10-21 14:10:26 PDT
Created attachment 112018 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2011-10-21 14:25:38 PDT
Committed <http://trac.webkit.org/changeset/98153>.