servo/components/script/task_source
Samson 9514f670d1
No tracing of nop traceable fields (#29926)
* Add `no_trace` option to JSTraceable derive

* NoTrace wrapper

* Port some types to no_trace schematics

* Fixing my unsafe mistakes (not tracing traceables)

* Add docs & safety guards for no_trace

Safety guards (trait shenanigans) guarantees safety usage of `no_trace`

* Port canvas_traits to no_trace

* Port servo_media to no_trace

* Port net_traits to no_trace

* Port style to no_trace

* Port webgpu to no_trace

* Port script_traits to no_trace

* Port canvas_traits, devtools_traits, embedder_traits, profile_traits to no_trace

* unrooted_must_root lint in seperate file

* Add trace_in_no_trace_lint as script_plugin

* Composable types in must_not_have_traceable

* Introduced HashMapTracedValues wrapper

* `HashMap<NoTrace<K>,V>`->`HashMapTracedValues<K,V>`

* Port rest of servo's types to no_trace

* Port html5ever, euclid, mime and http to no_trace

* Port remaining externals to no_trace

* Port webxr and Arc<Mutex<_>>

* Fix spelling in notrace doc
2023-08-04 10:17:43 +00:00
..
dom_manipulation.rs No tracing of nop traceable fields (#29926) 2023-08-04 10:17:43 +00:00
file_reading.rs No tracing of nop traceable fields (#29926) 2023-08-04 10:17:43 +00:00
history_traversal.rs No tracing of nop traceable fields (#29926) 2023-08-04 10:17:43 +00:00
media_element.rs No tracing of nop traceable fields (#29926) 2023-08-04 10:17:43 +00:00
mod.rs impl timer-task-source, dedicated time-out mechanism for service-worker 2019-11-19 14:32:21 +08:00
networking.rs No tracing of nop traceable fields (#29926) 2023-08-04 10:17:43 +00:00
performance_timeline.rs No tracing of nop traceable fields (#29926) 2023-08-04 10:17:43 +00:00
port_message.rs No tracing of nop traceable fields (#29926) 2023-08-04 10:17:43 +00:00
remote_event.rs No tracing of nop traceable fields (#29926) 2023-08-04 10:17:43 +00:00
timer.rs No tracing of nop traceable fields (#29926) 2023-08-04 10:17:43 +00:00
user_interaction.rs No tracing of nop traceable fields (#29926) 2023-08-04 10:17:43 +00:00
websocket.rs No tracing of nop traceable fields (#29926) 2023-08-04 10:17:43 +00:00