Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326

This commit is contained in:
Josh Matthews 2017-10-12 09:25:50 -04:00
parent 462c272380
commit 1f531f66ea
5377 changed files with 174916 additions and 84369 deletions

View file

@ -1,13 +1,3 @@
function assert_array_approx_equals(actual, expected, epsilon, description)
{
assert_true(actual.length === expected.length,
(description + ": lengths differ, expected " + expected.length + " got " + actual.length))
for (var i=0; i < actual.length; i++) {
assert_approx_equals(actual[i], expected[i], epsilon, (description + ": element " + i))
}
}
/*
Returns an array (typed or not), of the passed array with removed trailing and ending
zero-valued elements