Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Side by Side Diff: third_party/webgl/conformance-suites/1.0.0/conformance/index-validation-crash-with-buffer-sub-data.html

Issue 9360034: Remove everthing except conformance tests in the deps/third_party/webgl (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!--
2 Copyright (c) 2010 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
5 -->
6 <html>
7 <head>
8 <link rel="stylesheet" href="../resources/js-test-style.css"/>
9 <script src="../resources/js-test-pre.js"></script>
10 <script src="resources/webgl-test.js"></script>
11 </head>
12 <body>
13 <div id="description"></div>
14 <div id="console"></div>
15
16 <script>
17 description('Verifies that the index validation code which is within bufferSubDa ta does not crash.')
18
19 var gl = create3DContext();
20
21 var elementBuffer = gl.createBuffer();
22 gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, elementBuffer);
23 gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, 256, gl.STATIC_DRAW);
24 var data = new Uint8Array(127);
25 gl.bufferSubData(gl.ELEMENT_ARRAY_BUFFER, 63, data);
26 testPassed("bufferSubData, when buffer object was initialized with null, did not crash");
27
28 successfullyParsed = true;
29 </script>
30
31 <script src="../resources/js-test-post.js"></script>
32 </body>
33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698