Update web-platform-tests to revision 68a256f49be380ca4add535ce8ece9de28820e6b

This commit is contained in:
WPT Sync Bot 2018-02-04 20:08:48 -05:00
parent e54935c25a
commit cd5bf022bd
178 changed files with 6082 additions and 795 deletions

View file

@ -40,7 +40,6 @@ test(function() {
}
}
assert_throws("IndexSizeError", function() { region.lines = -1; });
assert_equals(region.lines, 3);
region.lines = 130;

View file

@ -17,8 +17,12 @@ test(function() {
// https://heycam.github.io/webidl/#abstract-opdef-converttoint
[[0, 0],
[-0, 0],
[-1, 4294967295],
[-100, 4294967196],
[101, 101],
[-2147483648, 2147483648],
[2147483647, 2147483647],
[2147483648, 2147483648],
[NaN, 0],
[Infinity, 0],
[-Infinity, 0]].forEach(function (pair) {
@ -28,10 +32,5 @@ test(function() {
assert_equals(region.lines, expected);
});
[-1, -100, -2147483648, 2147483648 /* wraps to -2147483648 */].forEach(function (invalid) {
assert_throws('IndexSizeError', function() {
region.lines = invalid;
}, invalid);
});
}, document.title + ' script-created region');
</script>