[css-typed-om] Don't crash when setting CSSVariableReferenceValue.
When creating a CSSVariableReferenceValue with a reference to a variable which actually exists, we crash because CSSVariableReferenceValue objects created through Typed OM don't have a CSSParserContext. This was missed by our existing test suite, because we only covered a similar case where the referenced variable *didn't* exist, avoiding the broken code path. For now, fixed by using StrictCSSParserContext. Bug: 986710, 985028 Change-Id: If51e34a77e5433849e0602f297909027fc743798 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1713627 Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by:Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#680390}
Showing
Please register or sign in to comment