mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1241565 - nsIHttpChannelInternal should be a builtinclass, r=honzab.moz
This commit is contained in:
parent
8002f9c857
commit
9e47057422
@ -824,9 +824,7 @@ nsHttpChannelAuthProvider::BlockPrompt()
|
||||
nsCOMPtr<nsIHttpChannelInternal> chanInternal = do_QueryInterface(mAuthChannel);
|
||||
MOZ_ASSERT(chanInternal);
|
||||
|
||||
bool skipAuthentication = false;
|
||||
nsresult rv = chanInternal->GetBlockAuthPrompt(&skipAuthentication);
|
||||
if (NS_SUCCEEDED(rv) && skipAuthentication) {
|
||||
if (chanInternal->GetBlockAuthPrompt()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ interface nsIHttpUpgradeListener : nsISupports
|
||||
* using any feature exposed by this interface, be aware that this interface
|
||||
* will change and you will be broken. You have been warned.
|
||||
*/
|
||||
[scriptable, uuid(01b8296a-e206-4e5f-acab-82bd8b6a900c)]
|
||||
[builtinclass, scriptable, uuid(4e28263d-1e03-46f4-aa5c-9512f91957f9)]
|
||||
interface nsIHttpChannelInternal : nsISupports
|
||||
{
|
||||
/**
|
||||
@ -271,5 +271,6 @@ interface nsIHttpChannelInternal : nsISupports
|
||||
* authentication failure, that failure will be propagated to the channel
|
||||
* listener. Must be called before opening the channel, otherwise throws.
|
||||
*/
|
||||
[infallible]
|
||||
attribute boolean blockAuthPrompt;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user