Repository navigation
docs(design): async origin capture for stackless rejections (BGSVIEWER-14) - #175
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Design doc, measurements and probes only: no behaviour change in this PR. The doc has since been corrected against the review findings and brought to its as-built state (it records what #176 built and what real engines taught), so it cites files that exist once #176 has merged. Land #176 first, then this.
BGSVIEWER-14 is an unhandled
NotSupportedError: The element has no supported sources.with zero frames. Measured in headless Chromium 156 and Firefox 151 (docs/design/async-origin-capture/probe.mjs): platform promises that fail asynchronously reject with no stack in Chromium (and fewer in Firefox); user-codeErrorrejections already carry stacks, so the globalPromiseneeds no patching. The doc lists the measured stackless set, the 187 candidate methods fromlib.dom.d.ts, a generic call-site wrapper (with theunhandledrejection-preserving derived-promise trap), costs/risks, and a plan.WebKit was not part of the original measurements; it was run later in the e2e (design doc §12).
🤖 Generated with Claude Code