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

Side by Side Diff: conformance/typedarrays/array-buffer-crash.html

Issue 8342021: Add webgl conformance tests r15841. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/webgl/sdk/tests/
Patch Set: Created 9 years, 2 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 <!--
2 Copyright (c) 2011 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 <meta charset="utf-8">
9 <link rel="stylesheet" href="../../resources/js-test-style.css"/>
10 <script src="../../resources/js-test-pre.js"></script>
11 <script src="../resources/webgl-test.js"></script>
12 </head>
13 <body>
14 <div id="description"></div>
15 <div id="console"></div>
16
17 <script>
18
19 description('Test ArrayBuffer.byteLength');
20
21 // The following used to cause a crash in Chrome.
22
23 // Note that because the argument to ArrayBuffer's constructor is not
24 // optional, an implementation might throw an exception on the expression
25 // below rather than implicitly passing undefined. Either way is acceptable
26 // from the point of view of this test, but implementations must not crash.
27 try {
28 new ArrayBuffer().byteLength;
29 } catch (e) {
30 }
31
32 testPassed("new ArrayBuffer().byteLength did not crash");
33 successfullyParsed = true;
34
35 </script>
36 <script src="../../resources/js-test-post.js"></script>
37 </body>
38 </html>
OLDNEW
« no previous file with comments | « conformance/typedarrays/00_test_list.txt ('k') | conformance/typedarrays/array-buffer-view-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698