Changeset 159322 in webkit
- Timestamp:
- Nov 14, 2013, 4:28:38 PM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r159319 r159322 1 2013-11-14 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] WKBrowsingContextController's policy client implementation over-releases WKURLRequests and WKURLResponses 4 https://bugs.webkit.org/show_bug.cgi?id=124386 5 6 Reviewed by Sam Weinig. 7 8 * UIProcess/API/mac/WKBrowsingContextController.mm: 9 (setUpPagePolicyClient): Changed to release the Cocoa objects we copy out of the WK objects 10 passed into the client callbacks, but not the WK objects themselves, which are not owned by 11 the callbacks. 12 1 13 2013-11-14 Andy Estes <aestes@apple.com> 2 14 -
trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.mm
r159309 r159322 632 632 WKActionModifierFlagsKey: @(modifiers), 633 633 WKActionMouseButtonKey: @(mouseButton), 634 WKActionURLRequestKey: a utoreleased(request)634 WKActionURLRequestKey: adoptNS(WKURLRequestCopyNSURLRequest(request)).get() 635 635 }; 636 636 … … 649 649 WKActionModifierFlagsKey: @(modifiers), 650 650 WKActionMouseButtonKey: @(mouseButton), 651 WKActionURLRequestKey: a utoreleased(request),651 WKActionURLRequestKey: adoptNS(WKURLRequestCopyNSURLRequest(request)).get(), 652 652 WKActionFrameNameKey: toImpl(frameName)->wrapper() 653 653 }; … … 664 664 NSDictionary *actionDictionary = @{ 665 665 WKActionIsMainFrameKey: @(WKFrameIsMainFrame(frame)), 666 WKActionURLRequestKey: a utoreleased(request),667 WKActionURLResponseKey: a utoreleased(response)666 WKActionURLRequestKey: adoptNS(WKURLRequestCopyNSURLRequest(request)).get(), 667 WKActionURLResponseKey: adoptNS(WKURLResponseCopyNSURLResponse(response)).get() 668 668 }; 669 669
Note:
See TracChangeset
for help on using the changeset viewer.