W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2009

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

From: Michael A. Puls II <shadow2531@gmail.com>
Date: Mon, 28 Dec 2009 14:39:06 -0500
Message-ID: <op.u5nx7gpy1ejg13@sandra-svwliu01>
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
Received on Monday, 28 December 2009 11:39:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:54 UTC