RESOLVED FIXED 165788
WKWebView in inconsistent zoom/viewport state for the first "useFlexibleViewport" test
https://bugs.webkit.org/show_bug.cgi?id=165788
Summary WKWebView in inconsistent zoom/viewport state for the first "useFlexibleViewp...
Simon Fraser (smfr)
Reported 2016-12-12 19:25:33 PST
For the first useFlexibleViewport mode test after a normal 800x600 test, there are some timing issues that cause us to not have reset the zoom scale by the time the JS runs, causing flakiness. This seems related to WKWebView's _needsResetViewStateAfterCommitLoadForMainFrame but I haven't found a good solution yet.
Attachments
Logging patch (12.55 KB, patch)
2016-12-12 19:35 PST, Simon Fraser (smfr)
no flags
Patch to reproduce (21.28 KB, patch)
2016-12-12 19:41 PST, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2016-12-12 19:28:04 PST
Simon Fraser (smfr)
Comment 2 2016-12-12 19:35:02 PST
Created attachment 296983 [details] Logging patch
Simon Fraser (smfr)
Comment 3 2016-12-12 19:41:30 PST
Created attachment 296984 [details] Patch to reproduce
Simon Fraser (smfr)
Comment 4 2016-12-14 22:40:59 PST
Note You need to log in before you can comment on or make changes to this bug.