Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2023-10-21 11:53:44 +08:00
commit 8183d7b70c
14 changed files with 486 additions and 345 deletions

View file

@ -1072,6 +1072,11 @@ nsDocumentViewer::LoadComplete(nsresult aStatus)
if (timing) {
timing->NotifyLoadEventEnd();
}
nsPIDOMWindowInner* innerWindow = window->GetCurrentInnerWindow();
if (innerWindow) {
innerWindow->QueuePerformanceNavigationTiming();
}
}
} else {
// XXX: Should fire error event to the document...