[webkit-changes] [WebKit/WebKit] 5172b1: Crash trying to scroll a main frame PDF with UI-si...

Simon Fraser noreply at github.com
Tue Nov 1 15:33:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5172b1f269aa0858f847212a28a0ba9d608f78b4
      https://github.com/WebKit/WebKit/commit/5172b1f269aa0858f847212a28a0ba9d608f78b4
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp

  Log Message:
  -----------
  Crash trying to scroll a main frame PDF with UI-side compositing on macOS.
https://bugs.webkit.org/show_bug.cgi?id=247302
rdar://101786249

Reviewed by Tim Horton.

Null check the scrolling tree before stuffing it into a map (with UI-side compositing
and PDF it can be null).

* Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp:
(WebKit::EventDispatcher::addScrollingTreeForPage):

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




More information about the webkit-changes mailing list