Changeset 245452 in webkit
- Timestamp:
- May 17, 2019, 4:25:09 AM (7 years ago)
- Location:
- releases/WebKitGTK/webkit-2.24/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/WebPage/WebFrame.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.24/Source/WebKit/ChangeLog
r245451 r245452 1 2019-05-14 Brent Fulgham <bfulgham@apple.com> 2 3 Protect current WebFrame during form submission 4 https://bugs.webkit.org/show_bug.cgi?id=197459 5 <rdar://problem/50368618> 6 7 Reviewed by Alex Christensen. 8 9 The 'continueWillSubmitForm' method calls a completion handler that 10 might affect the state of the current frame. Ensure the frame is valid 11 for the scope of the function. 12 13 * WebProcess/WebPage/WebFrame.cpp: 14 (WebKit::WebFrame::continueWillSubmitForm): 15 1 16 2019-05-10 Brent Fulgham <bfulgham@apple.com> 2 17 -
releases/WebKitGTK/webkit-2.24/Source/WebKit/WebProcess/WebPage/WebFrame.cpp
r241538 r245452 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.