Re: [csswg-drafts] [cssom-1] Should `CSSStyleSheetInit.baseURL` be validated? (#12974)

  > not sure if `NotAllowedError` is the best error to throw there

I agree. [`DataError`](https://webidl.spec.whatwg.org/#dataerror) or [`SyntaxError`](https://webidl.spec.whatwg.org/#syntaxerror) seem more appropriate. I do not mind creating a PR to modify it in the WPT test.

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12974#issuecomment-3514931605 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 11 November 2025 04:21:55 UTC