Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have containValues check array lengths #17327

Merged
merged 1 commit into from Jul 16, 2019
Merged

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Jun 13, 2019

If the number of distinct elements in the input array does not match
the number of elements in the expected set, an error was thrown trying
to read a property from undefined.

Instead, check that the lengths match and if they don't fail the test
with an appropriate message.

Also remove the-convolvernode-interface/active-processing.https.html
that should have been removed in
https://chromium-review.googlesource.com/c/chromium/src/+/1653924 but
wasn't.

Bug: 974022, 978372
Test: audit-failures.html
Change-Id: Ifa2da978f3c0f67dc444c69ceddb862675908b05
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1659492
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#677080}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already reviewed downstream.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-1659492 branch 2 times, most recently from ef2e243 to 60d07ef Compare June 14, 2019 16:28
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-1659492 branch 2 times, most recently from 0e883d7 to 78e68eb Compare July 8, 2019 17:34
If the number of distinct elements in the input array does not match
the number of elements in the expected set, an error was thrown trying
to read a property from undefined.

Instead, check that the lengths match and if they don't fail the test
with an appropriate message.

Also remove the-convolvernode-interface/active-processing.https.html
that should have been removed in
https://chromium-review.googlesource.com/c/chromium/src/+/1653924 but
wasn't.

Bug: 974022, 978372
Test: audit-failures.html
Change-Id: Ifa2da978f3c0f67dc444c69ceddb862675908b05
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1659492
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#677080}
@Hexcles
Copy link
Member

Hexcles commented Jul 16, 2019

Modifying the support file affects a lot of tests which include some pre-existing flaky ones.

@Hexcles Hexcles merged commit ab0e632 into master Jul 16, 2019
@Hexcles Hexcles deleted the chromium-export-cl-1659492 branch July 16, 2019 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants