[webkit-reviews] review requested: [Bug 43658] Calling window.print() before the page is loaded results in a blank printed page : [Attachment 63790] Patch to fix the bug.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 6 17:46:59 PDT 2010


Lei Zhang <thestig at chromium.org> has asked  for review:
Bug 43658: Calling window.print() before the page is loaded results in a blank
printed page
https://bugs.webkit.org/show_bug.cgi?id=43658

Attachment 63790: Patch to fix the bug.
https://bugs.webkit.org/attachment.cgi?id=63790&action=review

------- Additional Comments from Lei Zhang <thestig at chromium.org>
This is http://code.google.com/p/chromium/issues/detail?id=25027

I've included a minimal test case above.

The expect result is a printed page with the words "Print me".
The current result with Chrome and Safari is a blank page.

I believe the solution is to defer printing until the page has finished
loading. Attached is a patch to do this.


More information about the webkit-reviews mailing list