diff options
author | Kunga Derick Abongho <abonghoderick@gmail.com> | 2025-03-29 14:09:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-29 13:09:56 +0000 |
commit | 83da63f638b15009b842a1f712fa5116f0e2d466 (patch) | |
tree | 7a81fe22a5726a2c0742e42da36a43cc2145406f /components/script/dom/validation.rs | |
parent | b5c8164e9982ebd6212ad21910826ce8b2631930 (diff) | |
download | servo-83da63f638b15009b842a1f712fa5116f0e2d466.tar.gz servo-83da63f638b15009b842a1f712fa5116f0e2d466.zip |
resolve issue #36074 new_js_regex and matches_js_regex need a CanGc argument (#36111)
* new_js_regex and matches_js_regex need a CanGc argument
Signed-off-by: dericko681 <abonghoderick@gmail.com>
* new_js_regex and matches_js_regex need a CanGc argument
Signed-off-by: dericko681 <abonghoderick@gmail.com>
* edit Propagate CanGc arguments through new_js_regex and matches_js_regex
Signed-off-by: dericko681 <abonghoderick@gmail.com>
* Propagate CanGc arguments through new_js_regex and matches_js_regex
Signed-off-by: dericko681 <abonghoderick@gmail.com>
* Propagate CanGc arguments through new_js_regex and matches_js_regex
Signed-off-by: dericko681 <abonghoderick@gmail.com>
* Propagate CanGc arguments through new_js_regex and matches_js_regex
Signed-off-by: dericko681 <abonghoderick@gmail.com>
---------
Signed-off-by: dericko681 <abonghoderick@gmail.com>
Diffstat (limited to 'components/script/dom/validation.rs')
-rwxr-xr-x | components/script/dom/validation.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/components/script/dom/validation.rs b/components/script/dom/validation.rs index 666eac6dcee..6a0c88c56ce 100755 --- a/components/script/dom/validation.rs +++ b/components/script/dom/validation.rs @@ -25,7 +25,11 @@ pub(crate) trait Validatable { fn is_instance_validatable(&self) -> bool; // Check if element satisfies its constraints, excluding custom errors - fn perform_validation(&self, _validate_flags: ValidationFlags) -> ValidationFlags { + fn perform_validation( + &self, + _validate_flags: ValidationFlags, + _can_gc: CanGc, + ) -> ValidationFlags { ValidationFlags::empty() } |