Title: [241892] branches/safari-607-branch/Source/WebKit
- Revision
- 241892
- Author
- [email protected]
- Date
- 2019-02-21 13:27:30 -0800 (Thu, 21 Feb 2019)
Log Message
Cherry-pick r241777. rdar://problem/48248215
Remove assertion introduced in r229683
https://bugs.webkit.org/show_bug.cgi?id=194825
<rdar://problem/47628258>
Reviewed by Geoffrey Garen.
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
If we reach this code and the form's original Document's Frame has been destroyed,
we have already been told to submit the form so do so, just like we do if the WebPage
has been destroyed. This is a rare edge case having to do with the timing of Frame
destruction and decidePolicyForNavigationAction response, which unfortunately does not
reproduce with a test case unless the timing of IPC is just right.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-607-branch/Source/WebKit/ChangeLog (241891 => 241892)
--- branches/safari-607-branch/Source/WebKit/ChangeLog 2019-02-21 21:27:27 UTC (rev 241891)
+++ branches/safari-607-branch/Source/WebKit/ChangeLog 2019-02-21 21:27:30 UTC (rev 241892)
@@ -1,5 +1,43 @@
2019-02-20 Alan Coon <[email protected]>
+ Cherry-pick r241777. rdar://problem/48248215
+
+ Remove assertion introduced in r229683
+ https://bugs.webkit.org/show_bug.cgi?id=194825
+ <rdar://problem/47628258>
+
+ Reviewed by Geoffrey Garen.
+
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
+ If we reach this code and the form's original Document's Frame has been destroyed,
+ we have already been told to submit the form so do so, just like we do if the WebPage
+ has been destroyed. This is a rare edge case having to do with the timing of Frame
+ destruction and decidePolicyForNavigationAction response, which unfortunately does not
+ reproduce with a test case unless the timing of IPC is just right.
+
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-02-19 Alex Christensen <[email protected]>
+
+ Remove assertion introduced in r229683
+ https://bugs.webkit.org/show_bug.cgi?id=194825
+ <rdar://problem/47628258>
+
+ Reviewed by Geoffrey Garen.
+
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
+ If we reach this code and the form's original Document's Frame has been destroyed,
+ we have already been told to submit the form so do so, just like we do if the WebPage
+ has been destroyed. This is a rare edge case having to do with the timing of Frame
+ destruction and decidePolicyForNavigationAction response, which unfortunately does not
+ reproduce with a test case unless the timing of IPC is just right.
+
+2019-02-20 Alan Coon <[email protected]>
+
Cherry-pick r241721. rdar://problem/48243376
AX: PSON: Going back from apple.com to search results, cannot interact with HTML content. Disabling Swap Processes on Cross-Site Navigation resolves the issue.
Modified: branches/safari-607-branch/Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp (241891 => 241892)
--- branches/safari-607-branch/Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp 2019-02-21 21:27:27 UTC (rev 241891)
+++ branches/safari-607-branch/Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp 2019-02-21 21:27:30 UTC (rev 241892)
@@ -972,9 +972,11 @@
auto& form = formState.form();
auto* sourceCoreFrame = formState.sourceDocument().frame();
- RELEASE_ASSERT(sourceCoreFrame);
+ if (!sourceCoreFrame)
+ return completionHandler();
auto* sourceFrame = WebFrame::fromCoreFrame(*sourceCoreFrame);
- ASSERT(sourceFrame);
+ if (!sourceFrame)
+ return completionHandler();
auto& values = formState.textFieldValues();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes