Skip to content

Conversation

@Andarist
Copy link
Member

@Andarist Andarist commented Sep 3, 2025

This PR exposes process.recordreplay.annotationHook that can be used like:

process.recordreplay.annotationHook("my-kind", {
  payload: "foo",
});

It's the equivalent of Chromium's

window.__RECORD_REPLAY_ANNOTATION_HOOK__("my-kind", {
  payload: "foo",
});

We'll use this to add network-related annotations to the node recordings.

@Andarist Andarist merged commit dd2662b into master Sep 4, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants