Skip to content

test+docs: cover hybrid navigation detection, update permission guidance#4

Merged
sanjay-0423 merged 1 commit into
mainfrom
ss/feat/safari-hybrid-tests-docs
Jul 20, 2026
Merged

test+docs: cover hybrid navigation detection, update permission guidance#4
sanjay-0423 merged 1 commit into
mainfrom
ss/feat/safari-hybrid-tests-docs

Conversation

@sanjay-0423

Copy link
Copy Markdown
Collaborator

Tests (268 passing):

  • tracker.test.ts: rewritten into headers mode (onHeadersReceived, status-code driven) and Safari navigation-only mode (onBeforeNavigate + onCommitted); adds 4xx/5xx chain-close coverage
  • integration standdown-sdk.test.ts: live-event helper now drives onHeadersReceived (3xx buffers, 2xx closes); all scenarios retained
  • standdown-sdk-firefox.test.ts: asserts headers mode registers on non-Safari and never touches webNavigation; Safari registers nav-only

Docs:

  • README + INTEGRATION_GUIDE: describe headers vs navigation-only modes, mark webNavigation as Safari-only/optional, and recommend webRequest.onCompleted/onErrorOccurred as the detection trigger

Tests (268 passing):
- tracker.test.ts: rewritten into headers mode (onHeadersReceived, status-code
  driven) and Safari navigation-only mode (onBeforeNavigate + onCommitted);
  adds 4xx/5xx chain-close coverage
- integration standdown-sdk.test.ts: live-event helper now drives
  onHeadersReceived (3xx buffers, 2xx closes); all scenarios retained
- standdown-sdk-firefox.test.ts: asserts headers mode registers on non-Safari
  and never touches webNavigation; Safari registers nav-only

Docs:
- README + INTEGRATION_GUIDE: describe headers vs navigation-only modes,
  mark webNavigation as Safari-only/optional, and recommend
  webRequest.onCompleted/onErrorOccurred as the detection trigger
@sanjay-0423
sanjay-0423 merged commit 5cdad0c into main Jul 20, 2026
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.

2 participants