mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +01:00
This combines some access to the thread local variable for script thread. - We introduce a new UserInteractingScriptGuard which on drop handles the resetting of was_interacting to the previous value. Sometimes throughout the code `ScriptThread::is_user_interacting` was reset to the previous value while sometimes just set to false. This should remove this footgun. - This also reduces the amount of thread local access for MutationObservers and task queue. Testing: WPT tests should cover this. Fixes: This addresses part of https://github.com/servo/servo/issues/37969 but there is probably still stuff to be done. --------- Signed-off-by: Narfinger <Narfinger@users.noreply.github.com> Signed-off-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Josh Matthews <josh@joshmatthews.net> |
||
---|---|---|
.. | ||
fakexrdevice.rs | ||
fakexrinputcontroller.rs | ||
mod.rs | ||
xrboundedreferencespace.rs | ||
xrcompositionlayer.rs | ||
xrcubelayer.rs | ||
xrcylinderlayer.rs | ||
xrequirectlayer.rs | ||
xrframe.rs | ||
xrhand.rs | ||
xrhittestresult.rs | ||
xrhittestsource.rs | ||
xrinputsource.rs | ||
xrinputsourcearray.rs | ||
xrinputsourceevent.rs | ||
xrinputsourceschangeevent.rs | ||
xrjointpose.rs | ||
xrjointspace.rs | ||
xrlayer.rs | ||
xrlayerevent.rs | ||
xrmediabinding.rs | ||
xrpose.rs | ||
xrprojectionlayer.rs | ||
xrquadlayer.rs | ||
xrray.rs | ||
xrreferencespace.rs | ||
xrreferencespaceevent.rs | ||
xrrenderstate.rs | ||
xrrigidtransform.rs | ||
xrsession.rs | ||
xrsessionevent.rs | ||
xrspace.rs | ||
xrsubimage.rs | ||
xrsystem.rs | ||
xrtest.rs | ||
xrview.rs | ||
xrviewerpose.rs | ||
xrviewport.rs | ||
xrwebglbinding.rs | ||
xrwebgllayer.rs | ||
xrwebglsubimage.rs |