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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/data-view-crash.html

Issue 1601093008: Remove duplicated WebGL layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../../resources/js-test.js"></script>
4 </head>
5 <body>
6 <div id="description"></div>
7 <div id="console"></div>
8
9 <script>
10 description("Test that DataView does not crash with bad offset or length.");
11
12 var array = new Uint8Array([164, 112, 157, 63]);
13 var view;
14 shouldThrow("view = new DataView(array.buffer, -4500000000)");
15 shouldThrow("view = new DataView(array.buffer, -4500000000, 4500000000)");
16 var value = view ? view.getFloat32(0, true) : 0;
17 </script>
18
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698