()
| 450 | } |
| 451 | |
| 452 | async function gatherPageBrief() { |
| 453 | const helper = pickActingHelper(container.helpers()) |
| 454 | if (!helper) return {} |
| 455 | const out = {} |
| 456 | try { if (helper.grabCurrentUrl) out.url = await helper.grabCurrentUrl() } catch {} |
| 457 | try { if (helper.grabTitle) out.title = await helper.grabTitle() } catch {} |
| 458 | try { |
| 459 | if (helper.grabSource) { |
| 460 | const html = await helper.grabSource() |
| 461 | out.contentSize = typeof html === 'string' ? html.length : null |
| 462 | } |
| 463 | } catch {} |
| 464 | return out |
| 465 | } |
| 466 | |
| 467 | function collectRunCompletion(errorMessage) { |
| 468 | const results = pendingRunResults || [] |
no test coverage detected