merge_pr_8380
These are from these Gecko exports: https://github.com/w3c/web-platform-tests/pull/8319 https://github.com/w3c/web-platform-tests/pull/8335 Also pacify the lint with a spec link. Part of https://github.com/w3c/web-platform-tests/issues/7503.