Changeset 245920 in webkit
- Timestamp:
- May 30, 2019, 5:29:58 PM (7 years ago)
- Location:
- branches/safari-607-branch/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/WebPage/WebFrame.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-607-branch/Source/WebKit/ChangeLog
r245915 r245920 1 2019-05-30 Kocsen Chung <kocsen_chung@apple.com> 2 3 Cherry-pick r245284. rdar://problem/51264857 4 5 Protect current WebFrame during form submission 6 https://bugs.webkit.org/show_bug.cgi?id=197459 7 <rdar://problem/50368618> 8 9 Reviewed by Alex Christensen. 10 11 The 'continueWillSubmitForm' method calls a completion handler that 12 might affect the state of the current frame. Ensure the frame is valid 13 for the scope of the function. 14 15 * WebProcess/WebPage/WebFrame.cpp: 16 (WebKit::WebFrame::continueWillSubmitForm): 17 18 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245284 268f45cc-cd09-0410-ab3c-d52691b4dbfc 19 20 2019-05-14 Brent Fulgham <bfulgham@apple.com> 21 22 Protect current WebFrame during form submission 23 https://bugs.webkit.org/show_bug.cgi?id=197459 24 <rdar://problem/50368618> 25 26 Reviewed by Alex Christensen. 27 28 The 'continueWillSubmitForm' method calls a completion handler that 29 might affect the state of the current frame. Ensure the frame is valid 30 for the scope of the function. 31 32 * WebProcess/WebPage/WebFrame.cpp: 33 (WebKit::WebFrame::continueWillSubmitForm): 34 1 35 2019-05-30 Kocsen Chung <kocsen_chung@apple.com> 2 36 -
branches/safari-607-branch/Source/WebKit/WebProcess/WebPage/WebFrame.cpp
r241513 r245920 1 1 /* 2 * Copyright (C) 2010-201 6Apple Inc. All rights reserved.2 * Copyright (C) 2010-2019 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 234 234 void WebFrame::continueWillSubmitForm(uint64_t listenerID) 235 235 { 236 Ref<WebFrame> protectedThis(*this); 236 237 if (auto completionHandler = m_willSubmitFormCompletionHandlers.take(listenerID)) 237 238 completionHandler();
Note:
See TracChangeset
for help on using the changeset viewer.