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

Side by Side Diff: src/messages.js

Issue 17153011: DataView implementation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixes Created 7 years, 6 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
« no previous file with comments | « src/macros.py ('k') | src/objects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 observe_invalid_accept: ["Object.observe accept must be an array of str ings."], 101 observe_invalid_accept: ["Object.observe accept must be an array of str ings."],
102 observe_type_non_string: ["Invalid changeRecord with non-string 'type' p roperty"], 102 observe_type_non_string: ["Invalid changeRecord with non-string 'type' p roperty"],
103 observe_perform_non_string: ["Invalid non-string changeType"], 103 observe_perform_non_string: ["Invalid non-string changeType"],
104 observe_perform_non_function: ["Cannot perform non-function"], 104 observe_perform_non_function: ["Cannot perform non-function"],
105 observe_notify_non_notifier: ["notify called on non-notifier object"], 105 observe_notify_non_notifier: ["notify called on non-notifier object"],
106 proto_poison_pill: ["Generic use of __proto__ accessor not allowed "], 106 proto_poison_pill: ["Generic use of __proto__ accessor not allowed "],
107 parameterless_typed_array_constr: 107 parameterless_typed_array_constr:
108 ["%0"," constructor should have at least one ar gument."], 108 ["%0"," constructor should have at least one ar gument."],
109 not_typed_array: ["this is not a typed array."], 109 not_typed_array: ["this is not a typed array."],
110 invalid_argument: ["invalid_argument"], 110 invalid_argument: ["invalid_argument"],
111 data_view_not_array_buffer: ["First argument to DataView constructor must b e an ArrayBuffer"],
111 // RangeError 112 // RangeError
112 invalid_array_length: ["Invalid array length"], 113 invalid_array_length: ["Invalid array length"],
113 invalid_array_buffer_length: ["Invalid array buffer length"], 114 invalid_array_buffer_length: ["Invalid array buffer length"],
114 invalid_typed_array_offset: ["Start offset is too large"], 115 invalid_typed_array_offset: ["Start offset is too large"],
115 invalid_typed_array_length: ["Length is too large"], 116 invalid_typed_array_length: ["Length is too large"],
116 invalid_typed_array_alignment: ["%0", "of", "%1", "should be a multiple of", " %3"], 117 invalid_typed_array_alignment: ["%0", "of", "%1", "should be a multiple of", " %3"],
117 typed_array_set_source_too_large: 118 typed_array_set_source_too_large:
118 ["Source is too large"], 119 ["Source is too large"],
120 invalid_data_view_offset: ["Start offset is outside the bounds of the buf fer"],
121 invalid_data_view_length: ["Length is too large"],
122 invalid_data_view_accessor_offset:
123 ["Offset is outside the bounds of the DataView" ],
124
119 stack_overflow: ["Maximum call stack size exceeded"], 125 stack_overflow: ["Maximum call stack size exceeded"],
120 invalid_time_value: ["Invalid time value"], 126 invalid_time_value: ["Invalid time value"],
121 // SyntaxError 127 // SyntaxError
122 paren_in_arg_string: ["Function arg string contains parenthesis"], 128 paren_in_arg_string: ["Function arg string contains parenthesis"],
123 not_isvar: ["builtin %IS_VAR: not a variable"], 129 not_isvar: ["builtin %IS_VAR: not a variable"],
124 single_function_literal: ["Single function literal required"], 130 single_function_literal: ["Single function literal required"],
125 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor '", "%0", "'"], 131 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor '", "%0", "'"],
126 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"], 132 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"],
127 illegal_break: ["Illegal break statement"], 133 illegal_break: ["Illegal break statement"],
128 illegal_continue: ["Illegal continue statement"], 134 illegal_continue: ["Illegal continue statement"],
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 %SetOverflowedStackTrace(this, void 0); 1331 %SetOverflowedStackTrace(this, void 0);
1326 } 1332 }
1327 1333
1328 %DefineOrRedefineAccessorProperty( 1334 %DefineOrRedefineAccessorProperty(
1329 boilerplate, 'stack', getter, setter, DONT_ENUM); 1335 boilerplate, 'stack', getter, setter, DONT_ENUM);
1330 1336
1331 return boilerplate; 1337 return boilerplate;
1332 } 1338 }
1333 1339
1334 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); 1340 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate();
OLDNEW
« no previous file with comments | « src/macros.py ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698