diff --git a/index.html b/index.html index cb5d3b0..2206451 100644 --- a/index.html +++ b/index.html @@ -1,2896 +1,218 @@ - -
- - - - -When the getStack method is called with argument error, the following steps are taken:
When the getStackString method is called with argument error, the following steps are taken:
When the getStack method is called with argument error, the following steps are taken:
The abstract operation GetStackFramesArray takes argument error. It performs the following steps when called:
+When the abstract operation GetStack is called with argument error, the following steps are performed:
-When the getStackString method is called with argument error, the following steps are taken:
When the abstract operation GetStackString is called with argument error, the following steps are performed:
-The abstract operation GetStackString takes argument error. It performs the following steps when called:
+When the abstract operation GetFrameString is called with argument frame, the following steps are performed:
-Error instances are ordinary objects that inherit properties from the and have an [[ErrorData]] internal slot whose value is (the intrinsic, Object.prototype.toString
| Internal Slot | +Description | +
|---|---|
| [[ErrorData]] | +A |
+
A Stack Frame Record is a
Stack Frame Records have the fields listend in
| Field Name | +Value | +
|---|---|
| [[Name]] | +String | +
| [[Source]] | +String | |
+
| [[Span]] | +
The abstract operation FromStackFrame takes argument frame (a
When the abstract operation GetStackFrameSpanString is called with argument span, the following steps are performed:
-The abstract operation GetStackFrameString takes argument frame (a
When the abstract operation GetStackFramePositionString is called with argument position, the following steps are performed:
-When the abstract operation GetStackFrames is called with argument error, the following steps are performed:
-When the abstract operation IsStackFrame is called with Stack Frame frame, the following steps are performed:
-When the abstract operation IsStackFrameSpan is called with argument span, the following steps are performed:
-A Stack Frame Span Record is a
Stack Frame Span Records have the fields listed in
| Field Name | +Value | +
|---|---|
| [[StartPosition]] | +|
| [[EndPosition]] | +
When the abstract operation IsStackFramePosition is called with argument position, the following steps are performed:
-The abstract operation FromStackFrameSpan takes argument span (a
When the abstract operation FromStackFrame is called with Stack Frame frame, the following steps are taken:
-The abstract operation GetStackFrameSpanString takes argument span (a
When the abstract operation FromStackFrameSpan is called with argument span, the following steps are taken:
-When the abstract operation FromStackFramePosition is called with argument position, the following steps are taken:
-A Stack Frame Position Record is a
Stack Frame Position Records have the fields listed in
| Field Name | +Value | +
|---|---|
| [[Line]] | +A positive |
+
| [[Column]] | +A non-negative |
+
The abstract operation FromStackFramePosition takes argument position (a
The abstract operation GetStackFramePositionString takes argument position (a
When the ECMAScript host is a web browser the following additional properties of the standard built-in objects are defined.
+When the ECMAScript host is a web browser the following additional properties of the standard built-in objects are defined.
-
-
The value of the
-
Its set accessor function performs the following steps:
-The value of the
-
The value of the
© 2017 Jordan Harband, Mark Miller
+Its set accessor function performs the following steps:
+The value of the
© 2021 Jordan Harband, Mark Miller
-All Software contained in this document ("Software") is protected by copyright and is being made available under the "BSD License", included below. This Software may be subject to third party rights (rights from parties other than Ecma International), including patent rights, and no licenses under such third party rights are granted under this license even if the third party concerned is a member of Ecma International. SEE THE ECMA CODE OF CONDUCT IN PATENT MATTERS AVAILABLE AT http://www.ecma-international.org/memento/codeofconduct.htm FOR INFORMATION REGARDING THE LICENSING OF PATENT CLAIMS THAT ARE REQUIRED TO IMPLEMENT ECMA INTERNATIONAL STANDARDS.
+All Software contained in this document ("Software") is protected by copyright and is being made available under the "BSD License", included below. This Software may be subject to third party rights (rights from parties other than Ecma International), including patent rights, and no licenses under such third party rights are granted under this license even if the third party concerned is a member of Ecma International. SEE THE ECMA CODE OF CONDUCT IN PATENT MATTERS AVAILABLE AT https://ecma-international.org/memento/codeofconduct.htm FOR INFORMATION REGARDING THE LICENSING OF PATENT CLAIMS THAT ARE REQUIRED TO IMPLEMENT ECMA INTERNATIONAL STANDARDS.
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-THIS SOFTWARE IS PROVIDED BY THE ECMA INTERNATIONAL "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ECMA INTERNATIONAL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+THIS SOFTWARE IS PROVIDED BY THE ECMA INTERNATIONAL "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ECMA INTERNATIONAL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-When the `getStack` method is called with argument _error_, the following steps are taken:
The abstract operation GetStackFramesArray takes argument _error_. It performs the following steps when called:
+When the `getStackString` method is called with argument _error_, the following steps are taken:
When the abstract operation _GetStack_ is called with argument _error_, the following steps are performed:
-When the abstract operation _GetStackString_ is called with argument _error_, the following steps are performed:
-The abstract operation GetStackString takes argument _error_. It performs the following steps when called:
+When the abstract operation _GetFrameString_ is called with argument _frame_, the following steps are performed:
-When the abstract operation _GetStackFrameSpanString_ is called with argument _span_, the following steps are performed:
-Error instances are ordinary objects that inherit properties from the and have an [[ErrorData]] internal slot whose value is *undefined*. The only specified uses of [[ErrorData]] is to identify Error, AggregateError, and _NativeError_ instances as Error objects within `Object.prototype.toString`(the intrinsic,
| Internal Slot | +Description | +
|---|---|
| [[ErrorData]] | +A List of Stack Frame records. | +
When the abstract operation _GetStackFramePositionString_ is called with argument _position_, the following steps are performed:
-A Stack Frame Record is a Record value used to store stack information of Error objects.
+Stack Frame Records have the fields listend in
| Field Name | +Value | +
|---|---|
| [[Name]] | +String | +
| [[Source]] | +String | Stack Frame Record | +
| [[Span]] | +Stack Frame Span Record | ~empty~ | +
When the abstract operation _GetStackFrames_ is called with argument _error_, the following steps are performed:
-The abstract operation FromStackFrame takes argument _frame_ (a Stack Frame Record). It performs the following steps when called:
+The abstract operation GetStackFrameString takes argument _frame_ (a Stack Frame Record). It performs the following steps when called:
+When the abstract operation IsStackFrame is called with Stack Frame _frame_, the following steps are performed:
-A Stack Frame Span Record is a Record value used to store location information of a Stack Frame Record.
+Stack Frame Span Records have the fields listed in
| Field Name | +Value | +
|---|---|
| [[StartPosition]] | +Stack Frame Position Record | +
| [[EndPosition]] | +Stack Frame Position Record | ~empty~ | +
When the abstract operation IsStackFrameSpan is called with argument _span_, the following steps are performed:
-The abstract operation FromStackFrameSpan takes argument _span_ (a Stack Frame Span Record). It performs the following steps when called:
+When the abstract operation IsStackFramePosition is called with argument _position_, the following steps are performed:
-The abstract operation GetStackFrameSpanString takes argument _span_ (a Stack Frame Span Record). It performs the following steps when called:
+When the abstract operation FromStackFrame is called with Stack Frame _frame_, the following steps are taken:
-A Stack Frame Position Record is a Record value used to store position information of a Stack Frame Span Record.
+Stack Frame Position Records have the fields listed in
| Field Name | +Value | +
|---|---|
| [[Line]] | +A positive integer | +
| [[Column]] | +A non-negative integer | ~empty~ | +
When the abstract operation FromStackFrameSpan is called with argument _span_, the following steps are taken:
-The abstract operation FromStackFramePosition takes argument _position_ (a Stack Frame Position Record). It performs the following steps when called:
+When the abstract operation FromStackFramePosition is called with argument _position_, the following steps are taken:
-The abstract operation GetStackFramePositionString takes argument _position_ (a Stack Frame Position Record). It performs the following steps when called:
+