Toolbox title isn't updated when navigating with server side target switching enabled
Categories
(DevTools :: Framework, defect, P3)
Tracking
(Fission Milestone:M7a, firefox90 fixed)
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: ochameau, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
(Whiteboard: dt-fission-m3-mvp)
Attachments
(2 files, 1 obsolete file)
When enabling devtools.target-switching.server.enabled
while having the toolbox shown in a window, its title isn't updating on navigation. That's because we rely on will-navigate and navigate, which don't fire in case of server side target switching.
We should instead rely on onTargetAvailable
and/or DOCUMENT_EVENT
, which both fires reliably.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Framework' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Assignee | ||
Comment 2•3 years ago
|
||
We should be able to do Bug 1691576 at the same time as this one
Updated•3 years ago
|
Updated•3 years ago
|
Reporter | ||
Comment 3•3 years ago
|
||
Let's have this bug to focus on updating targetFront's title/url attributes out of DOCUMENT_EVENT.
And bug 1691576 to focus on making toolbox.js to update toolbox's title out of DOCUMENT_EVENT.
Reporter | ||
Comment 4•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 5•3 years ago
|
||
This will be consumed by the toolbox to not update detached window title when
the user triggered a frame switching (i.e. selected a document in the frame switcher
menu in the toolbar).
Depends on D104540
Assignee | ||
Comment 6•3 years ago
|
||
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b7181701f11c [devtools] Pass isFrameSwitching in DOCUMENT_EVENT resources. r=jdescottes. https://hg.mozilla.org/integration/autoland/rev/c1954aab8ab2 [devtools] Update targetFront url and title on DOCUMENT_EVENT resource. r=ochameau,jdescottes.
Comment 8•3 years ago
•
|
||
Backed out for failures on browser_target_list_frames.js along with Bug 1691577 and Bug 1691576
backout: https://hg.mozilla.org/integration/autoland/rev/ff72ff2eabd7bb6654d1a8978c407b2a6daee14f
failure log:
- TEST-UNEXPECTED-FAIL | devtools/shared/commands/target/tests/browser_target_list_frames.js | A promise chain failed to handle a rejection: Connection closed, pending request to server0.conn8.watcher2, type watchResources failed
- TEST-UNEXPECTED-FAIL | devtools/client/framework/test/browser_toolbox_window_title_frame_select.js | Test timed out -
Comment 9•3 years ago
|
||
Assignee | ||
Comment 10•3 years ago
|
||
- I'll push a fix for
browser_target_list_frames.js
browser_toolbox_window_title_frame_select.js
seems unrelated, i triggered a TV job on central and got the same failure: https://treeherder.mozilla.org/jobs?repo=try&revision=25a28ed9eb6d120f35e8a3e7498267c0a39a3e42browser_ext_devtools_panels_elements_sidebar.js
looks unrelated as well (still waiting for TRY results)
Assignee | ||
Comment 11•3 years ago
|
||
browser_ext_devtools_panels_elements_sidebar.js
failures does only show up with my patch queue, I'll investigate
Comment 12•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6f9892cf815b
https://hg.mozilla.org/mozilla-central/rev/8056959c9079
Updated•3 years ago
|
Description
•