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

Issue 603315 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Apr 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Incorrect behavior on browser exit(unloaded WebContents are navigated)

Reported by centbrow...@gmail.com, Apr 13 2016

Issue description

Chrome Version       : 49.0.2623.112

What steps will reproduce the problem?
(1)Open three URL: google.com yahoo.com and chrome://discards
(2)In chrome://discards page, manually discards the other two URLs.
(3)Exit the browser

What is the expected result?
The browser process exits directly.

What happens instead?
The two unloaded URLs are reloaded again.After that, the browser exits.
Process Monitor detects new chrome.exe processes are launched.

 
Labels: Performance
Is the proposal that Chrome should check whether each discarded page has any onbeforeunload/onunload handlers and, if not, skip the resurrection of those pages?
Yes. I think any additional check should be skipped for those discarded pages.
This issue also happened during session restore.If I restore many tabs for one time and close the browser before all tabs are loaded.The browser still create a lot of renderer processes before exit.
Cc: rnimmagadda@chromium.org
Labels: Needs-Feedback
@centbrowser: Could you please have a look at the attached screen-recording and let us know if this is the correct procedure to repro this issue.

Else, provide us the screen-recording for better understanding.

Thank you.
603315.mp4
2.2 MB Download
@rnimmagadda: Yes, this is the right way.You can set a breakpoint at function CreateChannelProxy in render_process_host_impl.cc.Then you can see that the browser is about to reload the discarded tabs before it really exits.
And Process Monitor can also record the "Process Create" events of chrome.exe
Project Member

Comment 6 by sheriffbot@chromium.org, Apr 14 2016

Labels: -Needs-Feedback Needs-Review
Owner: rnimmagadda@chromium.org
Thank you for providing more feedback. Adding requester "rnimmagadda@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://sites.google.com/a/chromium.org/dev/issue-tracking/autotriage - Your friendly Sheriffbot
It is my pleasure.I am proud to help improving this prominent project.
Labels: -Needs-Review Te-NeedsFurtherTriage
Owner: ----
Could someone from Dev team please look into this issue. 

Attached video is the output observed. Similar behavior is observed since Chrome Version - 46.0.2473.0

Before this build, when trying to access "chrome://discards" a message - "This webpage is not available" is displayed. Build Version - 45.0.2454.101
603315.mp4
937 KB Download
Project Member

Comment 10 by sheriffbot@chromium.org, Apr 18 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment