[webkit-changes] [WebKit/WebKit] 80bba9: REGRESSION(258307 at main) ASSERTION FAILED: scale ==...

Tim Horton noreply at github.com
Thu Jan 12 11:50:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 80bba9e9dc19d0455a0cedbeb6d8bd96bbc8af15
      https://github.com/WebKit/WebKit/commit/80bba9e9dc19d0455a0cedbeb6d8bd96bbc8af15
  Author: Tim Horton <thorton at apple.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm

  Log Message:
  -----------
  REGRESSION(258307 at main) ASSERTION FAILED: scale == [webView->_scrollView zoomScale]
https://bugs.webkit.org/show_bug.cgi?id=250484
rdar://104142370

Reviewed by Wenson Hsieh and Saam Barati.

* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(contentZoomScale):
After 258307 at main, this function will still return the correct value, but
the assertion will never be true while the resizeAnimationView is installed.

Adjust the assertion to ignore this case.

Canonical link: https://commits.webkit.org/258842@main




More information about the webkit-changes mailing list