Features (1)

Trusted Types fromLiteral

Category: JavaScript

Adds a function to each "Trusted Type" to create an instance from a JavaScript template literal (but not from a dynamically computed string). This makes it easy to mark literals in the JavaScript source text as "trusted". Example: const html = TrustedHTML.fromLiteral`<p>Literal Text</p>`;

JSON data
{
  "category": "JavaScript",
  "flag_name": "",
  "id": 6551852775112704,
  "milestone": 109,
  "name": "Trusted Types fromLiteral",
  "summary": "Adds a function to each \"Trusted Type\" to create an instance from a JavaScript template literal (but not from a dynamically computed string). This makes it easy to mark literals in the JavaScript source text as \"trusted\".\r\n\r\nExample:\r\nconst html = TrustedHTML.fromLiteral`<p>Literal Text</p>`;"
}

API Changes (14)

  • [inspector] Allow to break only on caught exceptions.
  • [handles] TracedHandles: Rely on AllocateAtLeast()
  • [cleanup] Remove Wasm exception-handling runtime flag
  • [execution] Report first old space page as CrashKey
  • [execution] Add ability to set the microtask queue for the context.
  • Mark Data constructor deleted.
  • [profiler] add `Serialize` to `v8::CpuProfile`
  • [handles] Split off traced handles from regular global handles
  • [cleanup] Remove Wasm SIMD flag & deprecate embedder-enabling API
  • [arraybuffers, api] Implement [[ArrayBufferDetachKey]] support
  • [inspector] Add [[WeakRefTarget]] internal property.
  • [cleanup] Use thread_local in Isolate
  • [execution] Pass microtask queue from Context to MicrotasksScope
  • [api] Advance EmedderHeapTracer deprecation
JSON data
[
  {
    "author": {
      "name": "Benedikt Meurer",
      "email": "bmeurer@chromium.org",
      "time": "Wed Nov 09 06:40:29 2022"
    },
    "commit": "97924c16ff70552497da834a6e81017865e50c27",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Wed Nov 09 07:44:28 2022"
    },
    "subject": "[inspector] Allow to break only on caught exceptions.",
    "milestone": 109
  },
  {
    "author": {
      "name": "Michael Lippautz",
      "email": "mlippautz@chromium.org",
      "time": "Tue Nov 08 17:32:17 2022"
    },
    "commit": "b5485fd81f49f4e887a11db5bdf1953154a5c16b",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Nov 08 18:40:37 2022"
    },
    "subject": "[handles] TracedHandles: Rely on AllocateAtLeast()",
    "milestone": 109
  },
  {
    "author": {
      "name": "Adam Klein",
      "email": "adamk@chromium.org",
      "time": "Tue Nov 01 18:35:28 2022"
    },
    "commit": "76ae4f56dfc3baa41d0e15065fd3134d5f4d9e90",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Fri Nov 04 22:50:50 2022"
    },
    "subject": "[cleanup] Remove Wasm exception-handling runtime flag",
    "milestone": 109
  },
  {
    "author": {
      "name": "Dominik Inführ",
      "email": "dinfuehr@chromium.org",
      "time": "Fri Oct 28 13:43:46 2022"
    },
    "commit": "6eb8316e7aaf83ed35185e97acb9320acecbb741",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Wed Nov 02 08:26:30 2022"
    },
    "subject": "[execution] Report first old space page as CrashKey",
    "milestone": 109
  },
  {
    "author": {
      "name": "Dave Tapuska",
      "email": "dtapuska@chromium.org",
      "time": "Tue Oct 25 18:06:07 2022"
    },
    "commit": "b6969920f490dab27c51379c98918d514cb004fa",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Wed Oct 26 16:40:21 2022"
    },
    "subject": "[execution] Add ability to set the microtask queue for the context.",
    "milestone": 109
  },
  {
    "author": {
      "name": "Zequan Wu",
      "email": "zequanwu@google.com",
      "time": "Wed Oct 19 23:18:33 2022"
    },
    "commit": "91ffb88d4ed2208590d717be1c4a92cfc70a14c8",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Oct 25 23:02:10 2022"
    },
    "subject": "Mark Data constructor deleted.",
    "milestone": 109
  },
  {
    "author": {
      "name": "Juan José Arboleda",
      "email": "soyjuanarbol@gmail.com",
      "time": "Thu Oct 13 23:16:03 2022"
    },
    "commit": "69ad9552b28299558b52eb002daf949b8f9e8bbc",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Oct 25 10:49:04 2022"
    },
    "subject": "[profiler] add `Serialize` to `v8::CpuProfile`",
    "milestone": 109
  },
  {
    "author": {
      "name": "Michael Lippautz",
      "email": "mlippautz@chromium.org",
      "time": "Fri Oct 21 13:31:46 2022"
    },
    "commit": "c23bc72c834ce6b3e51a13abefbcc4eec4d7d65c",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Oct 24 10:04:08 2022"
    },
    "subject": "[handles] Split off traced handles from regular global handles",
    "milestone": 109
  },
  {
    "author": {
      "name": "Adam Klein",
      "email": "adamk@chromium.org",
      "time": "Thu Oct 20 20:36:30 2022"
    },
    "commit": "9e55d257354de08acf7d7799798bf25c25fee080",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Sat Oct 22 00:47:42 2022"
    },
    "subject": "[cleanup] Remove Wasm SIMD flag & deprecate embedder-enabling API",
    "milestone": 109
  },
  {
    "author": {
      "name": "Marja Hölttä",
      "email": "marja@chromium.org",
      "time": "Fri Oct 21 11:57:05 2022"
    },
    "commit": "724e7ce1744be2141fcf4fbd8afec922bf33d850",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Fri Oct 21 12:55:18 2022"
    },
    "subject": "[arraybuffers, api] Implement [[ArrayBufferDetachKey]] support",
    "milestone": 109
  },
  {
    "author": {
      "name": "Benedikt Meurer",
      "email": "bmeurer@chromium.org",
      "time": "Fri Oct 21 09:15:59 2022"
    },
    "commit": "b2892b5f24b7b97ad930356a9376b8a9b2a1d360",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Fri Oct 21 12:14:52 2022"
    },
    "subject": "[inspector] Add [[WeakRefTarget]] internal property.",
    "milestone": 109
  },
  {
    "author": {
      "name": "Shu-yu Guo",
      "email": "syg@chromium.org",
      "time": "Wed Oct 19 23:21:21 2022"
    },
    "commit": "ce2cded47eec3ce85fc9c98b4192760b284b8d0a",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Thu Oct 20 08:32:38 2022"
    },
    "subject": "[cleanup] Use thread_local in Isolate",
    "milestone": 109
  },
  {
    "author": {
      "name": "Dave Tapuska",
      "email": "dtapuska@chromium.org",
      "time": "Thu Oct 13 14:59:47 2022"
    },
    "commit": "2f0384871fcb4a92aefb4024f05c520a9610a6b0",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Wed Oct 19 14:56:37 2022"
    },
    "subject": "[execution] Pass microtask queue from Context to MicrotasksScope",
    "milestone": 109
  },
  {
    "author": {
      "name": "Michael Lippautz",
      "email": "mlippautz@chromium.org",
      "time": "Thu Oct 13 12:58:58 2022"
    },
    "commit": "6dc05091212a6b1c482d64f7d150c803889c0fc8",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Fri Oct 14 09:29:13 2022"
    },
    "subject": "[api] Advance EmedderHeapTracer deprecation",
    "milestone": 109
  }
]