Features (1)

Scheduling APIs: Prioritized scheduler.postTask

Category: JavaScript Flag name: --enable-blink-features=WebScheduler

Userspace tasks often have varying degrees of importance (related to user experience), but the Platform lacks a unified API to schedule prioritized work. The postTask API allows developers to schedule tasks (javascript callbacks) with a native browser scheduler at 3 levels of priority: user-blocking, user-visible, and background. It also exposes a TaskController, which can be used to dynamically cancel tasks and change their priority.

JSON data
{
  "category": "JavaScript",
  "flag_name": "--enable-blink-features=WebScheduler",
  "id": 6031161734201344,
  "milestone": 94,
  "name": "Scheduling APIs: Prioritized scheduler.postTask",
  "summary": "Userspace tasks often have varying degrees of importance (related to user experience), but the Platform lacks a unified API to schedule prioritized work. The postTask API allows developers to schedule tasks (javascript callbacks) with a native browser scheduler at 3 levels of priority: user-blocking, user-visible, and background. It also exposes a TaskController, which can be used to dynamically cancel tasks and change their priority."
}

API Changes (15)

  • Make roller owner of touched files
  • Create V8 9.4 branch for Chrome 94
  • [fastcall] Remove redundant offsetof comparison
  • [api] Advance deprecation
  • [fastcall] Add 8-byte element types support for TypedArrays
  • Move pthread_jit_write_protect support to build_config.h
  • [api] Remove deprecated APIs
  • [inspector] Remove unused formatAccessorsAsProperties().
  • [api] Implement signature checks using instance types
  • [api] Add API for off-thread code cache deserialization
  • [wasm] Disable MAP_JIT functionality on iOS
  • Make autoroll account owner of auto-updated files
  • [logging] Platform logging improvements
  • [inspector] Add `executionContextId` to `Runtime.inspectRequested`.
  • [fastcall] Implement support for TypedArray arguments
JSON data
[
  {
    "author": {
      "name": "Liviu Rau",
      "email": "liviurau@chromium.org",
      "time": "Tue Oct 05 12:46:58 2021"
    },
    "commit": "52a491070ab286dfd36891796b7c24ab1de50017",
    "committer": {
      "name": "Liviu Rau",
      "email": "liviurau@chromium.org",
      "time": "Tue Oct 05 12:49:04 2021"
    },
    "subject": "Make roller owner of touched files",
    "milestone": 94
  },
  {
    "author": {
      "name": "Lutz Vahl",
      "email": "vahl@chromium.org",
      "time": "Thu Aug 12 08:10:28 2021"
    },
    "commit": "97515ac55e9a2456f4179d23f85f0d352d6886fb",
    "committer": {
      "name": "Lutz Vahl",
      "email": "vahl@chromium.org",
      "time": "Thu Aug 12 08:12:44 2021"
    },
    "subject": "Create V8 9.4 branch for Chrome 94",
    "milestone": 94
  },
  {
    "author": {
      "name": "Maya Lekova",
      "email": "mslekova@chromium.org",
      "time": "Wed Aug 11 08:07:15 2021"
    },
    "commit": "3c4c6011ed2778f9bdc54b5151c2dd3f8bd2e8e2",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Wed Aug 11 10:48:19 2021"
    },
    "subject": "[fastcall] Remove redundant offsetof comparison",
    "milestone": 94
  },
  {
    "author": {
      "name": "Camillo Bruni",
      "email": "cbruni@chromium.org",
      "time": "Tue Aug 10 14:06:40 2021"
    },
    "commit": "8e945ced4d120b82db508e9a5ae89df4d6b79254",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Aug 10 21:54:32 2021"
    },
    "subject": "[api] Advance deprecation",
    "milestone": 94
  },
  {
    "author": {
      "name": "Maya Lekova",
      "email": "mslekova@chromium.org",
      "time": "Tue Aug 10 14:03:58 2021"
    },
    "commit": "22f326b8af3baafa5968003d61403175bc10d6dd",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Aug 10 15:56:30 2021"
    },
    "subject": "[fastcall] Add 8-byte element types support for TypedArrays",
    "milestone": 94
  },
  {
    "author": {
      "name": "Clemens Backes",
      "email": "clemensb@chromium.org",
      "time": "Tue Aug 10 11:50:17 2021"
    },
    "commit": "eb41cd5837f133bccae6aa1ae3f9c22ad8a319fe",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Aug 10 13:07:40 2021"
    },
    "subject": "Move pthread_jit_write_protect support to build_config.h",
    "milestone": 94
  },
  {
    "author": {
      "name": "Camillo Bruni",
      "email": "cbruni@chromium.org",
      "time": "Tue Aug 10 09:05:48 2021"
    },
    "commit": "390456678a8261827cd9a1b5f0c4dc8e4328af07",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Aug 10 10:39:19 2021"
    },
    "subject": "[api] Remove deprecated APIs",
    "milestone": 94
  },
  {
    "author": {
      "name": "Benedikt Meurer",
      "email": "bmeurer@chromium.org",
      "time": "Mon Aug 09 08:58:01 2021"
    },
    "commit": "0f56f71b10b1ef6aea0d91dee1163c2b9491499c",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Aug 10 06:48:59 2021"
    },
    "subject": "[inspector] Remove unused formatAccessorsAsProperties().",
    "milestone": 94
  },
  {
    "author": {
      "name": "Sathya Gunasekaran",
      "email": "gsathya@chromium.org",
      "time": "Mon Aug 09 07:44:18 2021"
    },
    "commit": "7df6678c32255ec5a1b1470f1e5a7e56b3b192fa",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Aug 09 11:01:15 2021"
    },
    "subject": "[api] Implement signature checks using instance types",
    "milestone": 94
  },
  {
    "author": {
      "name": "Leszek Swirski",
      "email": "leszeks@chromium.org",
      "time": "Fri Aug 06 13:53:48 2021"
    },
    "commit": "f888f48e4c65e3ccfd9fd831c71c1832b957c945",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Aug 09 08:55:41 2021"
    },
    "subject": "[api] Add API for off-thread code cache deserialization",
    "milestone": 94
  },
  {
    "author": {
      "name": "Clemens Backes",
      "email": "clemensb@chromium.org",
      "time": "Fri Aug 06 14:12:30 2021"
    },
    "commit": "639e856310875bdfc77a02c2b38503f73a9f199e",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Fri Aug 06 17:30:47 2021"
    },
    "subject": "[wasm] Disable MAP_JIT functionality on iOS",
    "milestone": 94
  },
  {
    "author": {
      "name": "Liviu Rau",
      "email": "liviurau@chromium.org",
      "time": "Thu Aug 05 13:15:54 2021"
    },
    "commit": "09249d123ed681114234ab8c713146893c33b4c3",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Fri Aug 06 10:29:15 2021"
    },
    "subject": "Make autoroll account owner of auto-updated files",
    "milestone": 94
  },
  {
    "author": {
      "name": "Camillo Bruni",
      "email": "cbruni@chromium.org",
      "time": "Mon Aug 02 13:39:11 2021"
    },
    "commit": "caf6582a42488d03e1a2dfb56ce8581b5945e1d0",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Aug 02 14:57:09 2021"
    },
    "subject": "[logging] Platform logging improvements",
    "milestone": 94
  },
  {
    "author": {
      "name": "Benedikt Meurer",
      "email": "bmeurer@chromium.org",
      "time": "Fri Jul 23 07:41:29 2021"
    },
    "commit": "63811e8680ca4657f1952a1eebe790b829913006",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Fri Jul 23 08:41:03 2021"
    },
    "subject": "[inspector] Add `executionContextId` to `Runtime.inspectRequested`.",
    "milestone": 94
  },
  {
    "author": {
      "name": "Maya Lekova",
      "email": "mslekova@chromium.org",
      "time": "Fri Jul 16 10:10:20 2021"
    },
    "commit": "84d5b027a71b10b385b82d6aac46217f8ec1b413",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Fri Jul 16 12:30:22 2021"
    },
    "subject": "[fastcall] Implement support for TypedArray arguments",
    "milestone": 94
  }
]