Duplicated requests and multiselection issues
Categories
(DevTools :: Netmonitor, defect, P2)
Tracking
(firefox83 fixed)
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: Honza, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
STR:
- Load http://janodvarko.cz/tests/fission/case6/index.html
- Open DevTools Toolbox and select the Network panel
- Reload the page
- Note that all requests are displayed three times -> BUG
- Try to select one of the duplicated requests, three requests are selected at the same time -> BUG
Also requests, coming from the top level document seems to be incomplete.
See the attached screenshot.
This only happens with Fission
Honza
Reporter | ||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
:Honza, if you think that's a regression, then could you try to find a regression range in using for example mozregression?
Reporter | ||
Comment 3•4 years ago
•
|
||
In case of troubles to reproduce the issue, use back/forward buttons.
STR:
- Load http://janodvarko.cz/tests/fission/case6/index.html
- Open DevTools Toolbox and select the Network panel
- Click the Back button (Firefox toolbar)
- Click the Forward button (Firefox toolbar)
- All requests are multiplied -> BUG
The more you repeat steps #3 and #4 the more requests is multiplied.
Honza
Reporter | ||
Comment 4•4 years ago
|
||
I can reproduce even without Fission.
Honza
Comment 5•4 years ago
|
||
Yes i can reproduce. I think it might be related to the issue with Bug 1667225
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Comment 6•4 years ago
|
||
There is one more case reproducible with Fission only, but feels like the root issue could be the same:
- Load http://janodvarko.cz/tests/fission/case1/index.html
- Open DevTools Toolbox and select the Network panel
- Click the
this same page
link that loads the same page from different domain (causing Fission target-switch) - Reload the page.
- All requests are multiplied -> BUG
Honza
Comment 7•4 years ago
|
||
Reporter | ||
Comment 8•4 years ago
|
||
One more case reproducible with Fission only:
- Load https://farooqar.github.io/sse-echo/
- Open DevTools Toolbox and select the Network panel
- Click the "Connect" button.
- The new request is there 3 times -> BUG
Honza
Assignee | ||
Comment 9•4 years ago
|
||
This has actually been made much more visible since bug 1663649 landed.
This issue relates to target-swiching. If you navigate between two processes, you will start seeing this issue.
This is because we start listening multiple times to the NETWORK_EVENT resource, everytime we have a top level target swiching.
Assignee | ||
Comment 10•4 years ago
|
||
Assignee | ||
Comment 11•4 years ago
|
||
We should register the resource listeners only once.
ResourceWatcher will automatically handle re-registering the per-target listener for us.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 12•4 years ago
|
||
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ed211f4f71d2 [devtools] Avoid registering resource listener twice on target switching from netmonitor. r=Honza
Comment 13•4 years ago
|
||
bugherder |
Description
•