CSSStyleSheet constructor doesn't invoke URL parser
Open
Nobody has claimed this yet.
cssom-1
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
css/cssom/CSSStyleSheet-constructable-baseURL.tentative.html tests what should happen when the constructor runs, but the actual behavior doesn't seem to be defined. E.g., that an invalid URL ends up throwing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with css/cssom/CSSStyleSheet-constructable-baseURL.tentative.html and inspect what it expects when the CSSStyleSheet constructor runs, especially for invalid URLs. Read the surrounding CSSStyleSheet constructor specification, then update the definition so the constructor behavior is explicit and the test's expected outcome is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html
- Domain
- frontend, testing, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100