(callSiteString)
| 7328 | // Exported only so it can be unit tested. |
| 7329 | // TODO Move so that it applies not just to v8. |
| 7330 | const shortenCallSiteString= (callSiteString)=>{ |
| 7331 | for( const filter of CALLSITE_PATTERNS) { |
| 7332 | const match= regexpExec(filter, callSiteString); |
| 7333 | if( match) { |
| 7334 | return arrayJoin(arraySlice(match, 1), ''); |
| 7335 | } |
| 7336 | } |
| 7337 | return callSiteString; |
| 7338 | };$h_once.shortenCallSiteString(shortenCallSiteString); |
| 7339 | |
| 7340 | const tameV8ErrorConstructor= ( |
| 7341 | OriginalError, |
no outgoing calls
no test coverage detected