Closed
Description
Spec change: immersive-web/webxr#1005 (comment)
Relevant code:
servo/components/script/dom/xrsession.rs
Lines 398 to 414 in b60c70b
Currently we take self.raf_callback_list
out and put it on the stack, and then iterate through it.
Instead, we should have a second current_raf_callback_list
list on the object, move the vector there, and use indexed iteration. Then, in CancelAnimationFrame
, we check both lists.