mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
feat: add can_gc argument to to_frozen_array (#36043)
* feat: add can_gc argument to to_frozen_array Signed-off-by: Arya Nair <aryaajitnair@gmail.com> * fix: linting issues Signed-off-by: Arya Nair <aryaajitnair@gmail.com> * feat: add can_gc in binding.conf Signed-off-by: Arya Nair <aryaajitnair@gmail.com> * fix: linting issues Signed-off-by: Arya Nair <aryaajitnair@gmail.com> --------- Signed-off-by: Arya Nair <aryaajitnair@gmail.com>
This commit is contained in:
parent
0917e080df
commit
cb56ac8561
21 changed files with 97 additions and 43 deletions
|
@ -691,8 +691,8 @@ impl IntersectionObserverMethods<crate::DomTypeHolder> for IntersectionObserver
|
|||
/// > constructor, or the sequence is empty, the value of this attribute will be `[0]`.
|
||||
///
|
||||
/// <https://w3c.github.io/IntersectionObserver/#dom-intersectionobserver-thresholds>
|
||||
fn Thresholds(&self, context: JSContext, retval: MutableHandleValue) {
|
||||
to_frozen_array(&self.thresholds.borrow(), context, retval);
|
||||
fn Thresholds(&self, context: JSContext, can_gc: CanGc, retval: MutableHandleValue) {
|
||||
to_frozen_array(&self.thresholds.borrow(), context, retval, can_gc);
|
||||
}
|
||||
|
||||
/// > A number indicating the minimum delay in milliseconds between notifications from
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue