Auto-update the webrtc IDL file#11700
Conversation
3ccd194 to
87b2d2a
Compare
|
To see the changes to the IDL itself, they're shown in the separated commit here: GitHub seems to not be able to aggregate the rename and updates in the full overview. |
87b2d2a to
cafda08
Compare
cafda08 to
b5535b8
Compare
|
Filed w3c/webref#15 about the missing space you had to put back. |
When a bug exists in `IdlArray.test`, `idl_test`'s `catch` flow is incorrectly re-attempting to run the tests (causing a double-up of the tests). See #11700. This changes the flow to call `IdlArray.test` in a `finally` (regardless of whether any setup errors have occurred), preventing the possibility of double-ups when bugs in `IdlArray.test` occur. Also fixes the bug that highlighted this problem (passing a `null` object when the interface contains a `toJSON` operation).
b5535b8 to
b7c5e89
Compare
b7c5e89 to
8f61c21
Compare
…2272) When a bug exists in `IdlArray.test`, `idl_test`'s `catch` flow is incorrectly re-attempting to run the tests (causing a double-up of the tests). See web-platform-tests#11700. This changes the flow to call `IdlArray.test` in a `finally` (regardless of whether any setup errors have occurred), preventing the possibility of double-ups when bugs in `IdlArray.test` occur. Also fixes the bug that highlighted this problem (passing a `null` object when the interface contains a `toJSON` operation).
|
Some commits have gotten included on this PR by accident, I'll rebase to get rid of them. |
f8579f2 to
242143d
Compare
foolip
left a comment
There was a problem hiding this comment.
Tested locally in Chrome and Firefox and compared to http://web-platform-tests.live/webrtc/interfaces.https.html.
There are much more subtests now, 494 instead of 18, and lots are failing, but skimming through the failures they mostly look the kinds of things in the WebRTC spec that haven't been implemented yet.
There are probably a few bugs left in this very complex test setup, but this is a huge improvement!
… better, a=testonly Automatic update from web-platform-tests[idlharness.js] Catch IdlArray.test bugs better (#12272) When a bug exists in `IdlArray.test`, `idl_test`'s `catch` flow is incorrectly re-attempting to run the tests (causing a double-up of the tests). See web-platform-tests/wpt#11700. This changes the flow to call `IdlArray.test` in a `finally` (regardless of whether any setup errors have occurred), preventing the possibility of double-ups when bugs in `IdlArray.test` occur. Also fixes the bug that highlighted this problem (passing a `null` object when the interface contains a `toJSON` operation). -- wpt-commits: e9f3244421c353a63142dd9742e0ed6edc509cc8 wpt-pr: 12272
… better, a=testonly Automatic update from web-platform-tests[idlharness.js] Catch IdlArray.test bugs better (#12272) When a bug exists in `IdlArray.test`, `idl_test`'s `catch` flow is incorrectly re-attempting to run the tests (causing a double-up of the tests). See web-platform-tests/wpt#11700. This changes the flow to call `IdlArray.test` in a `finally` (regardless of whether any setup errors have occurred), preventing the possibility of double-ups when bugs in `IdlArray.test` occur. Also fixes the bug that highlighted this problem (passing a `null` object when the interface contains a `toJSON` operation). -- wpt-commits: e9f3244421c353a63142dd9742e0ed6edc509cc8 wpt-pr: 12272
… better, a=testonly Automatic update from web-platform-tests[idlharness.js] Catch IdlArray.test bugs better (#12272) When a bug exists in `IdlArray.test`, `idl_test`'s `catch` flow is incorrectly re-attempting to run the tests (causing a double-up of the tests). See web-platform-tests/wpt#11700. This changes the flow to call `IdlArray.test` in a `finally` (regardless of whether any setup errors have occurred), preventing the possibility of double-ups when bugs in `IdlArray.test` occur. Also fixes the bug that highlighted this problem (passing a `null` object when the interface contains a `toJSON` operation). -- wpt-commits: e9f3244421c353a63142dd9742e0ed6edc509cc8 wpt-pr: 12272 UltraBlame original commit: 903bfa6c1528b6ece9c646c773cf48849743690b
… better, a=testonly Automatic update from web-platform-tests[idlharness.js] Catch IdlArray.test bugs better (#12272) When a bug exists in `IdlArray.test`, `idl_test`'s `catch` flow is incorrectly re-attempting to run the tests (causing a double-up of the tests). See web-platform-tests/wpt#11700. This changes the flow to call `IdlArray.test` in a `finally` (regardless of whether any setup errors have occurred), preventing the possibility of double-ups when bugs in `IdlArray.test` occur. Also fixes the bug that highlighted this problem (passing a `null` object when the interface contains a `toJSON` operation). -- wpt-commits: e9f3244421c353a63142dd9742e0ed6edc509cc8 wpt-pr: 12272 UltraBlame original commit: 903bfa6c1528b6ece9c646c773cf48849743690b
… better, a=testonly Automatic update from web-platform-tests[idlharness.js] Catch IdlArray.test bugs better (#12272) When a bug exists in `IdlArray.test`, `idl_test`'s `catch` flow is incorrectly re-attempting to run the tests (causing a double-up of the tests). See web-platform-tests/wpt#11700. This changes the flow to call `IdlArray.test` in a `finally` (regardless of whether any setup errors have occurred), preventing the possibility of double-ups when bugs in `IdlArray.test` occur. Also fixes the bug that highlighted this problem (passing a `null` object when the interface contains a `toJSON` operation). -- wpt-commits: e9f3244421c353a63142dd9742e0ed6edc509cc8 wpt-pr: 12272 UltraBlame original commit: 903bfa6c1528b6ece9c646c773cf48849743690b
… better, a=testonly Automatic update from web-platform-tests[idlharness.js] Catch IdlArray.test bugs better (#12272) When a bug exists in `IdlArray.test`, `idl_test`'s `catch` flow is incorrectly re-attempting to run the tests (causing a double-up of the tests). See web-platform-tests/wpt#11700. This changes the flow to call `IdlArray.test` in a `finally` (regardless of whether any setup errors have occurred), preventing the possibility of double-ups when bugs in `IdlArray.test` occur. Also fixes the bug that highlighted this problem (passing a `null` object when the interface contains a `toJSON` operation). -- wpt-commits: e9f3244421c353a63142dd9742e0ed6edc509cc8 wpt-pr: 12272
Hello reviewer(s),
This PR is intended to consolidate the spec’s IDL definition with the WPT test suite’s copy, and any idlharness tests.
The up-to-date copy of the IDL file was automatically extracted from the reffy-reports repo (https://github.com/tidoust/reffy-reports/tree/master/whatwg/idl) which scrapes known specs automatically + regulary.
This PR is part of a migration project which will eventually be automatically updating and creating PRs for changes in spec IDL.
Please check that:
The spec (and its source) is correct and up-to-date
All tests which cover the IDL in the spec have been migrated to fetch + use the idl in the
interfaces/directory (instead of inline copies in the test files).