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