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

Side by Side Diff: LayoutTests/fast/canvas/webgl/data-view-test-expected.txt

Issue 6469012: Merge 77433 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 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
OLDNEW
1 Test DataView. 1 Test DataView.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Test for constructor taking 1 argument 6 Test for constructor taking 1 argument
7 PASS view = new DataView(arayBuffer) is defined. 7 PASS view = new DataView(arayBuffer) is defined.
8 PASS view.byteOffset is 0 8 PASS view.byteOffset is 0
9 PASS view.byteLength is 2 9 PASS view.byteLength is 2
10 10
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 PASS view.getFloat64(10, false) is NaN 140 PASS view.getFloat64(10, false) is NaN
141 PASS view.getFloat64(0, true) is -NaN 141 PASS view.getFloat64(0, true) is -NaN
142 PASS view.getFloat64(3, true) is -NaN 142 PASS view.getFloat64(3, true) is -NaN
143 PASS view.getFloat64(7, true) is -NaN 143 PASS view.getFloat64(7, true) is -NaN
144 PASS view.getFloat64(10, true) is -NaN 144 PASS view.getFloat64(10, true) is -NaN
145 PASS view.getFloat64(0, false) is -NaN 145 PASS view.getFloat64(0, false) is -NaN
146 PASS view.getFloat64(3, false) is -NaN 146 PASS view.getFloat64(3, false) is -NaN
147 PASS view.getFloat64(7, false) is -NaN 147 PASS view.getFloat64(7, false) is -NaN
148 PASS view.getFloat64(10, false) is -NaN 148 PASS view.getFloat64(10, false) is -NaN
149 149
150 Test for get methods that might read beyound range 150 Test for get methods that might read beyond range
151 PASS view.getInt8(0) is 0 151 PASS view.getInt8(0) is 0
152 PASS view.getInt8(8) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1. 152 PASS view.getInt8(8) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
153 PASS view.getInt8(15) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1. 153 PASS view.getInt8(15) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
154 PASS view.getUint8(0) is 0 154 PASS view.getUint8(0) is 0
155 PASS view.getUint8(8) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1. 155 PASS view.getUint8(8) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
156 PASS view.getUint8(15) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1. 156 PASS view.getUint8(15) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
157 PASS view.getInt16(0, true) is 256 157 PASS view.getInt16(0, true) is 256
158 PASS view.getInt16(5, true) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1. 158 PASS view.getInt16(5, true) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
159 PASS view.getInt16(9, true) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1. 159 PASS view.getInt16(9, true) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
160 PASS view.getInt16(14, true) threw exception Error: INDEX_SIZE_ERR: DOM Exceptio n 1. 160 PASS view.getInt16(14, true) threw exception Error: INDEX_SIZE_ERR: DOM Exceptio n 1.
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 PASS view.getFloat64(10, false) is NaN 264 PASS view.getFloat64(10, false) is NaN
265 PASS view.getFloat64(0, true) threw exception Error: INDEX_SIZE_ERR: DOM Excepti on 1. 265 PASS view.getFloat64(0, true) threw exception Error: INDEX_SIZE_ERR: DOM Excepti on 1.
266 PASS view.getFloat64(3, true) threw exception Error: INDEX_SIZE_ERR: DOM Excepti on 1. 266 PASS view.getFloat64(3, true) threw exception Error: INDEX_SIZE_ERR: DOM Excepti on 1.
267 PASS view.getFloat64(7, true) threw exception Error: INDEX_SIZE_ERR: DOM Excepti on 1. 267 PASS view.getFloat64(7, true) threw exception Error: INDEX_SIZE_ERR: DOM Excepti on 1.
268 PASS view.getFloat64(10, true) threw exception Error: INDEX_SIZE_ERR: DOM Except ion 1. 268 PASS view.getFloat64(10, true) threw exception Error: INDEX_SIZE_ERR: DOM Except ion 1.
269 PASS view.getFloat64(0, false) is -NaN 269 PASS view.getFloat64(0, false) is -NaN
270 PASS view.getFloat64(3, false) is -NaN 270 PASS view.getFloat64(3, false) is -NaN
271 PASS view.getFloat64(7, false) is -NaN 271 PASS view.getFloat64(7, false) is -NaN
272 PASS view.getFloat64(10, false) is -NaN 272 PASS view.getFloat64(10, false) is -NaN
273 273
274 Test for get methods that read from negative index
275 PASS view.getInt8(-1) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
276 PASS view.getInt8(-2) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
277 PASS view.getUint8(-1) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
278 PASS view.getUint8(-2) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
279 PASS view.getInt16(-1) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
280 PASS view.getInt16(-2) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
281 PASS view.getInt16(-3) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
282 PASS view.getUint16(-1) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
283 PASS view.getUint16(-2) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
284 PASS view.getUint16(-3) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
285 PASS view.getInt32(-1) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
286 PASS view.getInt32(-3) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
287 PASS view.getInt32(-5) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
288 PASS view.getUint32(-1) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
289 PASS view.getUint32(-3) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
290 PASS view.getUint32(-5) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
291 PASS view.getFloat32(-1) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
292 PASS view.getFloat32(-3) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
293 PASS view.getFloat32(-5) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
294 PASS view.getFloat64(-1) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
295 PASS view.getFloat64(-5) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
296 PASS view.getFloat64(-9) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
297
274 Test for wrong arguments passed to get methods 298 Test for wrong arguments passed to get methods
275 PASS view.getInt8() threw exception SyntaxError: Not enough arguments. 299 PASS view.getInt8() threw exception SyntaxError: Not enough arguments.
276 PASS view.getUint8() threw exception SyntaxError: Not enough arguments. 300 PASS view.getUint8() threw exception SyntaxError: Not enough arguments.
277 PASS view.getInt16() threw exception SyntaxError: Not enough arguments. 301 PASS view.getInt16() threw exception SyntaxError: Not enough arguments.
278 PASS view.getUint16() threw exception SyntaxError: Not enough arguments. 302 PASS view.getUint16() threw exception SyntaxError: Not enough arguments.
279 PASS view.getInt32() threw exception SyntaxError: Not enough arguments. 303 PASS view.getInt32() threw exception SyntaxError: Not enough arguments.
280 PASS view.getUint32() threw exception SyntaxError: Not enough arguments. 304 PASS view.getUint32() threw exception SyntaxError: Not enough arguments.
281 PASS view.getFloat32() threw exception SyntaxError: Not enough arguments. 305 PASS view.getFloat32() threw exception SyntaxError: Not enough arguments.
282 PASS view.getFloat64() threw exception SyntaxError: Not enough arguments. 306 PASS view.getFloat64() threw exception SyntaxError: Not enough arguments.
283 307
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 PASS view.getFloat64(10, true) is -NaN 754 PASS view.getFloat64(10, true) is -NaN
731 PASS view.setFloat64(0, -NaN, false) is undefined. 755 PASS view.setFloat64(0, -NaN, false) is undefined.
732 PASS view.getFloat64(0, false) is -NaN 756 PASS view.getFloat64(0, false) is -NaN
733 PASS view.setFloat64(3, -NaN, false) is undefined. 757 PASS view.setFloat64(3, -NaN, false) is undefined.
734 PASS view.getFloat64(3, false) is -NaN 758 PASS view.getFloat64(3, false) is -NaN
735 PASS view.setFloat64(7, -NaN, false) is undefined. 759 PASS view.setFloat64(7, -NaN, false) is undefined.
736 PASS view.getFloat64(7, false) is -NaN 760 PASS view.getFloat64(7, false) is -NaN
737 PASS view.setFloat64(10, -NaN, false) is undefined. 761 PASS view.setFloat64(10, -NaN, false) is undefined.
738 PASS view.getFloat64(10, false) is -NaN 762 PASS view.getFloat64(10, false) is -NaN
739 763
740 Test for wrong arguments passed to get methods 764 Test for set methods that write to negative index
765 PASS view.setInt8(-1, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
766 PASS view.setInt8(-2, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
767 PASS view.setUint8(-1, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1 .
768 PASS view.setUint8(-2, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1 .
769 PASS view.setInt16(-1, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1 .
770 PASS view.setInt16(-2, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1 .
771 PASS view.setInt16(-3, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1 .
772 PASS view.setUint16(-1, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
773 PASS view.setUint16(-2, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
774 PASS view.setUint16(-3, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
775 PASS view.setInt32(-1, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1 .
776 PASS view.setInt32(-3, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1 .
777 PASS view.setInt32(-5, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1 .
778 PASS view.setUint32(-1, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
779 PASS view.setUint32(-3, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
780 PASS view.setUint32(-5, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
781 PASS view.setFloat32(-1, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
782 PASS view.setFloat32(-3, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
783 PASS view.setFloat32(-5, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
784 PASS view.setFloat64(-1, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
785 PASS view.setFloat64(-5, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
786 PASS view.setFloat64(-9, 0) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
787
788 Test for wrong arguments passed to set methods
741 PASS view.setInt8() threw exception SyntaxError: Not enough arguments. 789 PASS view.setInt8() threw exception SyntaxError: Not enough arguments.
742 PASS view.setUint8() threw exception SyntaxError: Not enough arguments. 790 PASS view.setUint8() threw exception SyntaxError: Not enough arguments.
743 PASS view.setInt16() threw exception SyntaxError: Not enough arguments. 791 PASS view.setInt16() threw exception SyntaxError: Not enough arguments.
744 PASS view.setUint16() threw exception SyntaxError: Not enough arguments. 792 PASS view.setUint16() threw exception SyntaxError: Not enough arguments.
745 PASS view.setInt32() threw exception SyntaxError: Not enough arguments. 793 PASS view.setInt32() threw exception SyntaxError: Not enough arguments.
746 PASS view.setUint32() threw exception SyntaxError: Not enough arguments. 794 PASS view.setUint32() threw exception SyntaxError: Not enough arguments.
747 PASS view.setFloat32() threw exception SyntaxError: Not enough arguments. 795 PASS view.setFloat32() threw exception SyntaxError: Not enough arguments.
748 PASS view.setFloat64() threw exception SyntaxError: Not enough arguments. 796 PASS view.setFloat64() threw exception SyntaxError: Not enough arguments.
749 PASS view.setInt8(1) threw exception SyntaxError: Not enough arguments. 797 PASS view.setInt8(1) threw exception SyntaxError: Not enough arguments.
750 PASS view.setUint8(1) threw exception SyntaxError: Not enough arguments. 798 PASS view.setUint8(1) threw exception SyntaxError: Not enough arguments.
751 PASS view.setInt16(1) threw exception SyntaxError: Not enough arguments. 799 PASS view.setInt16(1) threw exception SyntaxError: Not enough arguments.
752 PASS view.setUint16(1) threw exception SyntaxError: Not enough arguments. 800 PASS view.setUint16(1) threw exception SyntaxError: Not enough arguments.
753 PASS view.setInt32(1) threw exception SyntaxError: Not enough arguments. 801 PASS view.setInt32(1) threw exception SyntaxError: Not enough arguments.
754 PASS view.setUint32(1) threw exception SyntaxError: Not enough arguments. 802 PASS view.setUint32(1) threw exception SyntaxError: Not enough arguments.
755 PASS view.setFloat32(1) threw exception SyntaxError: Not enough arguments. 803 PASS view.setFloat32(1) threw exception SyntaxError: Not enough arguments.
756 PASS view.setFloat64(1) threw exception SyntaxError: Not enough arguments. 804 PASS view.setFloat64(1) threw exception SyntaxError: Not enough arguments.
757 805
758 Test for indexing that should not work 806 Test for indexing that should not work
759 PASS view[0] is undefined. 807 PASS view[0] is undefined.
760 PASS view[0] = 3 is defined. 808 PASS view[0] = 3 is defined.
761 PASS view.getUint8(0) is 1 809 PASS view.getUint8(0) is 1
762 PASS successfullyParsed is true 810 PASS successfullyParsed is true
763 811
764 TEST COMPLETE 812 TEST COMPLETE
765 813
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/webgl/data-view-test.html ('k') | Source/WebCore/html/canvas/DataView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698