Home
last modified time | relevance | path

Searched refs:prepareStackTrace (Results 1 – 18 of 18) sorted by relevance

/third_party/node/test/parallel/
Dtest-repl-pretty-custom-stack.js34 const origPrepareStackTrace = Error.prepareStackTrace;
35 Error.prepareStackTrace = (err, stack) => { function
43 Error.prepareStackTrace = origPrepareStackTrace;
Dtest-error-prepare-stack-trace.js10 Error.prepareStackTrace = (_error, trace) => { function
Dtest-buffer-constructor-deprecation-error.js15 Error.prepareStackTrace = (err, trace) => new Buffer(10); function
Dtest-source-map-api.js67 Error.prepareStackTrace = (error, trace) => { function
/third_party/node/deps/undici/src/node_modules/busboy/test/
Dcommon.js80 const originalStackFormatter = Error.prepareStackTrace;
81 Error.prepareStackTrace = (err, stack) => function
88 Error.prepareStackTrace = originalStackFormatter;
/third_party/node/lib/internal/source_map/
Dsource_map_cache.js68 prepareStackTrace,
70 setPrepareStackTraceCallback(prepareStackTrace);
74 prepareStackTrace,
76 setPrepareStackTraceCallback(prepareStackTrace);
Dprepare_stack_trace.js32 const prepareStackTrace = (globalThis, error, trace) => { function
213 prepareStackTrace, property
/third_party/typescript/src/testRunner/unittests/tsserver/
Dsession.ts60 oldPrepare = (Error as any).prepareStackTrace;
61 delete (Error as any).prepareStackTrace;
65 (Error as any).prepareStackTrace = oldPrepare;
443 oldPrepare = (Error as any).prepareStackTrace;
444 delete (Error as any).prepareStackTrace;
449 (Error as any).prepareStackTrace = oldPrepare;
DcancellationToken.ts6 oldPrepare = (Error as any).prepareStackTrace;
7 delete (Error as any).prepareStackTrace;
11 (Error as any).prepareStackTrace = oldPrepare;
/third_party/node/deps/npm/node_modules/depd/
Dindex.js384 var prep = Error.prepareStackTrace
386 Error.prepareStackTrace = prepareObjectStackTrace
395 Error.prepareStackTrace = prep
/third_party/node/lib/internal/bootstrap/
Dnode.js379 prepareStackTrace,
387 setPrepareStackTraceCallback(prepareStackTrace);
/third_party/node/lib/internal/
Derrors.js89 const prepareStackTrace = (globalThis, error, trace) => { function
139 if (typeof globalThis.Error?.prepareStackTrace === 'function') {
140 return globalThis.Error.prepareStackTrace(error, trace);
145 if (typeof MainContextError.prepareStackTrace === 'function') {
146 return MainContextError.prepareStackTrace(error, trace);
935 prepareStackTrace, property
/third_party/node/test/common/
Dindex.js514 const originalStackFormatter = Error.prepareStackTrace;
515 Error.prepareStackTrace = (err, stack) => function
521 Error.prepareStackTrace = originalStackFormatter;
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/
Dv8_mock.js94 Error.prepareStackTrace = function(error, structuredStackTrace) { function
/third_party/node/lib/
Drepl.js664 if (typeof Error.prepareStackTrace === 'function') {
665 return Error.prepareStackTrace(error, frames);
/third_party/node/doc/api/
Dcli.md345 Overriding `Error.prepareStackTrace` prevents `--enable-source-maps` from
/third_party/node/doc/changelogs/
DCHANGELOG_V12.md3981 …nodejs/node/commit/22e10fd15a)] - **doc**: --enable-source-maps and prepareStackTrace are incompat…
4141 …://github.com/nodejs/node/commit/74a69abd12)] - **lib**: stop using prepareStackTrace (Gus Caplan)…
4160 …hub.com/nodejs/node/commit/ba4946a520)] - **tools**: prohibit Error.prepareStackTrace() usage (Rub…
5546 …com/nodejs/node/commit/6f7005465a)] - **src, lib**: take control of prepareStackTrace (Gus Caplan)…
6439 …odejs/node/commit/2948e96afd)] - **util**: fix wrong usage of Error.prepareStackTrace (Simon Zünd)…
DCHANGELOG_V13.md2183 …nodejs/node/commit/89b9115c4d)] - **doc**: --enable-source-maps and prepareStackTrace are incompat…