fune/testing/web-platform/tests/css/css-properties-values-api
Sam Davis Omekara 45e1046725 Bug 1897864 [wpt PR 46388] - Fix Null Dereference in css_parsing_utils, a=testonly
Automatic update from web-platform-tests
Fix Null Dereference in css_parsing_utils

This CL addresses a null pointer dereference issue within the
ConsumeColorContrast functions located in css_parsing_utils.cc.
Previously, a null dereference occurred when the code attempted to
retrieve the color provider when the document was null. To resolve
this, the updated code now includes a validation check to ensure the
document object is valid before calling the GetColorProviderForPainting
method.

Bug: 337069153
Change-Id: Ieee6c0e3602b25e8b149c93643e4d55265e4467c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5497219
Reviewed-by: Alison Maher <almaher@microsoft.com>
Commit-Queue: Sam Davis Omekara <samomekarajr@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1304551}

--

wpt-commits: 3eb175f695ca8064ee616bed9e250595b557a87a
wpt-pr: 46388
2024-05-30 07:56:30 +00:00
..
animation
crashtests Bug 1897864 [wpt PR 46388] - Fix Null Dereference in css_parsing_utils, a=testonly 2024-05-30 07:56:30 +00:00
resources
support
animate-invalid.html
at-property-animation.html Bug 1899318 - Fix at-property-animation to account for spec ambiguity. r=firefox-style-system-reviewers,zrhoffman 2024-05-29 10:25:03 +00:00
at-property-cssom.html
at-property-non-matching-media-crash.html
at-property-shadow.html
at-property-stylesheets.html
at-property-typedom.html
at-property-viewport-units-dynamic.html
at-property-viewport-units.html
at-property.html
conditional-rules.html
determine-registration.html
font-size-animation.html
get-computed-style-enumeration.html
idlharness.html
invalid-at-computed-value-time.html
META.yml
property-cascade.html
register-property-syntax-parsing.html
register-property.html
registered-properties-inheritance.html
registered-property-change-style-001.html
registered-property-change-style-002-ref.html
registered-property-change-style-002.html
registered-property-computation-color-001-ref.html Bug 1899272 - Defer computation of registered custom color properties if needed. r=dshin,firefox-style-system-reviewers,zrhoffman 2024-05-29 14:19:02 +00:00
registered-property-computation-color-001.html Bug 1899272 - Defer computation of registered custom color properties if needed. r=dshin,firefox-style-system-reviewers,zrhoffman 2024-05-29 14:19:02 +00:00
registered-property-computation-color-002.html Bug 1899272 - Defer computation of registered custom color properties if needed. r=dshin,firefox-style-system-reviewers,zrhoffman 2024-05-29 14:19:02 +00:00
registered-property-computation-color-003-ref.html Bug 1899272 - Defer computation of registered custom color properties if needed. r=dshin,firefox-style-system-reviewers,zrhoffman 2024-05-29 14:19:02 +00:00
registered-property-computation-color-003.html Bug 1899272 - Defer computation of registered custom color properties if needed. r=dshin,firefox-style-system-reviewers,zrhoffman 2024-05-29 14:19:02 +00:00
registered-property-computation.html
registered-property-crosstalk.html
registered-property-cssom.html
registered-property-initial.html
registered-property-revert.html
self-utils.html
typedom.html
unit-cycles.html
url-resolution.html
var-reference-registered-properties-002.html Bug 1899272 - Defer computation of registered custom color properties if needed. r=dshin,firefox-style-system-reviewers,zrhoffman 2024-05-29 14:19:02 +00:00
var-reference-registered-properties-cycles.html
var-reference-registered-properties.html