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

Side by Side Diff: include/v8.h

Issue 2628863002: Do security checks in the promise constructor (Closed)
Patch Set: updates Created 3 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
« no previous file with comments | « no previous file | src/builtins/builtins-promise.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 6490 matching lines...) Expand 10 before | Expand all | Expand 10 after
6501 kArrayInstanceConstructorModified = 28, 6501 kArrayInstanceConstructorModified = 28,
6502 kLegacyFunctionDeclaration = 29, 6502 kLegacyFunctionDeclaration = 29,
6503 kRegExpPrototypeSourceGetter = 30, 6503 kRegExpPrototypeSourceGetter = 30,
6504 kRegExpPrototypeOldFlagGetter = 31, 6504 kRegExpPrototypeOldFlagGetter = 31,
6505 kDecimalWithLeadingZeroInStrictMode = 32, 6505 kDecimalWithLeadingZeroInStrictMode = 32,
6506 kLegacyDateParser = 33, 6506 kLegacyDateParser = 33,
6507 kDefineGetterOrSetterWouldThrow = 34, 6507 kDefineGetterOrSetterWouldThrow = 34,
6508 kFunctionConstructorReturnedUndefined = 35, 6508 kFunctionConstructorReturnedUndefined = 35,
6509 kAssigmentExpressionLHSIsCallInSloppy = 36, 6509 kAssigmentExpressionLHSIsCallInSloppy = 36,
6510 kAssigmentExpressionLHSIsCallInStrict = 37, 6510 kAssigmentExpressionLHSIsCallInStrict = 37,
6511 kPromiseConstructorReturnedUndefined = 38,
6511 6512
6512 // If you add new values here, you'll also need to update Chromium's: 6513 // If you add new values here, you'll also need to update Chromium's:
6513 // UseCounter.h, V8PerIsolateData.cpp, histograms.xml 6514 // UseCounter.h, V8PerIsolateData.cpp, histograms.xml
6514 kUseCounterFeatureCount // This enum value must be last. 6515 kUseCounterFeatureCount // This enum value must be last.
6515 }; 6516 };
6516 6517
6517 enum MessageErrorLevel { 6518 enum MessageErrorLevel {
6518 kMessageLog = (1 << 0), 6519 kMessageLog = (1 << 0),
6519 kMessageDebug = (1 << 1), 6520 kMessageDebug = (1 << 1),
6520 kMessageInfo = (1 << 2), 6521 kMessageInfo = (1 << 2),
(...skipping 3279 matching lines...) Expand 10 before | Expand all | Expand 10 after
9800 */ 9801 */
9801 9802
9802 9803
9803 } // namespace v8 9804 } // namespace v8
9804 9805
9805 9806
9806 #undef TYPE_CHECK 9807 #undef TYPE_CHECK
9807 9808
9808 9809
9809 #endif // INCLUDE_V8_H_ 9810 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/builtins/builtins-promise.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698