Bug 1396399 - Clarify rules for applying activeTab permission to content scripts. r=kmag, r=bz
MozReview-Commit-ID: 9xPDX8Qk2iR
This commit is contained in:
@@ -245,7 +245,9 @@ nsGenericHTMLFrameElement::LoadSrc()
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult rv = mFrameLoader->LoadFrame();
|
||||
bool origSrc = !mSrcLoadHappened;
|
||||
mSrcLoadHappened = true;
|
||||
nsresult rv = mFrameLoader->LoadFrame(origSrc);
|
||||
#ifdef DEBUG
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_WARNING("failed to load URL");
|
||||
|
||||
Reference in New Issue
Block a user