w3c / resource-timing

Resource Timing
https://w3c.github.io/resource-timing/
Other
122 stars 37 forks source link

Editorial: Align with Web IDL specification #229

Closed autokagami closed 4 years ago

autokagami commented 4 years ago

This is an automated pull request to align the spec with the latest Web IDL specification.

Currently the autofix might introduce some awkward code formatting, so please feel free to modify the formatting.

Please file an issue on https://github.com/saschanaz/webidl-updater/issues/new if you think this PR is invalid or should be enhanced.

The following is the validation messages from webidl2.js, which may help understanding this PR:

Validation error at line 2 in resource-timing-2,1:
  void clearResourceTimings ();
  ^ `void` is now replaced by `undefined`. Refer to the [relevant GitHub issue](https://github.com/heycam/webidl/issues/60) for more information.

Validation error at line 3 in resource-timing-2,1:
  void setResourceTimingBufferSize (unsigned long
  ^ `void` is now replaced by `undefined`. Refer to the [relevant GitHub issue](https://github.com/heycam/webidl/issues/60) for more information.

:boom: Error: 500 Internal Server Error :boom:

PR Preview failed to build. (Last tried on Aug 18, 2020, 4:34 PM UTC).

More PR Preview relies on a number of web services to run. There seems to be an issue with the following one: :rotating_light: [Spec Generator](https://www.w3.org/2015/labs/) - Spec Generator is the web service used to build specs that rely on ReSpec. :link: [Related URL](https://labs.w3.org/spec-generator/?type=respec&url=https%3A%2F%2Frawcdn.githack.com%2Fw3c%2Fresource-timing%2F00f42ada0c77b3b4ec85e5f67561794ac8888327%2Findex.html%3FisPreview%3Dtrue) ``` đŸ˜­ Sorry, there was an error generating the HTML. Please report this issue! Specification: https://rawcdn.githack.com/w3c/resource-timing/00f42ada0c77b3b4ec85e5f67561794ac8888327/index.html?isPreview=true&publishDate=2020-08-18 ReSpec version: 25.6.0 File a bug: https://github.com/w3c/respec/ Error: Error: Evaluation failed: Timeout: document.respecIsReady didn't resolve in 0ms.  at ExecutionContext._evaluateInternal (/u/spec-generator/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)  at runMicrotasks ()  at processTicksAndRejections (internal/process/task_queues.js:97:5)  at async ExecutionContext.evaluate (/u/spec-generator/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:106:16)  at async generateHTML (/u/spec-generator/node_modules/respec/tools/respecDocWriter.js:128:12)  at async fetchAndWrite (/u/spec-generator/node_modules/respec/tools/respecDocWriter.js:95:18)  at async Object.generate [as respec] (/u/spec-generator/generators/respec.js:14:20)  at async generate (/u/spec-generator/server.js:90:29)  ``` _If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please [file an issue](https://github.com/tobie/pr-preview/issues/new?title=Error%20not%20surfaced%20properly&body=See%20w3c/resource-timing%23229.)._