mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +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->SetPrincipal(sourcePrincipal);
|
||||
aNewDoc->SetBaseURI(sourceDoc->GetDocBaseURI());
|
||||
aNewDoc->SetSandboxFlags(sourceDoc->GetSandboxFlags());
|
||||
|
||||
// Copy charset
|
||||
aNewDoc->SetDocumentCharacterSetSource(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue