Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceBase.cpp

Issue 2675973004: Update NT2 name to be the requested URL instead of 'document' (Closed)
Patch Set: fix failing wpt tests (imported after creation of this CL), and delete a redundant, old test Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/timing/PerformanceBase.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
index 04e8fc0b0b398e32535bdb89324120857e360e88..0a1c1fb4ec7e29a7f61c86efcc49b03829af328e 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
@@ -389,7 +389,8 @@ void PerformanceBase::addNavigationTiming(LocalFrame* frame) {
getNavigationType(documentLoader->getNavigationType(), frame->document());
m_navigationTiming = new PerformanceNavigationTiming(
- timeOrigin(), documentLoadTiming.unloadEventStart(),
+ timeOrigin(), navigationTimingInfo->initialURL().getString(),
+ documentLoadTiming.unloadEventStart(),
documentLoadTiming.unloadEventEnd(), documentLoadTiming.loadEventStart(),
documentLoadTiming.loadEventEnd(), documentLoadTiming.redirectCount(),
documentTiming ? documentTiming->domInteractive() : 0,

Powered by Google App Engine
This is Rietveld 408576698