[w3ctag/design-reviews] scheduler.postTask() (#647)

Ya ya yawm TAG!

I'm requesting a TAG review of `scheduler.postTask()`.

Userspace tasks often have varying degrees of importance (related to user experience), but the Platform lacks a unified API to schedule and control prioritized work; `scheduler.postTask()` provides this functionality.

  - Explainer¹ (minimally containing user needs and example code): https://github.com/WICG/scheduling-apis/blob/main/explainers/prioritized-post-task.md

  - Specification URL: https://wicg.github.io/scheduling-apis/

  - Tests: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/wpt_internal/scheduler/. Note: we are in the process of moving these to the wpt repo.
  - Security and Privacy self-review²: https://github.com/WICG/scheduling-apis/blob/main/explainers/security-privacy-questionnaire-post-task.md

  - GitHub repo (if you prefer feedback filed there): https://github.com/WICG/scheduling-apis/

  - Primary contacts (and their relationship to the specification):
      - Scott Haseley (@shaseley), Google, spec editor
  - Organization(s)/project(s) driving the specification: Google/Scheduling APIs
  - Key pieces of existing multi-stakeholder review or discussion of this specification: This API has been discussed several times (pre-spec) in the WebPerf WG,  with links to talks [here](https://github.com/WICG/scheduling-apis#further-reading--viewing)
  - External status/issue trackers for this specification (publicly visible, e.g. Chrome Status): https://www.chromestatus.com/features/6031161734201344


Further details:

  - [X] I have reviewed the TAG's [Web Platform Design Principles](https://w3ctag.github.io/design-principles/)
  - Relevant time constraints or deadlines: We hope to ship this API in [Chrome version M93](https://chromiumdash.appspot.com/schedule)
  - The group where the work on this specification is currently being done: WebPerf WG
  - The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue):
  - Major unresolved issues with or opposition to this specification:
  - This work is being funded by: Google

You should also know that...

1. The previous TAG review for this work (pre-spec) can be found [here](https://github.com/w3ctag/design-reviews/issues/338). Two things that changed have since that review:
    1. [Removal of callback arguments](https://github.com/WICG/scheduling-apis/issues/18)
    2. [Addition of previousPriority](https://github.com/WICG/scheduling-apis/issues/21) to priority change events
2. We would appreciate TAG feedback on [this open issue](https://github.com/WICG/scheduling-apis/issues/26)


We'd prefer the TAG provide feedback as (please delete all but the desired option):

  🐛 open issues in our GitHub repo for **each point of feedback**

------------------------------------------------------------------------------------
CAREFULLY READ AND DELETE CONTENT BELOW THIS LINE BEFORE SUBMITTING

Please preview the issue and check that the links work before submitting.

In particular, if anything links to a URL which requires authentication (e.g. Google document), please make sure anyone with the link can access the document. We would prefer fully public documents though, since we work in the open.

¹ We require an explainer to give the relevant context for the spec review, even if the spec has some background information. For background, see our [explanation of how to write a good explainer](https://w3ctag.github.io/explainers). We recommend the explainer to be in [Markdown](https://github.github.com/gfm/).

² A Security and Privacy questionnaire helps us understand potential security and privacy issues and mitigations for your design, and can save us asking redundant questions. See https://www.w3.org/TR/security-privacy-questionnaire/.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/647

Received on Monday, 14 June 2021 18:40:20 UTC