Closed Bug 1665383 Opened 4 years ago Closed 3 years ago

Enable NETWORK_EVENT and NETWORK_EVENT_STACK_TRACE resources by default

Categories

(DevTools :: Netmonitor, task, P2)

task

Tracking

(Fission Milestone:M7, firefox86 fixed)

RESOLVED FIXED
86 Branch
Fission Milestone M7
Tracking Status
firefox86 --- fixed

People

(Reporter: ochameau, Assigned: bomsy)

References

(Blocks 4 open bugs)

Details

(Whiteboard: dt-fission-m3-mvp)

Attachments

(1 file, 7 obsolete files)

47 bytes, text/x-phabricator-request
Details | Review

This will be the last stone in order to start supporting remote frames and cross process navigations correctly in the netmonitor.

NETWORK_EVENT and NETWORK_EVENT_STACK_TRACE are preffed off behind devtools.testing.enableServerWatcherSupport:
https://searchfox.org/mozilla-central/source/devtools/server/actors/watcher.js#118-119

The goal of this bug is to enable them by default.
In order to do that, we have to fix all tests which starts failing when we enable them,
and before enabling them do all opportunistic changes to the resource payload so that we don't have to handle backward compat later on. bug 1654740 may be an example of this.

Severity: -- → S3
Priority: -- → P2

Tracking for Fission MVP

Fission Milestone: --- → MVP

This bug is probably a meta, but is meant to be done in the scope of M2.

Whiteboard: dt-fission-m2-mvp
Blocks: 1672960
Whiteboard: dt-fission-m2-mvp → dt-fission-m2-reserve
Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Attachment #9191310 - Attachment is obsolete: true

This fixes browser_dbg-gc-sources.js test

Fixes browser_net_pause.js

Depends on D99620

Fixes browser_jsterm_block_commands.js test

Depends on D99621

Fixes browser_webconsole_stubs_network_event.js
Fixes browser_webconsole_network_messages_stacktrace_console_initiated_request.js

Depends on D99622

Fixes browser_preloaded_newtab.js test
Fixes browser_aboutdebugging_devtoolstoolbox_target_destroyed.js test

Depends on D99623

Enable NETWORK_EVENT and NETWORK_EVENT_STACKTRACE resources by default

Depends on D99624

Disabling browser_net_block-csp.js as it fails with fission enabled.
Bug 1682153 details the issue, and the test would be enabled when this
bug is fixed.

Depends on D99625

Comment on attachment 9192928 [details]
Bug 1665383 - [devtools] Query the nsIHttpChannel to make sure we get the sourceMapURL r=ochameau

Revision D99620 was moved to bug 1683107. Setting attachment 9192928 [details] to obsolete.

Attachment #9192928 - Attachment is obsolete: true

Comment on attachment 9192932 [details]
Bug 1665383 - [devtools] Only get targetFront for the watcherFront when a targetFront is not already set on the resource r=ochameau

Revision D99624 was moved to bug 1683119. Setting attachment 9192932 [details] to obsolete.

Attachment #9192932 - Attachment is obsolete: true

Comment on attachment 9192935 [details]
Bug 1665383 - [devtools] Disable blocking CSP test temprorarily r=ochameau

Revision D99626 was moved to bug 1683121. Setting attachment 9192935 [details] to obsolete.

Attachment #9192935 - Attachment is obsolete: true

Comment on attachment 9192929 [details]
Bug 1665383 - [devtools] Handle netmonitor pause/resume on the client r=ochameau

Revision D99621 was moved to bug 1683152. Setting attachment 9192929 [details] to obsolete.

Attachment #9192929 - Attachment is obsolete: true
Whiteboard: dt-fission-m2-reserve → dt-fission-m3-mvp

Comment on attachment 9192930 [details]
Bug 1665383 - [devtools] Add blockRequest/unblockRequest commands support r=ochameau

Revision D99622 was moved to bug 1685262. Setting attachment 9192930 [details] to obsolete.

Attachment #9192930 - Attachment is obsolete: true
Blocks: 1686440
No longer blocks: 1686440
Depends on: 1686440

Comment on attachment 9192931 [details]
Bug 1665383 - [devtools] Fix webconsole network events and stacktrace tests r=ochameau,nchevobbe

Revision D99623 was moved to bug 1686440. Setting attachment 9192931 [details] to obsolete.

Attachment #9192931 - Attachment is obsolete: true
Depends on: 1687192
Depends on: 1687205
Blocks: 1687237
Blocks: 1687240
Pushed by hmanilla@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/34dd7e523954
[devtools] Enable NETWORK_EVENT and NETWORK_EVENT_STACKTRACE by default for fission r=ochameau
Pushed by hmanilla@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/916c7c7f8bbc
[devtools] Enable NETWORK_EVENT and NETWORK_EVENT_STACKTRACE by default for fission r=ochameau
Flags: needinfo?(hmanilla)
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Blocks: 1688170

This completed dt-fission-m3-mvp bug should have Fission Milestone M7 Beta.

Fission Milestone: MVP → M7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: