Comment 13 for bug 1040313

Revision history for this message
In , Roc-ocallahan (roc-ocallahan) wrote :

> > It might be better to simply return an empty string for all failure conditions.
>
> Do you mean it should not even throw NS_NOT_IMPLEMENTED for non-XULWindows
> (i.e. nsDocShell and nsWebBrowser) and return an empty string instead ?

Maybe. It doesn't really matter I guess. Leave it.

> tend to show that a tolower method call is not useful. nsPrintfCString uses
> PR_vsnprintf, which converts using lowercase digits.

OK!