[whatwg] window.print() when printing is not supported

Michael A. Puls II shadow2531 at gmail.com
Mon Dec 28 11:39:06 PST 2009


On Mon, 28 Dec 2009 12:08:48 -0500, Boris Zbarsky <bzbarsky at mit.edu> wrote:

> On 12/28/09 9:54 AM, Michael A. Puls II wrote:
>> As for window.print(), what if it returns false if printing is not
>> supported?
>
> It might be better as |true| (crappy API issues aside), because  
> otherwise if a page writes |if (window.print())| it'll get false in all  
> existing browsers, no?

Ah, I see. Good point.

-- 
Michael



More information about the whatwg mailing list