Timer CSP check should report an exception when it fails
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
Read the timer initialization steps at the linked HTML specification section, then inspect components/script/timers.rs around lines 663-676 and 796. Move the CSP check to the indicated point so a failed check reports an exception as required by step 9.8.3.
Written by the indexing model from the issue text.
Description
https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timer-initialisation-steps step 9.8.3
It looks like we're performing the check too early; we should be performing it inside https://github.com/servo/servo/blob/fdc676979b2257cbf0e123f1c03233fedcd1ad12/components/script/timers.rs#L796 instead.
- Dominant language
- Rust
- Stars
- 38k
- Forks
- 3.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 459
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.
More from servo/servo
-
C-untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Update Utf8CodeUnits Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
A-content/webgpu P-android
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
A-content/media B-feature-tracking
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
A-infrastructure A-testing
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100