sagudev
sagudev
While trying to understand the idea, work that was already done, its problems and how associate types would be used for this I make this example: ```rust mod script_bindings {...
Yeah, I figured and already reported to github.
> @sagudev how to reproduce? in a specific website or a test? I do `./mach run -r https://speedometer-9x8.pages.dev/?headless=1 --pref dom.allow_scripts_to_close_windows --resolution=1100x900` and when it stops for a few seconds (usually...
Something like ```rust impl PartialEq for T { fn eq(&self, other: &Self) -> bool { self.reflector() == other.reflector() } } ``` in https://github.com/servo/servo/blob/7b7020a8d429d4b58bcaf09615cdc246becfcfe5/components/script/dom/bindings/reflector.rs and I think we can also do...
We should do actual impl in `#[dom_struct]` instead of using generic impl I wrote.
> should be possible to write an analysis pass as a new linter (similar to crown) Actually I think this should live in crown, but as separate lints, as I...
I was wondering are we sure that can_gc argument even if not used gets optimized out, if not might not be zero cost safety check. I think making `#[crown::cangc]` attribute...
Creating this lint will be harder than I though, refmut across await lint is very different than what we need (I think we will need visitor).
GC always happens in same thread, right? Why don't we just use unsafe and allow borrow in tracer (even in presence of mutable borrow). Basically I am wondering why we...
> GC always happens in same thread, right? Why don't we just use unsafe and allow borrow in tracer (even in presence of mutable borrow). Basically I am wondering why...