Bug 885765 - Fix syntax errors in test_texImage2D.html and test_texSubImage2D.html. r=Ms2ger

This commit is contained in:
Masatoshi Kimura 2013-07-05 05:22:57 +09:00
parent 7dd50910d4
commit 4f7370efd9
2 changed files with 2 additions and 2 deletions

View file

@ -15,6 +15,6 @@ test(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) });
};
});
});
</script>

View file

@ -15,6 +15,6 @@ test(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) });
};
});
});
</script>