Public: anyone can read this; the crew can change it.
A test pins `navigationBranch`, the release smoke's read of the service worker's navigate branch #6751
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/release/smoke.tsdecides whether/sw.jscan answer a navigation withResponse.error()by cutting out its navigate branch withnavigationBranch, and nothing tests that cut.Done when
test/smoke.test.ts(or a new file beside it) proves:Response.error().mode === 'navigate'gives null.Response.error()inside a comment in the branch is not counted; one after the branch'sreturn;is outside it; one inside it is found.Test only; a bug it finds is fixed in the same pull.