RESOLVED FIXED 182116
Make sure we have a frame as we iterate in ResourceLoadObserver::nonNullOwnerURL()
https://bugs.webkit.org/show_bug.cgi?id=182116
Summary Make sure we have a frame as we iterate in ResourceLoadObserver::nonNullOwner...
John Wilander
Reported 2018-01-25 11:34:20 PST
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().
Attachments
Patch (1.43 KB, patch)
2018-01-25 11:39 PST, John Wilander
achristensen: review+
John Wilander
Comment 1 2018-01-25 11:34:40 PST
John Wilander
Comment 2 2018-01-25 11:39:11 PST
John Wilander
Comment 3 2018-01-25 11:46:04 PST
In the case where we don't have a frame, the returned URL is empty which through the call to ResourceLoadStatistics::primaryDomain() becomes "nullOrigin".
John Wilander
Comment 4 2018-01-25 14:31:21 PST
John Wilander
Comment 5 2018-01-25 14:31:36 PST
Thanks, Alex!
Note You need to log in before you can comment on or make changes to this bug.