Bug 1615937 [wpt PR 21826] - [WPT/common/security-features] Transition `spec.src...
commit670048d1a1380fa9a62f8a09636007ffd72f6f5b
authorHiroshige Hayashizaki <hiroshige@chromium.org>
Mon, 17 Feb 2020 17:03:47 +0000 (17 17:03 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 18 Feb 2020 19:29:55 +0000 (18 19:29 +0000)
tree5a14546c2b9e213125f0c2738ed95c0c54355817
parentcf8ef51698a4962f36bdb9063a7d9e1e2964460f
Bug 1615937 [wpt PR 21826] - [WPT/common/security-features] Transition `spec.src.json` to JSON5, a=testonly

Automatic update from web-platform-tests
[WPT/common/security-features] Transition `spec.src.json` to JSON5

To allow inline comments in `spec.src.json` to make it more
descriptive, this CL parses `spec.src.json`s as JSON5,
using `json5` non-standard library.
After parsing, we still use `json` module for outputting
JSON objects.

Subsequent CLs e.g. [1] will actually add inline comments
to `spec.src.json`s.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/2049953

This CL doesn't change the generated results.

Bug: 906850, https://github.com/web-platform-tests/wpt/issues/21824
Change-Id: I8c6472b41ae55a051889fc29cf57d392ef60b69f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2058706
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741850}

--

wpt-commits: 8205a7e07caf3606abed03306d5b51c0d688252a
wpt-pr: 21826
testing/web-platform/tests/common/security-features/README.md
testing/web-platform/tests/common/security-features/tools/util.py