WebKit2 can only have one active policy decision for a given frame. This is causing some failures / timeouts in WPT tests, in WebKit2 only.
Created attachment 435370 [details] WIP patch
Created attachment 435371 [details] WIP patch
Created attachment 435376 [details] Patch
Comment on attachment 435376 [details] Patch Setting review flag to get a review but cq- because I will delay landing this patch until it is safe to do so.
Comment on attachment 435376 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=435376&action=review > Source/WebKit/WebProcess/WebPage/WebFrame.cpp:221 > uint64_t WebFrame::setUpWillSubmitFormListener(CompletionHandler<void()>&& completionHandler) Would be nice to use a PolicyListenerIdentifier.
<rdar://problem/82092066>
(In reply to youenn fablet from comment #5) > Comment on attachment 435376 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=435376&action=review > > > Source/WebKit/WebProcess/WebPage/WebFrame.cpp:221 > > uint64_t WebFrame::setUpWillSubmitFormListener(CompletionHandler<void()>&& completionHandler) > > Would be nice to use a PolicyListenerIdentifier. I agree but I'll follow-up for the refactoring.
Comment on attachment 435376 [details] Patch Clearing flags on attachment: 435376 Committed r281445 (240828@main): <https://commits.webkit.org/240828@main>
All reviewed patches have been landed. Closing bug.