[Webkit-unassigned] [Bug 182558] ASSERTION FAILED: m_timeOrigin in Performance::Performance()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 6 16:52:57 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=182558

--- Comment #2 from Daniel Bates <dbates at webkit.org> ---
Twitter.com fetches <https://api.twitter.com/1.1/jot/client_event.json> initiated from ServiceWorkerThreadProxy. For some reason fetching this resource makes a CORS preflight request, but we do not propagate the initiator context of the request that caused the preflight request (InitiatorContext::Worker). In the async case, CrossOriginPreflightChecker::startPreflight() is called and the preflight request is made with initiator context InitiatorContext::Document (the default since CrossOriginPreflightChecker::startPreflight() does not override it). As a result, we do not execute the Worker code path in SubresourceLoader::reportResourceTiming: <http://trac.webkit.org/browser/trunk/Source/WebCore/loader/SubresourceLoader.cpp?rev=228183#L740>.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180207/c2d3abd0/attachment.html>


More information about the webkit-unassigned mailing list