Bug 261044
| Summary: | Some code incorrectly compares Document objects using CSSParserContext's comparison operator | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | CSS | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
Mark CSSParserContext constructors as explicit. We have some code incorrectly comparing Document objects by value and the code builds because it is implicitly converting the Documents to CSSParserContexts and calling CSSParserContext's operator==().
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/17356
EWS
Committed 267577@main (1dc257f3194c): <https://commits.webkit.org/267577@main>
Reviewed commits have been landed. Closing PR #17356 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/114857465>