[Webkit-unassigned] [Bug 43658] New: Calling window.print() before the page is loaded results in a blank printed page

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


https://bugs.webkit.org/show_bug.cgi?id=43658

           Summary: Calling window.print() before the page is loaded
                    results in a blank printed page
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://leiz.org/chromium/25027.htm
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Printing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: thestig at chromium.org



Lei Zhang <thestig at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #63790|                            |review?
               Flag|                            |


Created an attachment (id=63790)
 --> (https://bugs.webkit.org/attachment.cgi?id=63790)
Patch to fix the bug.

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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list