Bug 1642381 [wpt PR 23894] - [ScrollTimeline] Fix null-deref READ when resolved scrol...
commitb72444265fb14d3fea552c50617c1234cb99896f
authorYi Gu <yigu@chromium.org>
Wed, 3 Jun 2020 04:24:09 +0000 (3 04:24 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sun, 7 Jun 2020 13:36:14 +0000 (7 13:36 +0000)
treea785b6e3c136c81558537ae4ecb2e382334be8b2
parent3d899e54cf365ab3a9be29bc1a1e83b1c85e0dd6
Bug 1642381 [wpt PR 23894] - [ScrollTimeline] Fix null-deref READ when resolved scroll source is null, a=testonly

Automatic update from web-platform-tests
[ScrollTimeline] Fix null-deref READ when resolved scroll source is null

The resolved scroll source of ScrollTimeline could be null so we should
check before dereference it when checking whether it uses composited
scrolling.

Bug: 1088319
Change-Id: Ib20cceefcd0e1de05cf1d5932a6da6aac37ef8b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2223995
Commit-Queue: Yi Gu <yigu@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#773847}

--

wpt-commits: 04698f643c15561cba3ade00aecac2e8e4eb3b43
wpt-pr: 23894
testing/web-platform/tests/lint.ignore
testing/web-platform/tests/scroll-animations/null-scroll-source-crash.html [new file with mode: 0644]