Closed Bug 1519102 Opened 6 years ago Closed 6 years ago

Network Events are modified by webConsole

Categories

(DevTools :: Netmonitor, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: yulia, Assigned: yulia)

References

Details

(Whiteboard: dt-fission)

Attachments

(4 obsolete files)

The webconsole modifies the shape of the networkEvent form:

https://searchfox.org/mozilla-central/source/devtools/shared/webconsole/client.js#102-125

Most of this data is available but not sent in the form:

https://searchfox.org/mozilla-central/source/devtools/server/actors/network-event.js#56-71

It doesn't make much sense to be doing this kind of adjustment client side, and it makes it more difficult to manage the events once this becomes a protocol.js front. These should be reconciled

this removes the timeout from the debugger navigated action, and resolves the test case. This isn't a full solution, we probably still need a "reloaded event as recommended by ochameau
Attachment #9036307 - Attachment is obsolete: true
Attachment #9036546 - Attachment is obsolete: true

This patch aligns the data structure of the event emitted by the webclientConsole on networkEvent
to something that can be reconciled with the event emitted by the NetEvent Actor for the event of
the same name. It also brings it close to the shape of the networkUpdate event. The plan is to
modify the packet emitted by the NetEvent actor with a before call, and just attach the
networkInfo object to it.

Attachment #9037917 - Attachment is obsolete: true
Attachment #9037317 - Attachment is obsolete: true

closing as no longer necessary for fission.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: