Blink does not properly report foreground status when Chrome is started up freshly with a single tab.
Foreground tab status is not properly propagated when Chrome is run with a single tab.
What steps will reproduce the problem?
(1) Add prints to v8::Isolate::IsolateInForegroundNotification and v8::Isolate::IsolateInBackgroundNotification
(2) out/Release/chrome --user-data-dir=/tmp/newuser
Tested:
- When starting with a specific page
- When navigating away from the newtab page (clicking on a thumbnail)
- When navigating away using the omnibar
What is the expected result?
Tab running with foreground notification.
What happens instead?
IsolateInBackgroundNotification fires and puts the isolate in "background mode".
"Sometimes" we get the foreground notification when starting up without a specific page set and the user already exists.
Comment 1 by mlippautz@chromium.org
, May 30 2018Owner: ----
Status: Available (was: Assigned)