select becomes blank when navigate back
Reported by
ambinani...@gmail.com,
Dec 13 2017
|
||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
Steps to reproduce the problem:
1. Open attached file
2. Change selects options with javascript by clicking the first link
3. navigate to other website
4. navigate back by clicking browser's back button
What is the expected behavior?
1. The option with "selected" attribute should be selected.
2. document.querySelector('select').value should return selected option.
What went wrong?
Select becomes blank. No option is selected even though one of the options has selected attribute. document.querySelector('select').value returns empty string.
Did this work before? N/A
Does this work in other browsers? Yes
Chrome version: 63.0.3239.84 Channel: stable
OS Version: OS X 10.12.4
Flash Version:
,
Dec 17 2017
Bisect info: 264968 (good) - 264969 (bad) https://chromium.googlesource.com/chromium/src/+log/525948df..03228ee2?pretty=fuller The only CL is 03228ee2b420bbd072912f39f7dd2df3c7a6a803 "Blink roll 171956:172014" Landed in 36.0.1951.0 Can't pinpoint any CL inside the roll [1], but the bug never got fixed and is still present in Chrome 63-65. [1]: https://trac.webkit.org/log/webkit/?rev=172014&stop_rev=171956&verbose=on
,
Dec 19 2017
Able to reproduce this issue on Mac 10.12.6, Win-10 and Ubuntu 14.04 using chrome reported version #63.0.3239.84 and latest canary #65.0.3298.3. This is a non-regression issue as it is observed from M50 old builds. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Dec 27 2017
,
Jan 9 2018
,
Apr 3 2018
Not that these archaeological findings are helpful, but since Blink changelog is incorrect in #c2, here's the actual one: https://chromium.googlesource.com/chromium/blink/+log/181ff5dc..0ec4a556?pretty=fuller Suspecting 17f19bf2c529f3ec6f8b63f6542e66de72c30883 "Lazily generate HistoryItem's serialized form state" FWIW, the correct behavior is observed only between Chrome 34 and 36. Reverse bisect info: 248973 (bad) - 248983 (good) https://chromium.googlesource.com/chromium/src/+log/d21f4831..b8977487?pretty=fuller Something in Blink roll b897748700ae885c48843559c403d168611a52c7 enabled the good behavior: https://chromium.googlesource.com/chromium/blink/+log/6281accb..b2566bdf?pretty=fuller |
||||
►
Sign in to add a comment |
||||
Comment 1 by krajshree@chromium.org
, Dec 17 2017