New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 632839 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug

Blocking:
issue 841871



Sign in to add a comment

Find a way to keep the same tabId after a tab is discarded.

Project Member Reported by andersoncss@google.com, Jul 29 2016

Issue description

When a tab is discarded (https://cs.chromium.org/chromium/src/chrome/browser/memory/tab_manager.cc?rcl=1469805843&l=665)
we delete the old web_contents and create a new one.
The issue is that with a new web_contents comes a new tabId (https://cs.chromium.org/chromium/src/chrome/browser/extensions/extension_tab_util.cc?rcl=1468509561&l=383) and the tabId should remain the same during a tab's lifetime. 

We need to deeply investigate to find a way of keeping the same tabId.


 
This is important for a lot of different pieces.  Many components don't expect a tabid to ever change, and we also expose that information to extensions (in addition to relying on it internally).
Project Member

Comment 2 by sheriffbot@chromium.org, Jul 30 2016

Labels: Hotlist-Google

Comment 3 by fdoray@chromium.org, May 14 2018

Cc: georgesak@chromium.org
Owner: fdoray@chromium.org

Comment 4 by fdoray@chromium.org, May 14 2018

Blocking: 841871
Components: Internals>ResourceCoordinator

Sign in to add a comment