Bug 1314361 - Part 6: Remove the addonId origin attribute. r=bholley

This commit is contained in:
Kris Maglione
2016-11-08 17:11:32 -08:00
parent 88a6d45c04
commit a54dba80da
11 changed files with 9 additions and 62 deletions

View File

@@ -12356,7 +12356,6 @@ nsDocShell::AddToSessionHistory(nsIURI* aURI, nsIChannel* aChannel,
// get the OriginAttributes
OriginAttributes attrs;
loadInfo->GetOriginAttributes(&attrs);
attrs.StripAttributes(OriginAttributes::STRIP_ADDON_ID);
principalToInherit = nsNullPrincipal::Create(attrs);
}
} else {