This is done by checking the channel associatedBrowsingContext in NetworkUtils matchRequest function. A test is added to make sure Reporting API requests are visible in the Netmonitor and that we can inspect their payload. Depends on D283896 Differential Revision: https://phabricator.services.mozilla.com/D284675
3 lines
160 B
Plaintext
3 lines
160 B
Plaintext
Content-Type: text/html; charset=UTF-8↩
|
|
Reporting-Endpoints: default="https://example.com/browser/devtools/client/netmonitor/test/sjs_simple-test-server.sjs"
|