-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Crown doesn't check code inside closures #37330
Copy link
Copy link
Open
Labels
Description
See for example:
servo/components/script/body.rs
Line 250 in bd6639a
| let rejection_handler = Box::new(TransmitBodyPromiseRejectionHandler { |
This should fail because of
servo/components/script/body.rs
Line 324 in bd6639a
| #[cfg_attr(crown, crown::unrooted_must_root_lint::must_root)] |
and it fact it does fail if you construct the promise handler outside of task!.
Reactions are currently unavailable