diff options
author | Simon Martin <simartin@users.sourceforge.net> | 2015-12-24 15:19:57 +0100 |
---|---|---|
committer | Simon Martin <simartin@users.sourceforge.net> | 2015-12-24 15:21:00 +0100 |
commit | 8d08f1156fc132d9b552e7ff4fa1a70247ff2566 (patch) | |
tree | ebdaf5dd4daeed1158afb63ea442ee213318fd7c | |
parent | f77c7928868469ef4f326a269147ae2aee6151ee (diff) | |
download | servo-8d08f1156fc132d9b552e7ff4fa1a70247ff2566.tar.gz servo-8d08f1156fc132d9b552e7ff4fa1a70247ff2566.zip |
Issue #6601: Added testcase to ensure we don't regress.
-rw-r--r-- | tests/wpt/mozilla/tests/mozilla/webgl/bufferData.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/wpt/mozilla/tests/mozilla/webgl/bufferData.html b/tests/wpt/mozilla/tests/mozilla/webgl/bufferData.html index f278d7513dc..ca151d6202a 100644 --- a/tests/wpt/mozilla/tests/mozilla/webgl/bufferData.html +++ b/tests/wpt/mozilla/tests/mozilla/webgl/bufferData.html @@ -1,6 +1,6 @@ <!doctype html> <meta charset="utf-8"> -<title>bufferData and bufferSubData input array type check (issue #6791)</title> +<title>bufferData and bufferSubData input array type check (issue #6791, #6601)</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script> @@ -40,5 +40,10 @@ test(function() { var coordF64 = new Float64Array([ 1.0, 0.0 ]); gl.bufferData(gl.ARRAY_BUFFER, coordF64, gl.STATIC_DRAW); gl.bufferSubData(gl.ARRAY_BUFFER, 1, coordF64); + + // Test case for issue #6601 + var buffer = new ArrayBuffer(8); + var dv = new DataView(buffer); + gl.bufferData(0, dv, 0); }); </script> |