New issue
Advanced search Search tips

Issue 807828 link

Starred by 5 users

Issue metadata

Status: Duplicate
Merged: issue 798792
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

history.replaceState() will cause Mac desktop to switch to another desktop.

Project Member Reported by da...@google.com, Feb 1 2018

Issue description

Chrome Version: 64.0.3282.119
OS: OSX 10.13.3

What steps will reproduce the problem?
(1) Open a Chrome window in another OSX desktop.
(2) Visit https://www.google.com in that window.
(3) Open Chrome DevTools console and run the following:
    setTimeout(() => history.replaceState(history.state, 'abcde', '45678'), 10000)
(4) Quickly go back to the previous OSX desktop.
(5) Wait up to 10 seconds.

What is the expected result?

The history change occurs but does not result in an OSX desktop change. This can occur for pages where the history state does not actually change.

What happens instead?

The history change occurs, but also results in an OSX desktop change to the other desktop.

This does not occur in Chrome 63.0.3239.132.
This does occur in Chrome 64.0.3282.119.

 
Components: UI>Browser>History Blink>JavaScript>API

Comment 2 by adamk@chromium.org, Feb 2 2018

Components: -Blink>JavaScript>API

Comment 3 by sdy@chromium.org, Feb 5 2018

Cc: ellyjo...@chromium.org
Mergedinto: 798792
Owner: sdy@chromium.org
Status: Duplicate (was: Untriaged)
Would you mind trying on Canary? I'm *pretty* sure this is an issue that's been fixed, but the fix isn't in stable at the moment. We're still investigating whether it's widespread enough to merge a fix to stable.

Comment 4 by da...@google.com, Feb 5 2018

Yes, sorry for not updating earlier- I found on Friday that this doesn't repro on Canary. I don't know about Beta.

Sign in to add a comment