File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,8 @@ export default class Task extends EventTarget {
107
107
const promises : Promise < void > [ ] = [ ] ; // only for task level concurrency
108
108
while (
109
109
( totalTime < time
110
- || samples . length + limit . activeCount + limit . pendingCount < iterations )
110
+ || samples . length + limit . activeCount + limit . pendingCount
111
+ < iterations )
111
112
&& ! this . bench . signal ?. aborted
112
113
) {
113
114
if ( this . bench . concurrency === 'task' ) {
Original file line number Diff line number Diff line change @@ -62,8 +62,7 @@ const isSpiderMonkey = !!(globalThis as any).inIon && !!(globalThis as any).perf
62
62
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
63
63
const isJsc = ! ! ( globalThis as any ) . $
64
64
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
65
- && 'IsHTMLDDA' in ( globalThis as any ) . $
66
- && new Error ( ) . stack ?. startsWith ( 'runtime@' ) ;
65
+ && 'IsHTMLDDA' in ( globalThis as any ) . $ ;
67
66
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
68
67
const isBrowser = ! ! ( globalThis as any ) . window && ! ! ( globalThis as any ) . navigator ;
69
68
You can’t perform that action at this time.
0 commit comments