Skip to content

Commit 8c5b9df

Browse files
committed
Write about script and unsafe changes
1 parent 425be5a commit 8c5b9df

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

_posts/2025-03-07-this-month-in-servo.md

+19-16
Original file line numberDiff line numberDiff line change
@@ -263,24 +263,24 @@ categories:
263263
perf
264264
- `https://github.com/servo/servo/pull/35618 (@webbeef, #35618) Improve scheduling of the memory profiler. (#35618)
265265
perf
266-
- script
267-
- https://github.com/servo/servo/pull/35280 (@jdm, #35280) Move more foundational types to script_bindings (#35280)
266+
- `script
267+
- `https://github.com/servo/servo/pull/35280 (@jdm, #35280) Move more foundational types to script_bindings (#35280)
268268
script
269-
- https://github.com/servo/servo/pull/35279 (@jdm, #35279) Move various reflector types and traits to script_bindings (#35279)
269+
- `https://github.com/servo/servo/pull/35279 (@jdm, #35279) Move various reflector types and traits to script_bindings (#35279)
270270
script
271-
- https://github.com/servo/servo/pull/35292 (@jdm, #35292) Make generated proxy handlers and DOM object hooks generic (#35292)
271+
- `https://github.com/servo/servo/pull/35292 (@jdm, #35292) Make generated proxy handlers and DOM object hooks generic (#35292)
272272
script
273-
- https://github.com/servo/servo/pull/35435 (@mukilan, #35435) script: reset spurious frame counter *only* when reflow is triggered (#35435)
273+
- `https://github.com/servo/servo/pull/35435 (@mukilan, #35435) script: reset spurious frame counter *only* when reflow is triggered (#35435)
274274
script
275-
- https://github.com/servo/servo/pull/35387 (@mukilan, #35387) script: fix spurious animation checks to correctly invoke rAF callbacks (#35387)
275+
- `https://github.com/servo/servo/pull/35387 (@mukilan, #35387) script: fix spurious animation checks to correctly invoke rAF callbacks (#35387)
276276
script
277-
- https://github.com/servo/servo/pull/35578 (@jdm, #35578) Move more bindings code to script_bindings (#35578)
277+
- `https://github.com/servo/servo/pull/35578 (@jdm, #35578) Move more bindings code to script_bindings (#35578)
278278
script
279-
- https://github.com/servo/servo/pull/35459 (@jdm, #35459) script: Make callbacks generic over DOM interfaces. (#35459)
279+
- `https://github.com/servo/servo/pull/35459 (@jdm, #35459) script: Make callbacks generic over DOM interfaces. (#35459)
280280
script
281-
- https://github.com/servo/servo/pull/35457 (@jdm, #35457) script: Refer to DOM interfaces with generic types in generated bindings. (#35457)
281+
- `https://github.com/servo/servo/pull/35457 (@jdm, #35457) script: Refer to DOM interfaces with generic types in generated bindings. (#35457)
282282
script
283-
- https://github.com/servo/servo/pull/35620 (@jdm, #35620) Move more bindings types to script_bindings (#35620)
283+
- `https://github.com/servo/servo/pull/35620 (@jdm, #35620) Move more bindings types to script_bindings (#35620)
284284
script
285285
- servodriver
286286
- https://github.com/servo/servo/pull/35677 (@jdm, #35677) Allow webdriver screenshots to occur immediately upon request. (#35677)
@@ -332,15 +332,15 @@ categories:
332332
- `tables
333333
- `https://github.com/servo/servo/pull/35219 (@Loirooriol, #35219) layout: Fix painting order of collapsed table borders (#35219)
334334
tables
335-
- unsafe
335+
- `unsafe
336336
- https://github.com/servo/servo/pull/35367 (@[email protected], #35367) script: make methods of ErrorInfo safe (#35367)
337-
unsafe
337+
`unsafe
338338
- https://github.com/servo/servo/pull/35360 (@[email protected], #35360) script: make throw_invalid_this and throw_constructor_without_new safe (#35360)
339-
unsafe
339+
`unsafe
340340
- https://github.com/servo/servo/pull/35351 (@[email protected], #35351) make report_pending_exception safe and adjust callers (#35351)
341-
unsafe
341+
`unsafe
342342
- https://github.com/servo/servo/pull/35411 (@[email protected], #35411) script: make Error::to_jsval safe (#35411)
343-
unsafe
343+
`unsafe
344344
- upgrade
345345
- https://github.com/servo/servo/pull/35289 (@Loirooriol, #35289) Upgrade Stylo to 2025-02-03 (#35289)
346346
upgrade
@@ -436,10 +436,13 @@ The compositor now **notifies the embedder of new frames immediately** (@mrobins
436436

437437
Servo’s typical **memory usage has been reduced by over 1%** thanks to Node object optimisations (@webbeef, #35592, #35554), and we’ve also improved our [memory profiler](https://book.servo.org/hacking/profiling.html#memory-profiling) (@webbeef, #35618, #35607).
438438

439-
We’ve fixed a bug causing very high CPU usage on sites like wikipedia.org (@webbeef, #35245).
439+
We’ve fixed a bug causing very high CPU usage on sites like wikipedia.org (@webbeef, #35245), as well as bugs affecting requestAnimationFrame (@mukilan, #35387, #35435).
440440

441441
You can now configure our tracing-based profiler (`--features tracing`) with `servo --tracing-filter` instead of `SERVO_TRACING` (@jschwe, #35370).
442442

443+
We’ve continued **reducing our use of `unsafe` in script** (@nscaife, @stephenmuss, #35351, #35360, #35367, #35411), and **moving parts of `script` to `script_bindings`** (@jdm, #35279, #35280, #35292, #35457, #35459, #35578, #35620).
444+
Breaking up our massive `script` crate is absolutely critical for reducing Servo’s build times.
445+
443446
## Donations
444447

445448
Thanks again for your generous support!

0 commit comments

Comments
 (0)