Open
Description
What is the issue with the HTML Standard?
In a recent cookie store PR, we called into the "is a registrable domain suffix of or is equal to". Although this check internally runs the host parser for comparison, it unfortunately discards the parsed result, returning only a boolean (true or false). This necessitated re-running the host parser to store the parsed string, which is inefficient.
Ideally, the check should return the parsed string directly, allowing callers to utilize the already computed result.
CC: @annevk