kkoyung · GitHub

added 2 commits

May 18, 2026 14:57
Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>

@kkoyung

TimvdLippe

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>

@TimvdLippe

This was referenced

May 20, 2026

Open

Merged

janeoa pushed a commit to janeoa/servo that referenced this pull request

May 21, 2026
)
We usually place `JSContext` as the first parameter of functions (after
`self`, if present).
The functions in `components/script/dom/servoparser/mod.rs` currently do
not follow this convention.
Move `cx: &mut JSContext` to the first parameter position in those
functions. Also, add a `use js::context::JSContext;` to the file so that
we don't need to use fully qualified path.
Testing: Refactoring. Existing tests are enough.
Fixes: Follow-up of
servo#44983 (comment)
Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>

@kkoyung

kkoyung deleted the sanitizer-setHTML branch

May 31, 2026 09:23

Read the original on github.com ↗