Fetch.enable URL patterns are ignored for scripted requests and post-navigation pauses
Author: ice-zeusCreated Sep 30, 2026Updated Sep 30, 2026
Fetch.enable URL patterns are not applied to every paused request, so Obscura pauses requests that Chrome does not.
Environment: adb4c1a (unchanged in a005d16), release render,stealth build, Ubuntu 26.04 x86_64, Playwright over CDP.
Reproduction
Serve a loopback page that loads a document, an image and runs fetch('/value/1'). Enable interception with a pattern, navigate, and count Fetch.requestPaused events.
Fetch.enable pattern |
Obscura | Chrome |
|---|---|---|
*never-match* |
3 | 0 |
*value* |
3 | 1 |
Cause
- Scripted
fetch()and XHR requests are sent to the interception channel whenever interception is enabled; the stored patterns are not consulted. - Requests reported after navigation (the document and completed subresources that were not intercepted live) are paused again for every request, regardless of the patterns.
A client that intercepts only some URLs receives pauses for requests it did not ask for, including completed requests that cannot be continued meaningfully.
Source: h4ckf0r0day/obscura