summaryrefslogtreecommitdiff
path: root/layout/base/nsDocumentViewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/nsDocumentViewer.cpp')
-rw-r--r--layout/base/nsDocumentViewer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/layout/base/nsDocumentViewer.cpp b/layout/base/nsDocumentViewer.cpp
index 879f47b206..a3577fdd12 100644
--- a/layout/base/nsDocumentViewer.cpp
+++ b/layout/base/nsDocumentViewer.cpp
@@ -1070,6 +1070,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...