<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>194286</bug_id>
          
          <creation_ts>2019-02-05 05:31:36 -0800</creation_ts>
          <short_desc>WTR::InjectedBundlePage::willSendRequestForFrame() leaks a WKDataRef</short_desc>
          <delta_ts>2019-02-06 11:32:38 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="David Kilzer (:ddkilzer)">ddkilzer</assigned_to>
          <cc>achristensen</cc>
    
    <cc>commit-queue</cc>
    
    <cc>joepeck</cc>
    
    <cc>lforschler</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1502334</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2019-02-05 05:31:36 -0800</bug_when>
    <thetext>WTR::InjectedBundlePage::willSendRequestForFrame() leaks a WKDataRef.

Example leak:

STACK OF 1 INSTANCE OF &apos;ROOT LEAK: &lt;WKNSData&gt;&apos;:
[thread 0x1065c05c0]:
63  libdyld.dylib                         0x5b34b3575 start + 1
62  com.apple.WebKit.WebContent           0x10585d3e5 invocation function for block in WebKit::XPCServiceEventHandler(NSObject&lt;OS_xpc_object&gt;*) + 0  XPCServiceMain.mm:46
61  com.apple.WebKit.WebContent           0x10585d268 WebKit::XPCServiceMain(int, char const**) + 403  XPCServiceMain.mm:157
60  libxpc.dylib                          0x5b377ec75 xpc_main + 143
59  libxpc.dylib                          0x5b377c7ca _xpc_objc_main + 460
58  com.apple.Foundation                  0x10591a522 -[NSRunLoop(NSRunLoop) run] + 76
57  com.apple.Foundation                  0x10591a3b2 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
56  com.apple.CoreFoundation              0x5b1b43e51 CFRunLoopRunSpecific + 625
55  com.apple.CoreFoundation              0x5b1b4467f __CFRunLoopRun + 1263
54  com.apple.CoreFoundation              0x5b1b49fd3 __CFRunLoopDoSources0 + 243
53  com.apple.CoreFoundation              0x5b1b4a761 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
52  JavaScriptCore                        0x5b630f2a2 WTF::RunLoop::performWork(void*) + 34  RunLoopCF.cpp:39
51  JavaScriptCore                        0x5b630f017 WTF::RunLoop::performWork() + 231  Function.h:56
50  com.apple.WebKit                      0x5b00ab894 IPC::Connection::dispatchOneIncomingMessage() + 180  Connection.cpp:1074
49  com.apple.WebKit                      0x5b00a8262 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;) + 108  memory:2567
48  com.apple.WebKit                      0x5b03c145f WebKit::NetworkProcessConnection::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 625  NetworkProcessConnection.cpp:0
47  com.apple.WebKit                      0x5b04a25aa WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 754  HandleMessage.h:0
46  com.apple.WebKit                      0x5b03c74c5 WebKit::WebResourceLoader::didFinishResourceLoad(WebCore::NetworkLoadMetrics const&amp;) + 211  WebResourceLoader.cpp:164
45  com.apple.WebCore                     0x5b888c5b8 WebCore::SubresourceLoader::didFinishLoading(WebCore::NetworkLoadMetrics const&amp;) + 760  ResourceLoader.h:161
44  com.apple.WebCore                     0x5b88bce75 WebCore::CachedRawResource::finishLoading(WebCore::SharedBuffer*) + 661  CachedRawResource.cpp:107
43  com.apple.WebCore                     0x5b88c130c WebCore::CachedResource::checkNotify() + 348  CachedResource.cpp:355
42  com.apple.WebCore                     0x5b8841745 WebCore::DocumentThreadableLoader::didFinishLoading(unsigned long) + 405  DocumentThreadableLoader.cpp:465
41  com.apple.WebCore                     0x5b8fb0db8 WebCore::XMLHttpRequest::didFinishLoading(unsigned long) + 184  type_traits:4592
40  com.apple.WebCore                     0x5b8fad7b4 WebCore::XMLHttpRequest::changeState(WebCore::XMLHttpRequest::State) + 164  XMLHttpRequest.cpp:313
39  com.apple.WebCore                     0x5b8fad8c5 WebCore::XMLHttpRequest::callReadyStateChangeListener() + 149  Ref.h:59
38  com.apple.WebCore                     0x5b8489498 WebCore::EventTarget::dispatchEvent(WebCore::Event&amp;) + 136  EventTarget.cpp:199
37  com.apple.WebCore                     0x5b84870c2 WebCore::EventTarget::fireEventListeners(WebCore::Event&amp;, WebCore::EventTarget::EventInvokePhase) + 690  Vector.h:674
36  com.apple.WebCore                     0x5b8489828 WebCore::EventTarget::innerInvokeEventListeners(WebCore::Event&amp;, WTF::Vector&lt;WTF::RefPtr&lt;WebCore::RegisteredEventListener, WTF::DumbPtrTraits&lt;WebCore::RegisteredEventListener&gt; &gt;, 1ul, WTF::CrashOnOverflow, 16ul&gt;, WebCore::EventTarget::EventInvokePhase) + 872  InspectorInstrumentation.h:284
35  com.apple.WebCore                     0x5b81d2098 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&amp;, WebCore::Event&amp;) + 1096  JSEventListener.cpp:175
34  com.apple.WebCore                     0x5b81ba0a4 WebCore::JSExecState::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;) + 100  JSExecState.h:74
33  JavaScriptCore                        0x5b6abb04b JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;) + 187  CallData.cpp:59
32  JavaScriptCore                        0x5b6874a95 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;) + 469  JITCodeInlines.h:39
31  JavaScriptCore                        0x5b6494a09 vmEntryToJavaScript + 200  LowLevelInterpreter64.asm:294
30  JavaScriptCore                        0x5b64a3cf1 llint_entry + 61758  LowLevelInterpreter.asm:886
29                                     0x3ada8ee01177 0x3ada8ee01000 + 375
28  com.apple.WebCore                     0x5b7f3779d WebCore::jsXMLHttpRequestPrototypeFunctionSend(JSC::ExecState*) + 269  Expected.h:550
27  com.apple.WebCore                     0x5b8fae1a5 WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;) + 133  Expected.h:297
26  com.apple.WebCore                     0x5b8fb2ecb WebCore::ExceptionOr&lt;void&gt; WTF::__visitor_table&lt;WTF::Visitor&lt;WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;)::$_0, WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;)::$_1, WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;)::$_2, WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;)::$_3, WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;)::$_4, WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;)::$_5&gt;, WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt;::__trampoline_func&lt;WTF::String&gt;(WTF::Visitor&lt;WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;)::$_0, WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;)::$_1, WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;)::$_2, WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;)::$_3, WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;)::$_4, WebCore::XMLHttpRequest::send(WTF::Optional&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt; &gt;&amp;&amp;)::$_5&gt;&amp;, WTF::Variant&lt;WTF::RefPtr&lt;WebCore::Document, WTF::DumbPtrTraits&lt;WebCore::Document&gt; &gt;, WTF::RefPtr&lt;WebCore::Blob, WTF::DumbPtrTraits&lt;WebCore::Blob&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBufferView, WTF::DumbPtrTraits&lt;JSC::ArrayBufferView&gt; &gt;, WTF::RefPtr&lt;JSC::ArrayBuffer, WTF::DumbPtrTraits&lt;JSC::ArrayBuffer&gt; &gt;, WTF::RefPtr&lt;WebCore::DOMFormData, WTF::DumbPtrTraits&lt;WebCore::DOMFormData&gt; &gt;, WTF::String&gt;&amp;) + 27  Variant.h:1868
25  com.apple.WebCore                     0x5b8fae6eb WebCore::XMLHttpRequest::send(WTF::String const&amp;) + 875  XMLHttpRequest.cpp:518
24  com.apple.WebCore                     0x5b8faf21d WebCore::XMLHttpRequest::createRequest() + 1709  utility:896
23  com.apple.WebCore                     0x5b8893167 WebCore::ThreadableLoader::create(WebCore::ScriptExecutionContext&amp;, WebCore::ThreadableLoaderClient&amp;, WebCore::ResourceRequest&amp;&amp;, WebCore::ThreadableLoaderOptions const&amp;, WTF::String&amp;&amp;) + 167  utility:896
22  com.apple.WebCore                     0x5b883dd4c WebCore::DocumentThreadableLoader::create(WebCore::Document&amp;, WebCore::ThreadableLoaderClient&amp;, WebCore::ResourceRequest&amp;&amp;, WebCore::ThreadableLoaderOptions const&amp;, WTF::String&amp;&amp;) + 108  DocumentThreadableLoader.cpp:128
21  com.apple.WebCore                     0x5b883e3a0 WebCore::DocumentThreadableLoader::DocumentThreadableLoader(WebCore::Document&amp;, WebCore::ThreadableLoaderClient&amp;, WebCore::DocumentThreadableLoader::BlockingBehavior, WebCore::ResourceRequest&amp;&amp;, WebCore::ThreadableLoaderOptions const&amp;, WTF::RefPtr&lt;WebCore::SecurityOrigin, WTF::DumbPtrTraits&lt;WebCore::SecurityOrigin&gt; &gt;&amp;&amp;, std::__1::unique_ptr&lt;WebCore::ContentSecurityPolicy, std::__1::default_delete&lt;WebCore::ContentSecurityPolicy&gt; &gt;&amp;&amp;, WTF::String&amp;&amp;, WebCore::DocumentThreadableLoader::ShouldLogError) + 1232  DocumentThreadableLoader.cpp:172
20  com.apple.WebCore                     0x5b883ebfc WebCore::DocumentThreadableLoader::loadRequest(WebCore::ResourceRequest&amp;&amp;, WebCore::SecurityCheckPolicy) + 1436  Expected.h:496
19  com.apple.WebCore                     0x5b88c7d3e WebCore::CachedResourceLoader::requestRawResource(WebCore::CachedResourceRequest&amp;&amp;) + 46  CachedResourceLoader.cpp:304
18  com.apple.WebCore                     0x5b88c60fc WebCore::CachedResourceLoader::requestResource(WebCore::CachedResource::Type, WebCore::CachedResourceRequest&amp;&amp;, WebCore::CachedResourceLoader::ForPreload, WebCore::CachedResourceLoader::DeferOption) + 7852  CachedResourceHandle.h:38
17  com.apple.WebCore                     0x5b88c0aca WebCore::CachedResource::load(WebCore::CachedResourceLoader&amp;) + 3082  memory:2595
16  com.apple.WebKit                      0x5b03c23f5 WebKit::WebLoaderStrategy::loadResource(WebCore::Frame&amp;, WebCore::CachedResource&amp;, WebCore::ResourceRequest&amp;&amp;, WebCore::ResourceLoaderOptions const&amp;, WTF::CompletionHandler&lt;void (WTF::RefPtr&lt;WebCore::SubresourceLoader, WTF::DumbPtrTraits&lt;WebCore::SubresourceLoader&gt; &gt;&amp;&amp;)&gt;&amp;&amp;) + 169  memory:2595
15  com.apple.WebCore                     0x5b888a89f WebCore::SubresourceLoader::create(WebCore::Frame&amp;, WebCore::CachedResource&amp;, WebCore::ResourceRequest&amp;&amp;, WebCore::ResourceLoaderOptions const&amp;, WTF::CompletionHandler&lt;void (WTF::RefPtr&lt;WebCore::SubresourceLoader, WTF::DumbPtrTraits&lt;WebCore::SubresourceLoader&gt; &gt;&amp;&amp;)&gt;&amp;&amp;) + 175  memory:2595
14  com.apple.WebCore                     0x5b888100c WebCore::ResourceLoader::init(WebCore::ResourceRequest&amp;&amp;, WTF::CompletionHandler&lt;void (bool)&gt;&amp;&amp;) + 364  memory:2595
13  com.apple.WebCore                     0x5b888aeac WebCore::SubresourceLoader::willSendRequestInternal(WebCore::ResourceRequest&amp;&amp;, WebCore::ResourceResponse const&amp;, WTF::CompletionHandler&lt;void (WebCore::ResourceRequest&amp;&amp;)&gt;&amp;&amp;) + 908  utility:896
12  com.apple.WebCore                     0x5b888cde9 WebCore::SubresourceLoader::willSendRequestInternal(WebCore::ResourceRequest&amp;&amp;, WebCore::ResourceResponse const&amp;, WTF::CompletionHandler&lt;void (WebCore::ResourceRequest&amp;&amp;)&gt;&amp;&amp;)::$_1::operator()(WTF::CompletionHandler&lt;void (WebCore::ResourceRequest&amp;&amp;)&gt;&amp;&amp;, WebCore::ResourceRequest&amp;&amp;) + 361  memory:2595
11  com.apple.WebCore                     0x5b8881d17 WebCore::ResourceLoader::willSendRequestInternal(WebCore::ResourceRequest&amp;&amp;, WebCore::ResourceResponse const&amp;, WTF::CompletionHandler&lt;void (WebCore::ResourceRequest&amp;&amp;)&gt;&amp;&amp;) + 1383  DumbPtrTraits.h:41
10  com.apple.WebCore                     0x5b887b871 WebCore::ResourceLoadNotifier::dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long, WebCore::ResourceRequest&amp;, WebCore::ResourceResponse const&amp;) + 193  ResourceLoadNotifier.cpp:132
9   com.apple.WebKit                      0x5b03ea26c WebKit::WebFrameLoaderClient::dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long, WebCore::ResourceRequest&amp;, WebCore::ResourceResponse const&amp;) + 78  WebFrameLoaderClient.cpp:217
8   com.apple.WebKit                      0x5b03b4f1f WebKit::InjectedBundlePageResourceLoadClient::willSendRequestForFrame(WebKit::WebPage&amp;, WebKit::WebFrame&amp;, unsigned long long, WebCore::ResourceRequest&amp;, WebCore::ResourceResponse const&amp;) + 183  WKSharedAPICast.h:133
7   WebKitTestRunnerInjectedBundle        0x5c7fb4b08 WTR::InjectedBundlePage::willSendRequestForFrame(OpaqueWKBundlePage const*, OpaqueWKBundleFrame const*, unsigned long long, OpaqueWKURLRequest const*, OpaqueWKURLResponse const*) + 1126  InjectedBundlePage.cpp:1214
6   com.apple.WebKit                      0x5b01cc807 WKDataCreate + 35  utility:896
5   com.apple.WebKit                      0x5b02f5419 API::Data::create(unsigned char const*, unsigned long) + 73  APIObject.h:265
4   com.apple.WebKit                      0x5b016c6ea API::Object::newObject(unsigned long, API::Object::Type) + 698  APIObject.mm:0
3   com.apple.Foundation                  0x1058fd138 NSAllocateObject + 19
2   libobjc.A.dylib                       0x5b10f1faf class_createInstance + 73
1   libsystem_malloc.dylib                0x5b36e467d calloc + 30
0   libsystem_malloc.dylib                0x5b36e4015 malloc_zone_calloc + 139 
====
    2 (96 bytes) ROOT LEAK: &lt;WKNSData 0x7fadea740b80&gt; [64]
       1 (32 bytes) _data + 16 --&gt; 0x7fade54a1100 [32]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1502335</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2019-02-05 05:32:02 -0800</bug_when>
    <thetext>&lt;rdar://problem/47815558&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1502336</commentid>
    <comment_count>2</comment_count>
      <attachid>361183</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2019-02-05 05:49:30 -0800</bug_when>
    <thetext>Created attachment 361183
Patch v1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1503403</commentid>
    <comment_count>3</comment_count>
      <attachid>361183</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-02-06 11:32:36 -0800</bug_when>
    <thetext>Comment on attachment 361183
Patch v1

Clearing flags on attachment: 361183

Committed r241034: &lt;https://trac.webkit.org/changeset/241034&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1503404</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-02-06 11:32:38 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>361183</attachid>
            <date>2019-02-05 05:49:30 -0800</date>
            <delta_ts>2019-02-06 11:32:36 -0800</delta_ts>
            <desc>Patch v1</desc>
            <filename>bug-194286-20190205054929.patch</filename>
            <type>text/plain</type>
            <size>1776</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjQwOTYzCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb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