Bug 210283

Summary: Reset view navigation gesture state between tests
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ddkilzer, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=210433
Bug Depends on: 210330    
Bug Blocks:    
Attachments:
Description Flags
Patch
thorton: review+
Patch
none
Patch none

Simon Fraser (smfr)
Reported 2020-04-09 09:39:52 PDT
Reset view navigation gesture state between tests
Attachments
Patch (13.65 KB, patch)
2020-04-09 09:43 PDT, Simon Fraser (smfr)
thorton: review+
Patch (13.70 KB, patch)
2020-04-09 10:35 PDT, Simon Fraser (smfr)
no flags
Patch (10.26 KB, patch)
2020-04-09 11:17 PDT, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2020-04-09 09:43:12 PDT
Tim Horton
Comment 2 2020-04-09 10:20:21 PDT
Comment on attachment 395966 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=395966&action=review > Source/WebKit/UIProcess/API/C/WKPage.cpp:2728 > +{ If you put this on WKWebView instead you can avoid the pageclient hits AND avoid expanding the C API.
Simon Fraser (smfr)
Comment 3 2020-04-09 10:35:04 PDT
Radar WebKit Bug Importer
Comment 4 2020-04-09 10:50:01 PDT
Simon Fraser (smfr)
Comment 5 2020-04-09 10:50:18 PDT
(In reply to Tim Horton from comment #2) > Comment on attachment 395966 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=395966&action=review > > > Source/WebKit/UIProcess/API/C/WKPage.cpp:2728 > > +{ > > If you put this on WKWebView instead you can avoid the pageclient hits AND > avoid expanding the C API. Yeah I wasn't sure about that. Will do.
Simon Fraser (smfr)
Comment 6 2020-04-09 11:17:48 PDT
EWS
Comment 7 2020-04-09 13:11:29 PDT
Committed r259818: <https://trac.webkit.org/changeset/259818> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395979 [details].
David Kilzer (:ddkilzer)
Comment 8 2020-04-10 03:10:22 PDT
This is causing crashes on three ios-wk2 tests in EWS and on build.webkit.org: swipe/main-frame-pinning-requirement.html swipe/pushState-programmatic-back-while-swiping-crash.html webgl/1.0.3/conformance/ogles/GL/lessThan/lessThan_001_to_008.html Example test run: <https://build.webkit.org/results/Apple%20iOS%2013%20Simulator%20Release%20WK2%20(Tests)/r259848%20(3630)/results.html>
WebKit Commit Bot
Comment 10 2020-04-10 03:16:36 PDT
Re-opened since this is blocked by bug 210330
David Kilzer (:ddkilzer)
Comment 11 2020-04-10 08:36:11 PDT
(In reply to David Kilzer (:ddkilzer) from comment #8) > This is causing crashes on three ios-wk2 tests in EWS and on > build.webkit.org: > > swipe/main-frame-pinning-requirement.html > swipe/pushState-programmatic-back-while-swiping-crash.html > webgl/1.0.3/conformance/ogles/GL/lessThan/lessThan_001_to_008.html > > Example test run: > <https://build.webkit.org/results/ > Apple%20iOS%2013%20Simulator%20Release%20WK2%20(Tests)/r259848%20(3630)/ > results.html> BTW, this looks kind of like a use after free based on the crash logs.
Simon Fraser (smfr)
Comment 12 2020-04-10 10:11:36 PDT
iOS WK2 EWS is so slow that I can't wait for it.
Simon Fraser (smfr)
Comment 13 2020-04-10 11:18:21 PDT
Note You need to log in before you can comment on or make changes to this bug.