diff --git a/source b/source index a156a0f998c..973948e43a7 100644 --- a/source +++ b/source @@ -10435,17 +10435,15 @@ interface DOMStringList { IsDataDescriptor(valueMessageDesc) is false, and ? ToString(valueMessageDesc.[[Value]]) otherwise.
-Set serialized to { [[Type]]: "Error", [[Name]]: name, - [[Message]]: message }.
Let stack be an implementation-defined string that + represents value.[[Stack]]. JSERRORSTACKACCESSOR + JSERRORSTACKS
User agents should attach a serialized representation of any interesting accompanying
- data which are not yet specified, notably the stack property, to
- serialized.
Set serialized to { [[Type]]: "Error", [[Name]]: name, + [[Message]]: message, [[Stack]]: stack }.
See the Error Stacks proposal for in-progress work on specifying - this data. JSERRORSTACKS
- +User agents should attach a serialized representation of any interesting accompanying + data which are not yet specified to serialized.
Let message be serialized.[[Message]].
Set value to OrdinaryObjectCreate(prototype, « - [[ErrorData]] »).
Let messageDesc be PropertyDescriptor { [[Value]]:
message, [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true
@@ -10907,6 +10905,8 @@ o.myself = o;
OrdinaryDefineOwnProperty(value, "message",
messageDesc).
Set value.[[Stack]] to serialized.[[Stack]].
Any interesting accompanying data attached to serialized should be deserialized and attached to value.