We need to check that we have a frame before using it as we traverse the frame hierarchy up to find a non-null URL in ResourceLoadObserver::nonNullOwnerURL().
rdar://problem/36210134
Created attachment 332294 [details] Patch
In the case where we don't have a frame, the returned URL is empty which through the call to ResourceLoadStatistics::primaryDomain() becomes "nullOrigin".
Committed r227632: <https://trac.webkit.org/changeset/227632>
Thanks, Alex!