MyGit

merge_pr_48014

web-platform-tests/wpt

版本发布时间: 2024-09-08 03:44:28

web-platform-tests/wpt最新发布版本:merge_pr_48029(2024-09-07 13:25:31)

[css-typed-om] Don't crash for unrepresentable shorthands

ComputedStylePropertyMap::SerializationForShorthand for some reason expects that CSSValueFromComputedStyle can't return nullptr, when in reality this can easily happen as soon as you have a shorthand which can't represent the currently held longhands.

We have likely exercised this code for a long time, but ever since CL:5577948, we began crashing, since NOTREACHED() is fatal now.

Looking briefly over the spec, it is not defined what to return in this situation, hence adding a crash test which doesn't make assertions about the return value.

Fixed: 364443014 Change-Id: I5c6bcc4ef75285194aed2fc0a6b57429655c7610 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5840236 Reviewed-by: Rune Lillesveen futhark@chromium.org Commit-Queue: Anders Hartvoll Ruud andruud@chromium.org Cr-Commit-Position: refs/heads/main@{#1352461}

相关地址:原始地址 下载(tar) 下载(zip)

1、 MANIFEST-0d97b82a7632e282c9503fc2cbf7b05383eab7a9.json.bz2 2.47MB

2、 MANIFEST-0d97b82a7632e282c9503fc2cbf7b05383eab7a9.json.gz 3.03MB

3、 MANIFEST-0d97b82a7632e282c9503fc2cbf7b05383eab7a9.json.zst 2.46MB

4、 WEB_FEATURES_MANIFEST-0d97b82a7632e282c9503fc2cbf7b05383eab7a9.json.bz2 67.26KB

5、 WEB_FEATURES_MANIFEST-0d97b82a7632e282c9503fc2cbf7b05383eab7a9.json.gz 78.05KB

6、 WEB_FEATURES_MANIFEST-0d97b82a7632e282c9503fc2cbf7b05383eab7a9.json.zst 66.71KB

查看:2024-09-08发行的版本