Files
sousa-gecko/devtools/shared/network-observer
Alexandre Poirot 357f663ef4 Bug 2051247 - [devtools] Show (correct) stylesheet text content when using Local Mode or Network override. r=devtools-reviewers,jdescottes
NetworkObserver codebase makes it hard to only trigger Override and
LocalMode hooks for DevTools requests.
So start observing DevTools requests in light of upcoming bug 2038986
and ignore them in the frontend until we have proper frontend
implementation.

Went for this intermediate simpler approach in order to try to uplift
this patch for make the style editor work when using local mode.

Differential Revision: https://phabricator.services.mozilla.com/D310056
2026-07-03 15:32:30 +00:00
..

Network Observer modules

The NetworkObserver module and associated helpers allow to:

  • monitor network events (requests and responses)
  • block requests
  • throttle responses

The DevTools network-observer modules are used both by DevTools and by WebDriver BiDi, found under /remote. Breaking changes should be discussed and reviewed both by devtools and webdriver peers.