| Index: Source/core/loader/cache/CachedResourceLoader.cpp
|
| diff --git a/Source/core/loader/cache/CachedResourceLoader.cpp b/Source/core/loader/cache/CachedResourceLoader.cpp
|
| index 17f5fa6349b98c8745b4f159fa697439e6bd3df6..1bc1070705248b024b44b16c885bc4a5096617d6 100644
|
| --- a/Source/core/loader/cache/CachedResourceLoader.cpp
|
| +++ b/Source/core/loader/cache/CachedResourceLoader.cpp
|
| @@ -600,9 +600,10 @@ void CachedResourceLoader::storeResourceTimingInitiatorInformation(const CachedR
|
| {
|
| if (resource->type() == CachedResource::MainResource) {
|
| // <iframe>s should report the initial navigation requested by the parent document, but not subsequent navigations.
|
| - if (frame()->ownerElement() && m_documentLoader->frameLoader()->stateMachine()->committingFirstRealLoad()) {
|
| + if (frame()->ownerElement() && !frame()->ownerElement()->loadedNonEmptyDocument()) {
|
| InitiatorInfo info = { frame()->ownerElement()->localName(), monotonicallyIncreasingTime() };
|
| m_initiatorMap.add(resource.get(), info);
|
| + frame()->ownerElement()->didLoadNonEmptyDocument();
|
| }
|
| } else {
|
| InitiatorInfo info = { request.initiatorName(), monotonicallyIncreasingTime() };
|
|
|