Features (3)

Trailing comma in JavaScript function parameter lists

Category: JavaScript

A small modification to JavaScript syntax allows trailing comma in formal parameter lists and in argument lists. For example, all the following become valid: function f(a, b,) { return a + b } let g = (a, b,) => a + b f(1, 2,) + g(3, 4,) This is expected to be available by default in Chrome 58.

JSON data
{
  "category": "JavaScript",
  "flag_name": null,
  "id": 5656834660630528,
  "milestone": 58,
  "name": "Trailing comma in JavaScript function parameter lists",
  "summary": "A small modification to JavaScript syntax allows trailing comma in formal parameter lists and in argument lists. For example, all the following become valid:\r\n\r\nfunction f(a, b,) { return a + b }\r\nlet g = (a, b,) => a + b\r\nf(1, 2,) + g(3, 4,)\r\n\r\nThis is expected to be available by default in Chrome 58.\r\n"
}
RTCPeerConnection.getStats

Category: JavaScript

This is a spec-compliant version of RTCPeerConnection.getStats returning a promise resolved with RTCStatsReport, a maplike containing RTCStats dictionaries. Stats are being implemented according to the spec in a continuous effort for coverage to become good enough that the old getStats method can be deprecated. The old getStats (taking a callback as argument) is very different from the spec and riddled with goog-prefixed things.

JSON data
{
  "category": "JavaScript",
  "flag_name": null,
  "id": 5665052275245056,
  "milestone": 58,
  "name": "RTCPeerConnection.getStats",
  "summary": "This is a spec-compliant version of RTCPeerConnection.getStats returning a promise resolved with RTCStatsReport, a maplike containing RTCStats dictionaries.\r\nStats are being implemented according to the spec in a continuous effort for coverage to become good enough that the old getStats method can be deprecated.\r\n\r\nThe old getStats (taking a callback as argument) is very different from the spec and riddled with goog-prefixed things."
}
Long Task API

Category: JavaScript

A performance API to enable applications to detect presence of “long tasks” that monopolize the UI thread for extended periods of time and block other critical tasks from being executed - e.g. reacting to user input.

JSON data
{
  "category": "JavaScript",
  "flag_name": null,
  "id": 5738471184400384,
  "milestone": 58,
  "name": "Long Task API",
  "summary": "A performance API to enable applications to detect presence of “long tasks” that monopolize the UI thread for extended periods of time and block other critical tasks from being executed - e.g. reacting to user input."
}

API Changes (26)

  • Add a getter for the last entered context or microtask context
  • [wasm] Embedder can control what buffers wasm compilation works on.
  • [wasm] Embedder can control what buffers wasm compilation works on.
  • ValueSerializer: Add SetTreatArrayBufferViewsAsHostObjects() flag
  • Remove unused Box type
  • Remove reference to i::JSArrayBuffer from ValueSerializer::TransferArrayBuffer comment.
  • Use internalized strings for v8::Template::Set shorthand.
  • Remove SIMD.js from V8.
  • Remove SIMD.js from V8.
  • Remove SIMD.js from V8.
  • [inspector] exposed ExecutionContextId getter by context
  • Fix missing cases of empty_string canonicalization
  • Expose more %ArrayPrototype% functions to the public API.
  • [api] Mark functions related to object grouping as DEPRECATED
  • [debugger] remove mirror cache and v8::Debug::GetMirror.
  • [d8] Use ValueSerializer for postMessage (instead of ad-hoc serializer)
  • V8 Inspector: complete migration to the standard message level enum.
  • V8 Inspector: remove V8ConsoleAPIType from the API, reuse v8::Isolate::MessageErrorLevel instead.
  • Add Isolate parameter to disallow Atomics.wait
  • [debugger api] remove legacy JSON debug protocol.
  • [build] Introduce an embedder version string
  • [debugger api] remove legacy JSON debug protocol.
  • Fix version string
  • [api,profiler] Introduce GetRetainerInfos callback for profiling
  • Update version to 5.8
  • [modules] Add an IsModule flag to ScriptOriginOptions.
JSON data
[
  {
    "author": {
      "name": "Jochen Eisinger",
      "email": "jochen@chromium.org",
      "time": "Fri Feb 24 07:47:13 2017"
    },
    "commit": "d3cc730b45037ff0034946a49d8fa6bc93d53000",
    "committer": {
      "name": "Commit Bot",
      "email": "commit-bot@chromium.org",
      "time": "Fri Feb 24 09:17:51 2017"
    },
    "subject": "Add a getter for the last entered context or microtask context",
    "milestone": 58
  },
  {
    "author": {
      "name": "mtrofin",
      "email": "mtrofin@chromium.org",
      "time": "Tue Feb 21 03:43:14 2017"
    },
    "commit": "b40d44ecc1ea662ea6d30d703cf1820cea9ee190",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Tue Feb 21 03:43:14 2017"
    },
    "subject": "[wasm] Embedder can control what buffers wasm compilation works on.",
    "milestone": 58
  },
  {
    "author": {
      "name": "mtrofin",
      "email": "mtrofin@chromium.org",
      "time": "Sat Feb 18 01:08:36 2017"
    },
    "commit": "d9bc0ffb16e633d52d7bcfd547a6125f0e4dfb87",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Sat Feb 18 01:08:36 2017"
    },
    "subject": "[wasm] Embedder can control what buffers wasm compilation works on.",
    "milestone": 58
  },
  {
    "author": {
      "name": "addaleax",
      "email": "addaleax@gmail.com",
      "time": "Fri Feb 17 14:19:39 2017"
    },
    "commit": "3b15d950eeddcf6dba091b611e1a6cc100e2edd9",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Fri Feb 17 14:19:39 2017"
    },
    "subject": "ValueSerializer: Add SetTreatArrayBufferViewsAsHostObjects() flag",
    "milestone": 58
  },
  {
    "author": {
      "name": "Toon Verwaest",
      "email": "verwaest@chromium.org",
      "time": "Fri Feb 17 09:35:37 2017"
    },
    "commit": "0a8de761ffdf79e00dfdfba503fd9f0b3fe6f628",
    "committer": {
      "name": "Commit Bot",
      "email": "commit-bot@chromium.org",
      "time": "Fri Feb 17 10:06:22 2017"
    },
    "subject": "Remove unused Box type",
    "milestone": 58
  },
  {
    "author": {
      "name": "jbroman",
      "email": "jbroman@chromium.org",
      "time": "Wed Feb 15 14:24:08 2017"
    },
    "commit": "7f6b82377bb549348e10441baa583c123f319e1c",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Wed Feb 15 14:24:08 2017"
    },
    "subject": "Remove reference to i::JSArrayBuffer from ValueSerializer::TransferArrayBuffer comment.",
    "milestone": 58
  },
  {
    "author": {
      "name": "jbroman",
      "email": "jbroman@chromium.org",
      "time": "Tue Feb 14 14:10:40 2017"
    },
    "commit": "328ad0a7c4afbb32f7d8a8752590e8cd5a54be4f",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Tue Feb 14 14:10:40 2017"
    },
    "subject": "Use internalized strings for v8::Template::Set shorthand.",
    "milestone": 58
  },
  {
    "author": {
      "name": "bbudge",
      "email": "bbudge@chromium.org",
      "time": "Tue Feb 14 06:57:25 2017"
    },
    "commit": "deabb19abc3328149ed76990cdd3a1d5e4e5b3ed",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Tue Feb 14 06:57:25 2017"
    },
    "subject": "Remove SIMD.js from V8.",
    "milestone": 58
  },
  {
    "author": {
      "name": "bbudge",
      "email": "bbudge@chromium.org",
      "time": "Mon Feb 13 20:43:08 2017"
    },
    "commit": "a9b59a11f1bfe069afabe5567f919727456f1f12",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Mon Feb 13 20:43:08 2017"
    },
    "subject": "Remove SIMD.js from V8.",
    "milestone": 58
  },
  {
    "author": {
      "name": "bbudge",
      "email": "bbudge@chromium.org",
      "time": "Mon Feb 13 15:59:13 2017"
    },
    "commit": "d170c57ab996d00c4665a9d865bd5754a1806c6c",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Mon Feb 13 15:59:22 2017"
    },
    "subject": "Remove SIMD.js from V8.",
    "milestone": 58
  },
  {
    "author": {
      "name": "kozyatinskiy",
      "email": "kozyatinskiy@chromium.org",
      "time": "Sat Feb 11 02:42:17 2017"
    },
    "commit": "7cc1694f512bbae571bc13c921b9d348d4b8fb78",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Sat Feb 11 02:42:17 2017"
    },
    "subject": "[inspector] exposed ExecutionContextId getter by context",
    "milestone": 58
  },
  {
    "author": {
      "name": "jkummerow",
      "email": "jkummerow@chromium.org",
      "time": "Wed Feb 08 21:12:45 2017"
    },
    "commit": "01882d7f6a2b8115c20482dd375dee65308edbf0",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Wed Feb 08 21:12:45 2017"
    },
    "subject": "Fix missing cases of empty_string canonicalization",
    "milestone": 58
  },
  {
    "author": {
      "name": "raphael.kubo.da.costa",
      "email": "raphael.kubo.da.costa@intel.com",
      "time": "Tue Feb 07 21:42:06 2017"
    },
    "commit": "e7b78ac22937f994d35376b38416a5844d6beced",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Tue Feb 07 21:42:06 2017"
    },
    "subject": "Expose more %ArrayPrototype% functions to the public API.",
    "milestone": 58
  },
  {
    "author": {
      "name": "mlippautz",
      "email": "mlippautz@chromium.org",
      "time": "Mon Feb 06 17:42:13 2017"
    },
    "commit": "9e248dde60ebe3af279746395c144b529cf5bf84",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Mon Feb 06 17:42:13 2017"
    },
    "subject": "[api] Mark functions related to object grouping as DEPRECATED",
    "milestone": 58
  },
  {
    "author": {
      "name": "yangguo",
      "email": "yangguo@chromium.org",
      "time": "Thu Feb 02 14:22:15 2017"
    },
    "commit": "8ae463d736c1a85d66babf2593fd4397162a80f0",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Thu Feb 02 14:22:15 2017"
    },
    "subject": "[debugger] remove mirror cache and v8::Debug::GetMirror.",
    "milestone": 58
  },
  {
    "author": {
      "name": "binji",
      "email": "binji@chromium.org",
      "time": "Fri Jan 27 20:15:37 2017"
    },
    "commit": "966355585bb3e6e21c063c2b670045f5a75e5aa5",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Fri Jan 27 20:15:37 2017"
    },
    "subject": "[d8] Use ValueSerializer for postMessage (instead of ad-hoc serializer)",
    "milestone": 58
  },
  {
    "author": {
      "name": "pfeldman",
      "email": "pfeldman@chromium.org",
      "time": "Fri Jan 27 18:49:09 2017"
    },
    "commit": "82ef9f75e343bb49f99a6f39f8c280bf3ef42b64",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Fri Jan 27 18:49:09 2017"
    },
    "subject": "V8 Inspector: complete migration to the standard message level enum.",
    "milestone": 58
  },
  {
    "author": {
      "name": "pfeldman",
      "email": "pfeldman@chromium.org",
      "time": "Wed Jan 25 22:23:18 2017"
    },
    "commit": "76e31da4f668dbd962456e21634c14d6a12ba37c",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Wed Jan 25 22:23:18 2017"
    },
    "subject": "V8 Inspector: remove V8ConsoleAPIType from the API, reuse v8::Isolate::MessageErrorLevel instead.",
    "milestone": 58
  },
  {
    "author": {
      "name": "binji",
      "email": "binji@chromium.org",
      "time": "Mon Jan 23 22:06:12 2017"
    },
    "commit": "6eba6b4b89db81bc359dc041c62d1277f24bb8d4",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Mon Jan 23 22:06:12 2017"
    },
    "subject": "Add Isolate parameter to disallow Atomics.wait",
    "milestone": 58
  },
  {
    "author": {
      "name": "yangguo",
      "email": "yangguo@chromium.org",
      "time": "Mon Jan 23 10:44:20 2017"
    },
    "commit": "876da98a5182a03f631f9ab4469bd6838225cb16",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Mon Jan 23 10:44:20 2017"
    },
    "subject": "[debugger api] remove legacy JSON debug protocol.",
    "milestone": 58
  },
  {
    "author": {
      "name": "mic.besace",
      "email": "mic.besace@gmail.com",
      "time": "Sat Jan 21 19:04:22 2017"
    },
    "commit": "2c1d1e60883882011ed50310a9b09e95dc61234a",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Sat Jan 21 19:04:22 2017"
    },
    "subject": "[build] Introduce an embedder version string",
    "milestone": 58
  },
  {
    "author": {
      "name": "yangguo",
      "email": "yangguo@chromium.org",
      "time": "Fri Jan 20 10:44:27 2017"
    },
    "commit": "e26a58e43c51a680a0a6363e0066886f4971a41f",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Fri Jan 20 10:44:27 2017"
    },
    "subject": "[debugger api] remove legacy JSON debug protocol.",
    "milestone": 58
  },
  {
    "author": {
      "name": "machenbach",
      "email": "machenbach@chromium.org",
      "time": "Thu Jan 19 15:21:07 2017"
    },
    "commit": "4cf44599ebada52299d15c6e45b0bdbb8eda4ce0",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Thu Jan 19 15:21:07 2017"
    },
    "subject": "Fix version string",
    "milestone": 58
  },
  {
    "author": {
      "name": "mlippautz",
      "email": "mlippautz@chromium.org",
      "time": "Thu Jan 19 14:38:21 2017"
    },
    "commit": "45b10228abfdc23587bd1cd44eb5c1edc39e41a6",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Thu Jan 19 14:38:21 2017"
    },
    "subject": "[api,profiler] Introduce GetRetainerInfos callback for profiling",
    "milestone": 58
  },
  {
    "author": {
      "name": "Michael Hablich",
      "email": "hablich@chromium.org",
      "time": "Thu Jan 19 13:34:02 2017"
    },
    "commit": "f09e57923ae9f0b18e63ec4edcec404a7e5862ed",
    "committer": {
      "name": "Michael Hablich",
      "email": "hablich@chromium.org",
      "time": "Thu Jan 19 13:34:02 2017"
    },
    "subject": "Update version to 5.8",
    "milestone": 58
  },
  {
    "author": {
      "name": "neis",
      "email": "neis@chromium.org",
      "time": "Thu Jan 19 06:59:20 2017"
    },
    "commit": "b0f5abbea372b0cc4d27f267de271766f5c8a11a",
    "committer": {
      "name": "Commit bot",
      "email": "commit-bot@chromium.org",
      "time": "Thu Jan 19 06:59:20 2017"
    },
    "subject": "[modules] Add an IsModule flag to ScriptOriginOptions.",
    "milestone": 58
  }
]