Update web-platform-tests to revision a5cb9597799c5f9bf0a809006161a0c50055828f

This commit is contained in:
WPT Sync Bot 2020-06-09 08:20:32 +00:00
parent 8b56b7a3c2
commit 2a42c14544
646 changed files with 93200 additions and 2587 deletions

View file

@ -48,7 +48,8 @@ function assert_frames_equal(actual, expected, name) {
`properties on ${name} should match`
);
for (const prop in actual) {
// Iterates sorted keys to ensure stable failures.
for (const prop of Object.keys(actual).sort()) {
if (
// 'offset' can be null
(prop === 'offset' && typeof actual[prop] === 'number') ||