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

Side by Side Diff: src/macros.py

Issue 176843003: Add StackOverflowError and expose error type to api. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix test Created 6 years, 9 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/isolate.cc ('k') | src/messages.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 2006-2009 the V8 project authors. All rights reserved. 1 # Copyright 2006-2009 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 const TYPE_NORMAL = 2; 259 const TYPE_NORMAL = 2;
260 260
261 # Matches Script::CompilationType from objects.h 261 # Matches Script::CompilationType from objects.h
262 const COMPILATION_TYPE_HOST = 0; 262 const COMPILATION_TYPE_HOST = 0;
263 const COMPILATION_TYPE_EVAL = 1; 263 const COMPILATION_TYPE_EVAL = 1;
264 const COMPILATION_TYPE_JSON = 2; 264 const COMPILATION_TYPE_JSON = 2;
265 265
266 # Matches Messages::kNoLineNumberInfo from v8.h 266 # Matches Messages::kNoLineNumberInfo from v8.h
267 const kNoLineNumberInfo = 0; 267 const kNoLineNumberInfo = 0;
268 268
269 # Matches TryCatch::ErrorType
270 const kError = 1;
271 const kTypeError = 2;
272 const kRangeError = 3;
273 const kSyntaxError = 4;
274 const kReferenceError = 5;
275 const kURIError = 6;
276 const kEvalError = 7;
277 const kStackOverflowError = 8;
278
269 # Matches PropertyAttributes from property-details.h 279 # Matches PropertyAttributes from property-details.h
270 const PROPERTY_ATTRIBUTES_NONE = 0; 280 const PROPERTY_ATTRIBUTES_NONE = 0;
271 const PROPERTY_ATTRIBUTES_STRING = 8; 281 const PROPERTY_ATTRIBUTES_STRING = 8;
272 const PROPERTY_ATTRIBUTES_SYMBOLIC = 16; 282 const PROPERTY_ATTRIBUTES_SYMBOLIC = 16;
273 const PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL = 32; 283 const PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL = 32;
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698