Re: Safari 3.1 adding showModalDialog??

2008-03-18 Thread Maciej Stachowiak



On Mar 18, 2008, at 2:22 PM, Travis Leithead wrote:



Not to say that I object... :)

...but why this API and not showModelessDialog too?
I'd be interested to know the rationale for this decision on  
WebKit's part.


We've been shipping showModalDialog for years on Mac, but I think it  
didn't work on Windows in our betas. We had to add it for  
certification with certain "enterprise" web applications years ago.


We've never had a request for showModelessDialog or equivalent  
functionality (as far a sI know).



Also, was openDialog considered (from FF)?


We asked the ISVs who wanted a way to do a modal dialog and they  
preferred the IE API. Neither seemed technically better or worse as  
far as we could tell.


Regards,
Maciej




Re: Safari 3.1 adding showModalDialog??

2008-03-18 Thread Boris Zbarsky


Travis Leithead wrote:

...but why this API and not showModelessDialog too?


My guess (not being a Safari implementor) is that there isn't much call for 
showModelessDialog because you can get pretty close with window.open().  That 
was certainly the reason Gecko didn't implement it...



Also, was openDialog considered (from FF)?


Note that Gecko 1.9 (Firefox 3) will implement showModalDialog as well.

-Boris