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

Side by Side Diff: src/messages.h

Issue 2643723010: [d8] Use ValueSerializer for postMessage (instead of ad-hoc serializer) (Closed)
Patch Set: forgot hash_combine Created 3 years, 10 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
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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 T(WasmTrapFuncInvalid, "invalid function") \ 669 T(WasmTrapFuncInvalid, "invalid function") \
670 T(WasmTrapFuncSigMismatch, "function signature mismatch") \ 670 T(WasmTrapFuncSigMismatch, "function signature mismatch") \
671 T(WasmTrapInvalidIndex, "invalid index into function table") \ 671 T(WasmTrapInvalidIndex, "invalid index into function table") \
672 T(WasmTrapTypeError, "invalid type") \ 672 T(WasmTrapTypeError, "invalid type") \
673 /* Asm.js validation related */ \ 673 /* Asm.js validation related */ \
674 T(AsmJsInvalid, "Invalid asm.js: %") \ 674 T(AsmJsInvalid, "Invalid asm.js: %") \
675 T(AsmJsCompiled, "Converted asm.js to WebAssembly: %") \ 675 T(AsmJsCompiled, "Converted asm.js to WebAssembly: %") \
676 T(AsmJsInstantiated, "Instantiated asm.js: %") \ 676 T(AsmJsInstantiated, "Instantiated asm.js: %") \
677 /* DataCloneError messages */ \ 677 /* DataCloneError messages */ \
678 T(DataCloneError, "% could not be cloned.") \ 678 T(DataCloneError, "% could not be cloned.") \
679 T(DataCloneErrorOutOfMemory, "Data cannot be cloned, out of memory.") \
679 T(DataCloneErrorNeuteredArrayBuffer, \ 680 T(DataCloneErrorNeuteredArrayBuffer, \
680 "An ArrayBuffer is neutered and could not be cloned.") \ 681 "An ArrayBuffer is neutered and could not be cloned.") \
681 T(DataCloneErrorSharedArrayBufferTransferred, \ 682 T(DataCloneErrorSharedArrayBufferTransferred, \
682 "A SharedArrayBuffer could not be cloned. SharedArrayBuffer must not be " \ 683 "A SharedArrayBuffer could not be cloned. SharedArrayBuffer must not be " \
683 "transferred.") \ 684 "transferred.") \
684 T(DataCloneDeserializationError, "Unable to deserialize cloned data.") \ 685 T(DataCloneDeserializationError, "Unable to deserialize cloned data.") \
685 T(DataCloneDeserializationVersionError, \ 686 T(DataCloneDeserializationVersionError, \
686 "Unable to deserialize cloned data due to invalid or unsupported " \ 687 "Unable to deserialize cloned data due to invalid or unsupported " \
687 "version.") 688 "version.")
688 689
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 const MessageLocation* loc, 733 const MessageLocation* loc,
733 Handle<Object> message_obj, 734 Handle<Object> message_obj,
734 v8::Local<v8::Value> api_exception_obj); 735 v8::Local<v8::Value> api_exception_obj);
735 }; 736 };
736 737
737 738
738 } // namespace internal 739 } // namespace internal
739 } // namespace v8 740 } // namespace v8
740 741
741 #endif // V8_MESSAGES_H_ 742 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/value-serializer.h » ('j') | test/mjsunit/regress/regress-crbug-514081.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698