(message, name)
| 682 | }; |
| 683 | |
| 684 | const lazyDOMException = (message, name) => { |
| 685 | _DOMException ??= internalBinding('messaging').DOMException; |
| 686 | if (isErrorStackTraceLimitWritable()) { |
| 687 | const limit = Error.stackTraceLimit; |
| 688 | Error.stackTraceLimit = 0; |
| 689 | const ex = new _DOMException(message, name); |
| 690 | Error.stackTraceLimit = limit; |
| 691 | ErrorCaptureStackTrace(ex, lazyDOMException); |
| 692 | return ex; |
| 693 | } |
| 694 | return new _DOMException(message, name); |
| 695 | |
| 696 | }; |
| 697 | |
| 698 | const kEnumerableProperty = ObjectFreeze({ |
| 699 | __proto__: null, |
no test coverage detected
searching dependent graphs…