Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index d0f057fde630282c7eece8e7e3cc344f5ef8a0d4..f1e23ade22dd80d152b2e837329751f9cba11c47 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -633,7 +633,14 @@ class ErrorUtils : public AllStatic { |
T(WasmTrapFuncInvalid, "invalid function") \ |
T(WasmTrapFuncSigMismatch, "function signature mismatch") \ |
T(WasmTrapInvalidIndex, "invalid index into function table") \ |
- T(WasmTrapTypeError, "invalid type") |
+ T(WasmTrapTypeError, "invalid type") \ |
+ /* DataCloneError messages */ \ |
+ T(DataCloneError, "% could not be cloned.") \ |
+ T(DataCloneErrorNeuteredArrayBuffer, \ |
+ "An ArrayBuffer is neutered and could not be cloned.") \ |
+ T(DataCloneErrorSharedArrayBufferNotTransferred, \ |
+ "A SharedArrayBuffer could not be cloned. SharedArrayBuffer must be " \ |
+ "transferred.") |
class MessageTemplate { |
public: |