[webkit-dev] Do we need a "webkitBackground" property for XMLHttpRequest?

Darin Fisher darin at chromium.org
Mon Jul 30 10:01:58 PDT 2012


https://developer.mozilla.org/en/XmlHttpRequest#Non-standard_propertiessays
that elevated privileges are required to access mozBackgroundRequest.
 That suggests that it is only there for use by Firefox and Firefox
extensions.

At the very least, it seems like in Chromium, if we cannot suppress auth
prompts generated from XHR in all cases, we could / should at least
suppress them for XHR requests made by extensions.

Regards,
-Darin


On Tue, Jul 24, 2012 at 2:47 AM, xuewen <xuewen.wang at torchmobile.com.cn>wrote:

>
> When we send XMLHttpRequest  to access search engines or it is sent from
> chrome extensions,  we may do/don't want the browser to show the
> authentication challenge dialog. Should we provide a property to give a
> choice to users such as the "webkitBackground"?
>
> Please see the bug https://bugs.webkit.org/show_bug.cgi?id=91964
>
> If we totally disable XHR popping up the challenge dialogs, then how can
> the user request the resource using XHR from the sites across origins and
> requiring authentications? Or will this operation be disallowed in the
> future?
>
> One way is to show a form by javascript to ask for the credentials in
> its "onReadyStatusChange" and resend it by XHR. Is this the reason to
> totally disable the XHR popping up challenge dialogs?
>
> Sean Wang
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120730/4de97be8/attachment.html>


More information about the webkit-dev mailing list