| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
inline void AdvanceExpectingIgnoringCase(Should this be named `...IgnoringAsciiCase` now?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
Should this be named `...IgnoringAsciiCase` now?
Good point! Done.
I also found the CL description didn't mention that this CL replaced Unicode case-folding with ASCII case-insensitive. Updated the description.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
4 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: third_party/blink/renderer/core/html/parser/html_tokenizer.cc
Insertions: 3, Deletions: 3.
The diff is too large to show. Please review the diff.
```
```
The name of the file: third_party/blink/renderer/platform/text/segmented_string.h
Insertions: 3, Deletions: 3.
The diff is too large to show. Please review the diff.
```
Move AdvanceStringExpecting* helper functions to SegmentedString
This change moves the string-expecting advance methods from being
standalone helper functions to member functions of SegmentedString.
Additionally, it optimizes these methods for non-DCHECK builds. By
moving the character comparison into a DCHECK, we avoid accessing the
underlying string content and performing comparisons in release builds,
where we only need to advance the SegmentedString.
This changes AdvanceStringExpectingIgnoringCase() so that it applies
ASCII case-insensitive matching, instead of Unicode case-insensitive
matching. This is not a behavior change because all expected strings
are ASCII, and no `k`, which matches to U+212A.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
inline void AdvanceExpectingIgnoringCase(Kent TamuraShould this be named `...IgnoringAsciiCase` now?
Good point! Done.
I also found the CL description didn't mention that this CL replaced Unicode case-folding with ASCII case-insensitive. Updated the description.
👍
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |