| 288 | return this.#reportedChildren > 0 && (!this.error || this.error.failureType === kSubtestsFailed); |
| 289 | } |
| 290 | #checkNestedComment(comment) { |
| 291 | const firstSpaceIndex = StringPrototypeIndexOf(comment, ' '); |
| 292 | if (firstSpaceIndex === -1) return false; |
| 293 | const secondSpaceIndex = StringPrototypeIndexOf(comment, ' ', firstSpaceIndex + 1); |
| 294 | return secondSpaceIndex === -1 && |
| 295 | ArrayPrototypeIncludes(kDiagnosticsFilterArgs, StringPrototypeSlice(comment, 0, firstSpaceIndex)); |
| 296 | } |
| 297 | #handleReportItem(item) { |
| 298 | const isTopLevel = item.data.nesting === 0; |
| 299 | if (isTopLevel) { |