Changeset 150766 in webkit
- Timestamp:
- May 27, 2013 11:04:02 AM (11 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/ChangeLog
r150760 r150766 1 2013-05-27 Eli Fidler <efidler@rim.com> 2 3 [BlackBerry] Fix subframe target added to new requests 4 https://bugs.webkit.org/show_bug.cgi?id=116602 5 6 Reviewed by Rob Buis. 7 8 In some cases we might be adding TargetIsMainFrame to a subframe 9 request causing an isMainFrame assert. 10 11 * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: 12 (WebCore::FrameLoaderClientBlackBerry::dispatchWillSendRequest): 13 Check we are actually loading the main frame before setting 14 ResourceRequest::TargetIsMainFrame target. 15 1 16 2013-05-27 Carlos Garcia Campos <cgarcia@igalia.com> 2 17 -
trunk/Source/WebKit/blackberry/WebCoreSupport/FrameLoaderClientBlackBerry.cpp
r150757 r150766 966 966 967 967 // TargetType for subresource loads should have been set in CachedResource::load(). 968 if (isMainResourceLoad && request.targetType() == ResourceRequest::TargetIsUnspecified)969 request.setTargetType( isMainFrame() ? ResourceRequest::TargetIsMainFrame : ResourceRequest::TargetIsSubframe);968 if (isMainResourceLoad) 969 request.setTargetType(docLoader->frameLoader()->isLoadingMainFrame() ? ResourceRequest::TargetIsMainFrame : ResourceRequest::TargetIsSubframe); 970 970 971 971 // Any processing which is done for all loads (both main and subresource) should go here.
Note: See TracChangeset
for help on using the changeset viewer.