Closed
Bug 1505286
Opened 6 years ago
Closed 5 years ago
[remote-dbg-next] Improve background/lazy tab support for USB runtimes
Categories
(DevTools :: about:debugging, enhancement, P1)
DevTools
about:debugging
Tracking
(firefox66 verified, firefox67 verified, firefox68 verified)
VERIFIED
FIXED
Firefox 66
People
(Reporter: jdescottes, Assigned: daisuke)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
Background tab might not be the correct name here. STRs to create some background/lazy tabs: - open Firefox for Android - open a few tabs on various URLs - close Firefox for Android - open Firefox for Android again => one tab should load, the other tabs are listed and have a preview but are actually not loaded yet. That's what I call background tabs here. (I think the same happens when you reopen firefox for desktop, tabs will wait to be focused before loading anything. Now connect to the device using new about:debugging. Several things are currently incorrect for the background tabs: - URL is about:blank - clicking on inspect opens a toolbox that shows incorrect content (markup view has almost no markup, debugger has no sources etc...) Either we can force loading such tabs, or we need to communicate to the user that the tabs need to be focused to be debugged first. Note that we have the same issue with WebIDE today.
Reporter | ||
Updated•6 years ago
|
Priority: -- → P2
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → dakatsuka
Status: NEW → ASSIGNED
Priority: P2 → P1
Assignee | ||
Comment 1•6 years ago
|
||
For now, even when close the background/lazy tabs, could not reflect to `about:debugging` page. In this patch, notify to DevTools clients when close any tabs.
Updated•6 years ago
|
Attachment #9027454 -
Attachment is obsolete: true
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D13223
Updated•6 years ago
|
Attachment #9028232 -
Attachment description: Bug 1505286 - Part 2: Unzombify in case inspect zombie tab on Android. r=ochameau!,jdescottes! → Bug 1505286: Unzombify zombie tabs on Android when the actor connect to the browser.
Updated•6 years ago
|
Attachment #9028231 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #9028231 -
Attachment is obsolete: false
Updated•6 years ago
|
Attachment #9028232 -
Attachment description: Bug 1505286: Unzombify zombie tabs on Android when the actor connect to the browser. → Bug 1505286 - Part 2: Unzombify tab on Android when the tab debugs. r=ochameau!,jdescottes!
Pushed by dakatsuka@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/755ac698de79 Part 1: Show proper URL of zombie tab on Android. r=ochameau,jdescottes https://hg.mozilla.org/integration/autoland/rev/fd04a73e9732 Part 2: Unzombify tab on Android when the tab debugs. r=ochameau,jdescottes
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/755ac698de79 https://hg.mozilla.org/mozilla-central/rev/fd04a73e9732
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
Comment 6•5 years ago
|
||
Could you please provide some examples of some background/lazy tabs?
Flags: needinfo?(jdescottes)
Reporter | ||
Comment 7•5 years ago
|
||
The summary contains STRs to create such tabs:
STRs to create some background/lazy tabs:
- open Firefox for Android
- open a few tabs on various URLs
- close Firefox for Android
- open Firefox for Android again
=> one tab should load, the other tabs are listed and have a preview but are actually not loaded yet. That's what I call background tabs here. (I think the same happens when you reopen firefox for desktop, tabs will wait to be focused before loading anything.
Basically open a bunch of tabs on Fx for Android, close and reopen Fx for Android. All the tabs except the displayed one will be lazy.
Flags: needinfo?(jdescottes)
Comment 8•5 years ago
|
||
Verified as fixed on Firefox Nightly 68.0a1 (2019-04-01), Firefox 67.0b6 and Firefox 66.0.2 on Windows 10 x 64, Mac OS X 10.14 and on Ubuntu 16.04 x64.
You need to log in
before you can comment on or make changes to this bug.
Description
•