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

Side by Side Diff: src/messages.js

Issue 21014007: This adds new methods to String object: (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: review changes Created 7 years, 4 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
« no previous file with comments | « src/harmony-string.js ('k') | test/mjsunit/harmony/string-contains.js » ('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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 ["Source is too large"], 119 ["Source is too large"],
120 typed_array_set_negative_offset: 120 typed_array_set_negative_offset:
121 ["Start offset is negative"], 121 ["Start offset is negative"],
122 invalid_data_view_offset: ["Start offset is outside the bounds of the buf fer"], 122 invalid_data_view_offset: ["Start offset is outside the bounds of the buf fer"],
123 invalid_data_view_length: ["Invalid data view length"], 123 invalid_data_view_length: ["Invalid data view length"],
124 invalid_data_view_accessor_offset: 124 invalid_data_view_accessor_offset:
125 ["Offset is outside the bounds of the DataView" ], 125 ["Offset is outside the bounds of the DataView" ],
126 126
127 stack_overflow: ["Maximum call stack size exceeded"], 127 stack_overflow: ["Maximum call stack size exceeded"],
128 invalid_time_value: ["Invalid time value"], 128 invalid_time_value: ["Invalid time value"],
129 invalid_count_value: ["Invalid count value"],
129 // SyntaxError 130 // SyntaxError
130 paren_in_arg_string: ["Function arg string contains parenthesis"], 131 paren_in_arg_string: ["Function arg string contains parenthesis"],
131 not_isvar: ["builtin %IS_VAR: not a variable"], 132 not_isvar: ["builtin %IS_VAR: not a variable"],
132 single_function_literal: ["Single function literal required"], 133 single_function_literal: ["Single function literal required"],
133 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor '", "%0", "'"], 134 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor '", "%0", "'"],
134 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"], 135 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"],
135 illegal_break: ["Illegal break statement"], 136 illegal_break: ["Illegal break statement"],
136 illegal_continue: ["Illegal continue statement"], 137 illegal_continue: ["Illegal continue statement"],
137 illegal_return: ["Illegal return statement"], 138 illegal_return: ["Illegal return statement"],
138 illegal_let: ["Illegal let declaration outside extended mode "], 139 illegal_let: ["Illegal let declaration outside extended mode "],
(...skipping 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after
1336 %GetAndClearOverflowedStackTrace(this); 1337 %GetAndClearOverflowedStackTrace(this);
1337 }; 1338 };
1338 1339
1339 %DefineOrRedefineAccessorProperty( 1340 %DefineOrRedefineAccessorProperty(
1340 boilerplate, 'stack', getter, setter, DONT_ENUM); 1341 boilerplate, 'stack', getter, setter, DONT_ENUM);
1341 1342
1342 return boilerplate; 1343 return boilerplate;
1343 } 1344 }
1344 1345
1345 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); 1346 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate();
OLDNEW
« no previous file with comments | « src/harmony-string.js ('k') | test/mjsunit/harmony/string-contains.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698