Changeset 28503 in webkit
- Timestamp:
- Dec 6, 2007 5:04:43 PM (16 years ago)
- Location:
- trunk/WebKit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/mac/ChangeLog
r28501 r28503 1 2007-12-06 Adam Roben <aroben@apple.com> 2 3 Remove some assertions we know can fire and replace them with a FIXME 4 5 Reviewed by Anders. 6 7 * WebCoreSupport/WebFrameLoaderClient.mm: 8 1 9 2007-12-06 Timothy Hatcher <timothy@apple.com> 2 10 -
trunk/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm
r28399 r28503 1061 1061 RetainPtr<WebFramePolicyListener> WebFrameLoaderClient::setUpPolicyListener(FramePolicyFunction function) 1062 1062 { 1063 ASSERT(!m_policyListener); 1064 ASSERT(!m_policyFunction); 1063 // FIXME: <rdar://5634381> We need to support multiple active policy listeners. 1065 1064 1066 1065 [m_policyListener.get() invalidate]; -
trunk/WebKit/win/ChangeLog
r28498 r28503 1 2007-12-06 Adam Roben <aroben@apple.com> 2 3 Fix <rdar://5615283> Crash in WebFrame::receivedPolicyDecision 4 5 It's possible for a second policy listener to be created while we're 6 waiting for a decision on the first policy listener. In this case we 7 would crash when the first policy listener had a decision made. Mac 8 WebKit already handles this by invalidating any existing policy 9 listener when creating a new one. 10 11 A test case is coming in a future commit. 12 13 Reviewed by Anders. 14 15 * WebFrame.cpp: 16 (WebFrame::setUpPolicyListener): Copy the Mac behavior of invalidating 17 any existing policy listener, and remove some assertions that we know 18 can fire. 19 1 20 2007-12-06 Adam Roben <aroben@apple.com> 2 21 -
trunk/WebKit/win/WebFrame.cpp
r28468 r28503 1986 1986 COMPtr<WebFramePolicyListener> WebFrame::setUpPolicyListener(WebCore::FramePolicyFunction function) 1987 1987 { 1988 ASSERT(!d->m_policyListener); 1989 ASSERT(!d->m_policyFunction); 1988 // FIXME: <rdar://5634381> We need to support multiple active policy listeners. 1989 1990 if (d->m_policyListener) 1991 d->m_policyListener->invalidate(); 1990 1992 1991 1993 Frame* coreFrame = core(this);
Note: See TracChangeset
for help on using the changeset viewer.