Changeset 152196 in webkit
- Timestamp:
- Jun 28, 2013 4:57:16 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r152194 r152196 1 2013-06-28 Alexey Proskuryakov <ap@apple.com> 2 3 [Mac] Crash when loading is stopped from -didReceiveResponse 4 https://bugs.webkit.org/show_bug.cgi?id=118209 5 <rdar://problem/14259249> 6 7 Reviewed by Brady Eidson. 8 9 Test: TestWebKitAPI/Tests/mac/StopLoadingFromDidReceiveResponse.mm. 10 11 * loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::didReceiveResponse): 12 Added yet another check for reachedTerminalState(). 13 1 14 2013-06-28 Beth Dakin <bdakin@apple.com> 2 15 -
trunk/Source/WebCore/loader/SubresourceLoader.cpp
r151878 r152196 189 189 if (reachedTerminalState()) 190 190 return; 191 191 192 ResourceLoader::didReceiveResponse(response); 193 if (reachedTerminalState()) 194 return; 192 195 193 196 // FIXME: Main resources have a different set of rules for multipart than images do. -
trunk/Tools/ChangeLog
r152195 r152196 1 2013-06-28 Alexey Proskuryakov <ap@apple.com> 2 3 [Mac] Crash when loading is stopped from -didReceiveResponse 4 https://bugs.webkit.org/show_bug.cgi?id=118209 5 <rdar://problem/14259249> 6 7 Reviewed by Brady Eidson. 8 9 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: 10 * TestWebKitAPI/Tests/mac/StopLoadingFromDidReceiveResponse.html: Added. 11 * TestWebKitAPI/Tests/mac/StopLoadingFromDidReceiveResponse.mm: Added. 12 (-[StopLoadingFromDidReceiveResponse webView:resource:didReceiveResponse:fromDataSource:]): 13 (TestWebKitAPI::TEST): 14 1 15 2013-06-28 Andy Estes <aestes@apple.com> 2 16 -
trunk/Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
r151607 r152196 208 208 E1220DA0155B25480013E2FC /* MemoryCacheDisableWithinResourceLoadDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = E1220D9F155B25480013E2FC /* MemoryCacheDisableWithinResourceLoadDelegate.mm */; }; 209 209 E1220DCA155B28AA0013E2FC /* MemoryCacheDisableWithinResourceLoadDelegate.html in Copy Resources */ = {isa = PBXBuildFile; fileRef = E1220DC9155B287D0013E2FC /* MemoryCacheDisableWithinResourceLoadDelegate.html */; }; 210 E194E1BB177E5145009C4D4E /* StopLoadingFromDidReceiveResponse.mm in Sources */ = {isa = PBXBuildFile; fileRef = E194E1BA177E5145009C4D4E /* StopLoadingFromDidReceiveResponse.mm */; }; 211 E194E1BD177E53C7009C4D4E /* StopLoadingFromDidReceiveResponse.html in Copy Resources */ = {isa = PBXBuildFile; fileRef = E194E1BC177E534A009C4D4E /* StopLoadingFromDidReceiveResponse.html */; }; 210 212 E490296814E2E3A4002BEDD1 /* TypingStyleCrash.mm in Sources */ = {isa = PBXBuildFile; fileRef = E490296714E2E3A4002BEDD1 /* TypingStyleCrash.mm */; }; 211 213 F660AA0D15A5F061003A1243 /* GetInjectedBundleInitializationUserDataCallback.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F660AA0C15A5F061003A1243 /* GetInjectedBundleInitializationUserDataCallback.cpp */; }; … … 288 290 BC909784125571CF00083756 /* simple.html in Copy Resources */, 289 291 C01A23F21266156700C9ED55 /* spacebar-scrolling.html in Copy Resources */, 292 E194E1BD177E53C7009C4D4E /* StopLoadingFromDidReceiveResponse.html in Copy Resources */, 290 293 C540F784152E5A9A00A40C8C /* verboseMarkup.html in Copy Resources */, 291 294 A5E2027515B21F6E00C13E14 /* WindowlessWebViewWithMedia.html in Copy Resources */, … … 517 520 E1220D9F155B25480013E2FC /* MemoryCacheDisableWithinResourceLoadDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MemoryCacheDisableWithinResourceLoadDelegate.mm; sourceTree = "<group>"; }; 518 521 E1220DC9155B287D0013E2FC /* MemoryCacheDisableWithinResourceLoadDelegate.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = MemoryCacheDisableWithinResourceLoadDelegate.html; sourceTree = "<group>"; }; 522 E194E1BA177E5145009C4D4E /* StopLoadingFromDidReceiveResponse.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = StopLoadingFromDidReceiveResponse.mm; sourceTree = "<group>"; }; 523 E194E1BC177E534A009C4D4E /* StopLoadingFromDidReceiveResponse.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; path = StopLoadingFromDidReceiveResponse.html; sourceTree = "<group>"; }; 519 524 E490296714E2E3A4002BEDD1 /* TypingStyleCrash.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = TypingStyleCrash.mm; sourceTree = "<group>"; }; 520 525 F3FC3EE213678B7300126A65 /* libgtest.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libgtest.a; sourceTree = BUILT_PRODUCTS_DIR; }; … … 892 897 1A7BFC0A171A0BDB00BC5F64 /* WillSendSubmitEvent.mm */, 893 898 A5E2027215B2181900C13E14 /* WindowlessWebViewWithMedia.mm */, 899 E194E1BA177E5145009C4D4E /* StopLoadingFromDidReceiveResponse.mm */, 894 900 ); 895 901 path = mac; … … 916 922 A57A34F116AF69E200C2501F /* PageVisibilityStateWithWindowChanges.html */, 917 923 52B8CF9415868CF000281053 /* SetDocumentURI.html */, 924 E194E1BC177E534A009C4D4E /* StopLoadingFromDidReceiveResponse.html */, 918 925 C540F783152E5A7800A40C8C /* verboseMarkup.html */, 919 926 A5E2027015B2180600C13E14 /* WindowlessWebViewWithMedia.html */, … … 1149 1156 C540F776152E4DA000A40C8C /* SimplifyMarkup.mm in Sources */, 1150 1157 C02B77F2126612140026BF0F /* SpacebarScrolling.cpp in Sources */, 1158 E194E1BB177E5145009C4D4E /* StopLoadingFromDidReceiveResponse.mm in Sources */, 1151 1159 81B50193140F232300D9EB58 /* StringBuilder.cpp in Sources */, 1152 1160 3799AD3A14120A43005EB0C6 /* StringByEvaluatingJavaScriptFromString.mm in Sources */,
Note: See TracChangeset
for help on using the changeset viewer.