commit | a01f1227a5595e924914285c90fb5cd5cf5e9c4b | [log] [tgz] |
---|---|---|
author | ap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Wed Dec 21 23:58:46 2016 +0000 |
committer | ap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Wed Dec 21 23:58:46 2016 +0000 |
tree | aac7c196466fa7c3b2c59f9346733538ff3c5bb9 | |
parent | 5c5223aa32bdc005ffd69e1c79021658b966ffcb [diff] |
REGRESSION: API test failure: _WKDownload.OriginatingWebView https://bugs.webkit.org/show_bug.cgi?id=166033 <rdar://problem/29758428> Reviewed by Simon Fraser. Add an @autoreleasepool around the code that allocates the WKWebView, so that it can be destroyed by removing the last reference in _downloadDidStart. * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm: (TEST): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@210082 268f45cc-cd09-0410-ab3c-d52691b4dbfc