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.

  • @@ -10897,7 +10895,7 @@ o.myself = o;
  • Let message be serialized.[[Message]].

  • Set value to OrdinaryObjectCreate(prototype, « - [[ErrorData]] »).

  • + [[ErrorData]], [[Stack]] »).

  • 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.

  • @@ -157150,8 +157150,11 @@ INSERT INTERFACES HERE
    [JPEG]
    JPEG File Interchange Format, E. Hamilton.
    +
    [JSERRORSTACKACCESSOR]
    +
    Error Stack Accessor. Ecma International.
    +
    [JSERRORSTACKS]
    -
    (Non-normative) Error Stacks. Ecma International.
    +
    Error Stacks. Ecma International.
    [JSDYNAMICCODEBRANDCHECKS]
    Dynamic code brand checks. Ecma International.