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

Side by Side Diff: src/messages.h

Issue 2642293002: Add Isolate parameter to disallow Atomics.wait (Closed)
Patch Set: update bytecode_expectations 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 | « src/isolate.h ('k') | src/runtime/runtime.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 // The infrastructure used for (localized) message reporting in V8. 5 // The infrastructure used for (localized) message reporting in V8.
6 // 6 //
7 // Note: there's a big unresolved issue about ownership of the data 7 // Note: there's a big unresolved issue about ownership of the data
8 // structures used by this framework. 8 // structures used by this framework.
9 9
10 #ifndef V8_MESSAGES_H_ 10 #ifndef V8_MESSAGES_H_
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 /* TypeError */ \ 262 /* TypeError */ \
263 T(ApplyNonFunction, \ 263 T(ApplyNonFunction, \
264 "Function.prototype.apply was called on %, which is a % and not a " \ 264 "Function.prototype.apply was called on %, which is a % and not a " \
265 "function") \ 265 "function") \
266 T(ArrayBufferTooShort, \ 266 T(ArrayBufferTooShort, \
267 "Derived ArrayBuffer constructor created a buffer which was too small") \ 267 "Derived ArrayBuffer constructor created a buffer which was too small") \
268 T(ArrayBufferSpeciesThis, \ 268 T(ArrayBufferSpeciesThis, \
269 "ArrayBuffer subclass returned this from species constructor") \ 269 "ArrayBuffer subclass returned this from species constructor") \
270 T(ArrayFunctionsOnFrozen, "Cannot modify frozen array elements") \ 270 T(ArrayFunctionsOnFrozen, "Cannot modify frozen array elements") \
271 T(ArrayFunctionsOnSealed, "Cannot add/remove sealed array elements") \ 271 T(ArrayFunctionsOnSealed, "Cannot add/remove sealed array elements") \
272 T(AtomicsWaitNotAllowed, "Atomics.wait cannot be called in this context") \
272 T(CalledNonCallable, "% is not a function") \ 273 T(CalledNonCallable, "% is not a function") \
273 T(CalledOnNonObject, "% called on non-object") \ 274 T(CalledOnNonObject, "% called on non-object") \
274 T(CalledOnNullOrUndefined, "% called on null or undefined") \ 275 T(CalledOnNullOrUndefined, "% called on null or undefined") \
275 T(CallSiteExpectsFunction, \ 276 T(CallSiteExpectsFunction, \
276 "CallSite expects wasm object as first or function as second argument, " \ 277 "CallSite expects wasm object as first or function as second argument, " \
277 "got <%, %>") \ 278 "got <%, %>") \
278 T(CallSiteMethod, "CallSite method % expects CallSite as receiver") \ 279 T(CallSiteMethod, "CallSite method % expects CallSite as receiver") \
279 T(CannotConvertToPrimitive, "Cannot convert object to primitive value") \ 280 T(CannotConvertToPrimitive, "Cannot convert object to primitive value") \
280 T(CannotPreventExt, "Cannot prevent extensions") \ 281 T(CannotPreventExt, "Cannot prevent extensions") \
281 T(CannotFreezeArrayBufferView, \ 282 T(CannotFreezeArrayBufferView, \
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 const MessageLocation* loc, 732 const MessageLocation* loc,
732 Handle<Object> message_obj, 733 Handle<Object> message_obj,
733 v8::Local<v8::Value> api_exception_obj); 734 v8::Local<v8::Value> api_exception_obj);
734 }; 735 };
735 736
736 737
737 } // namespace internal 738 } // namespace internal
738 } // namespace v8 739 } // namespace v8
739 740
740 #endif // V8_MESSAGES_H_ 741 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698