From 428cff8f650f611173c3fba23f0131932a557329 Mon Sep 17 00:00:00 2001 From: Onkar Khadangale <87750369+OnkarRuikar@users.noreply.github.com> Date: Mon, 30 Sep 2024 10:54:17 +0530 Subject: [PATCH 1/3] Fix typos --- files/en-us/web/api/scheduler/yield/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/scheduler/yield/index.md b/files/en-us/web/api/scheduler/yield/index.md index dba33f10b62a95c..84f0d1c3a74194a 100644 --- a/files/en-us/web/api/scheduler/yield/index.md +++ b/files/en-us/web/api/scheduler/yield/index.md @@ -91,7 +91,7 @@ The order in which the promise returned by `scheduler.yield()` is resolved relat By default, `scheduler.yield()` is run with a [`"user-visible"`](/en-US/docs/Web/API/Prioritized_Task_Scheduling_API#user-visible) priority. However, continuation after a `scheduler.yield()` call has a slightly different behavior than `scheduler.postTask()` tasks of the same `priority`. -`scheduler.yield()` enqueues its task in a boosted task queue compared to a `scheduler.postTask()` of the same prioritiy level. So, for instance, a `scheduler.yield()` continuation with `"user-visible"` priority will be prioritized after `scheduler.postTask()` tasks of the higher `"user-blocking"` priority level, but before `scheduler.postTask()` tasks of the same `"user-visible"` priority (in the spec, this is defined by a task queue's [effective priority](https://wicg.github.io/scheduling-apis/#scheduler-task-queue-effective-priority)). +`scheduler.yield()` enqueues its task in a boosted task queue compared to a `scheduler.postTask()` of the same priority level. So, for instance, a `scheduler.yield()` continuation with `"user-visible"` priority will be prioritized after `scheduler.postTask()` tasks of the higher `"user-blocking"` priority level, but before `scheduler.postTask()` tasks of the same `"user-visible"` priority (in the spec, this is defined by a task queue's [effective priority](https://wicg.github.io/scheduling-apis/#scheduler-task-queue-effective-priority)). This is sometimes described as `scheduler.yield()` enqueuing its task at the front of a priority level's queue, while `scheduler.postTask()` tasks go at the end. This can be a useful mental model. In situations with just a few tasks, this means that with the same priority, the `scheduler.yield()` continuation will come first, allowing additional flexibility in how tasks can be scheduled. For example: From 59bca2082fd08d45e4c88d6cb7211a11a6ac77df Mon Sep 17 00:00:00 2001 From: Onkar Khadangale <87750369+OnkarRuikar@users.noreply.github.com> Date: Mon, 30 Sep 2024 11:00:15 +0530 Subject: [PATCH 2/3] add remainging to ignore list --- .vscode/ignore-list.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vscode/ignore-list.txt b/.vscode/ignore-list.txt index 80797e93d6c6a44..5dbf3a060efaa22 100644 --- a/.vscode/ignore-list.txt +++ b/.vscode/ignore-list.txt @@ -1,3 +1,6 @@ +Montulli +nonterminal +canadien AAAAAAABAAE AAAAD AAABAAEAEBAAA From 227862ff6ba4e6e348ac301cfaa801ec80487b6e Mon Sep 17 00:00:00 2001 From: OnkarRuikar <87750369+OnkarRuikar@users.noreply.github.com> Date: Mon, 30 Sep 2024 11:03:49 +0530 Subject: [PATCH 3/3] run cspell formatter --- .vscode/ignore-list.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.vscode/ignore-list.txt b/.vscode/ignore-list.txt index 5dbf3a060efaa22..c9deb563866446c 100644 --- a/.vscode/ignore-list.txt +++ b/.vscode/ignore-list.txt @@ -1,6 +1,3 @@ -Montulli -nonterminal -canadien AAAAAAABAAE AAAAD AAABAAEAEBAAA @@ -652,6 +649,7 @@ camelcase Camen Camino Camtasia +canadien cand Candara Caniuse @@ -2982,6 +2980,7 @@ monkeypatch monoscopic Montag montecarlo +Montulli moof Moonrocks Mooog @@ -3314,6 +3313,7 @@ nonliteral nono nonsparse nonstrict +nonterminal nonummy nonumy Norah