mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-21 06:37:30 +09:00
backport Bug 1729517 - Set up document correctly. r=freddyb,ckerschb a=RyanVM
This commit is contained in:
parent
0ffa8a018a
commit
537bcf5eaf
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ URIUtils::ResetWithSource(nsIDocument *aNewDoc, nsINode *aSourceNode)
|
||||||
aNewDoc->Reset(channel, loadGroup);
|
aNewDoc->Reset(channel, loadGroup);
|
||||||
aNewDoc->SetPrincipal(sourcePrincipal);
|
aNewDoc->SetPrincipal(sourcePrincipal);
|
||||||
aNewDoc->SetBaseURI(sourceDoc->GetDocBaseURI());
|
aNewDoc->SetBaseURI(sourceDoc->GetDocBaseURI());
|
||||||
|
aNewDoc->SetSandboxFlags(sourceDoc->GetSandboxFlags());
|
||||||
|
|
||||||
// Copy charset
|
// Copy charset
|
||||||
aNewDoc->SetDocumentCharacterSetSource(
|
aNewDoc->SetDocumentCharacterSetSource(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue