Temporarily allow SetResponseHeader to be called after AsyncOpen. r=dwitte.

This commit is contained in:
Jason Duell 2010-06-29 14:36:09 -07:00
parent 84eb33e0f1
commit 2f3db0417e

View File

@ -667,8 +667,6 @@ HttpBaseChannel::SetRequestHeader(const nsACString& aHeader,
const nsACString& aValue,
PRBool aMerge)
{
ENSURE_CALLED_BEFORE_ASYNC_OPEN();
const nsCString &flatHeader = PromiseFlatCString(aHeader);
const nsCString &flatValue = PromiseFlatCString(aValue);