Open annevk opened 3 days ago
Why is it only for document.domain
-related business? Unclear why we can't use effective domain.
Because the domain field is only set when document.domain
is used. Generally that's an internal field for the HTML Standard.
No other specification really ought to use "effective domain". That's only for
document.domain
-related business. I suspect you just want to grab an origin's host and ignore this operation.