(id: i32, vm: &VirtualMachine)
| 148 | |
| 149 | #[pyfunction] |
| 150 | fn cancel_animation_frame(id: i32, vm: &VirtualMachine) -> PyResult<()> { |
| 151 | window() |
| 152 | .cancel_animation_frame(id) |
| 153 | .map_err(|err| convert::js_py_typeerror(vm, err))?; |
| 154 | |
| 155 | Ok(()) |
| 156 | } |
| 157 | |
| 158 | #[pyattr] |
| 159 | #[pyclass(module = "browser", name)] |
nothing calls this directly
no test coverage detected