Skip to content

Commit 007a45d

Browse files
authored
Add more compat keys to setinterval and settimeout (#4061)
1 parent 4066dc6 commit 007a45d

4 files changed

Lines changed: 28 additions & 0 deletions

File tree

features/setinterval.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: "The `setInterval()` global function repeatedly executes provided c
33
spec: https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
44
compat_features:
55
- api.setInterval
6+
- api.setInterval.supports_parameters_for_callback
67
- api.setInterval.worker_support
78
- api.clearInterval
89
- api.clearInterval.worker_support

features/setinterval.yml.dist

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@ compat_features:
2828
- api.clearInterval
2929
- api.setInterval
3030

31+
# baseline: high
32+
# baseline_low_date: 2015-07-29
33+
# baseline_high_date: 2018-01-29
34+
# support:
35+
# chrome: "1"
36+
# chrome_android: "18"
37+
# edge: "12"
38+
# firefox: "1"
39+
# firefox_android: "4"
40+
# safari: "1.2"
41+
# safari_ios: "1"
42+
- api.setInterval.supports_parameters_for_callback
43+
3144
# ⬇️ Same status as overall feature ⬇️
3245
# baseline: high
3346
# baseline_low_date: 2015-07-29

features/settimeout.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: "The `setTimeout()` global function executes provided code after a
33
spec: https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
44
compat_features:
55
- api.setTimeout
6+
- api.setTimeout.supports_parameters_for_callback
67
- api.setTimeout.worker_support
78
- api.clearTimeout
89
- api.clearTimeout.worker_support

features/settimeout.yml.dist

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@ compat_features:
2727
# safari_ios: "1"
2828
- api.setTimeout
2929

30+
# baseline: high
31+
# baseline_low_date: 2015-07-29
32+
# baseline_high_date: 2018-01-29
33+
# support:
34+
# chrome: "1"
35+
# chrome_android: "18"
36+
# edge: "12"
37+
# firefox: "1"
38+
# firefox_android: "4"
39+
# safari: "1.2"
40+
# safari_ios: "1"
41+
- api.setTimeout.supports_parameters_for_callback
42+
3043
# baseline: high
3144
# baseline_low_date: 2015-07-29
3245
# baseline_high_date: 2018-01-29

0 commit comments

Comments
 (0)