Right now decision about whether to reveal redirect timing info in nav timing 2 is to check whether the redirect is a cross-origin redirect or not. We need to take cross-origin's opt-in option into consideration.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d3ac1c7a7ff4222e700720b5d93de532acd48b64 commit d3ac1c7a7ff4222e700720b5d93de532acd48b64 Author: sunjian <sunjian@chromium.org> Date: Tue Dec 13 04:11:56 2016 nav timing 2 redirect allow opt-in BUG= 665160 Review-Url: https://codereview.chromium.org/2550883003 Cr-Commit-Position: refs/heads/master@{#438052} [modify] https://crrev.com/d3ac1c7a7ff4222e700720b5d93de532acd48b64/third_party/WebKit/Source/core/timing/PerformanceBase.cpp [modify] https://crrev.com/d3ac1c7a7ff4222e700720b5d93de532acd48b64/third_party/WebKit/Source/core/timing/PerformanceBase.h [modify] https://crrev.com/d3ac1c7a7ff4222e700720b5d93de532acd48b64/third_party/WebKit/Source/core/timing/PerformanceBaseTest.cpp [modify] https://crrev.com/d3ac1c7a7ff4222e700720b5d93de532acd48b64/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.cpp [modify] https://crrev.com/d3ac1c7a7ff4222e700720b5d93de532acd48b64/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.h
Comment 1 by sunjian@chromium.org
, Dec 9 2016