From 3995f0ebf26bd9b39e95b9c39a7e1ef5b1db2304 Mon Sep 17 00:00:00 2001 From: garrytan Date: Sat, 3 Oct 2026 21:25:46 +0000 Subject: [PATCH] D2: give the memory-leak reproducer's fake request isNavigationRequest() wirePageEvents now runs the navigation guard on every request event; the fake request adapter supplies the method real Playwright requests have. --- browse/test/memory-leak-reproducer.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/browse/test/memory-leak-reproducer.test.ts b/browse/test/memory-leak-reproducer.test.ts index a857e8678..3ef93525c 100644 --- a/browse/test/memory-leak-reproducer.test.ts +++ b/browse/test/memory-leak-reproducer.test.ts @@ -97,6 +97,7 @@ describe('memory-leak reproducer: requestfinished does not materialize bodies', page.emit('request', { url: () => `https://example.invalid/asset/${i}`, method: () => 'GET', + isNavigationRequest: () => false, }); }