forked from mirrors/gecko-dev
Bug 885765 - Fix syntax errors in test_texImage2D.html and test_texSubImage2D.html. r=Ms2ger
This commit is contained in:
parent
7dd50910d4
commit
4f7370efd9
2 changed files with 2 additions and 2 deletions
|
|
@ -15,6 +15,6 @@ test(function() {
|
||||||
});
|
});
|
||||||
assert_throws(new TypeError(), function() {
|
assert_throws(new TypeError(), function() {
|
||||||
gl.texImage2D(0, 0, 0, 0, 0, { get width() { throw 7 }, get height() { throw 7 }, data: new Uint8ClampedArray(10) });
|
gl.texImage2D(0, 0, 0, 0, 0, { get width() { throw 7 }, get height() { throw 7 }, data: new Uint8ClampedArray(10) });
|
||||||
};
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,6 @@ test(function() {
|
||||||
});
|
});
|
||||||
assert_throws(new TypeError(), function() {
|
assert_throws(new TypeError(), function() {
|
||||||
gl.texSubImage2D(0, 0, 0, 0, 0, 0, { get width() { throw 7 }, get height() { throw 7 }, data: new Uint8ClampedArray(10) });
|
gl.texSubImage2D(0, 0, 0, 0, 0, 0, { get width() { throw 7 }, get height() { throw 7 }, data: new Uint8ClampedArray(10) });
|
||||||
};
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue