about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-08-21 01:20:18 +0800
committerkennytm <kennytm@gmail.com>2018-08-21 17:51:42 +0800
commit2a0d72075e8b4d13f20f10c9e58ef0728a687583 (patch)
tree4df3f0be3bf419bca89fb72198530ff390aa203b /src/test/incremental/thinlto
parentb21e956f2733cce6304926cc51ee542c036c1c9e (diff)
parent207550981fb3f152ceacaf23fa5ac1727dad17ab (diff)
downloadrust-2a0d72075e8b4d13f20f10c9e58ef0728a687583.tar.gz
rust-2a0d72075e8b4d13f20f10c9e58ef0728a687583.zip
Rollup merge of #53405 - oconnor663:search_esc, r=GuillaumeGomez
restore the page title after escaping out of a search

Currently if I start a search in the docs, but then hit ESC, the "Results for..." title is still there in my browser tab. This is a simple attempt to fix that. I see that there's a separate `var previousTitle = document.title` thing happening in `startSearch()`, but as far as I can tell that's only related to the back stack? I'd also appreciate feedback on the right place to declare the `titleBeforeSearch` variable.

Testing-wise, I've confirmed by hand that the tab title restores correctly after building with `./x.py doc --stage 1 src/libstd`, but nothing more involved than that. What else should I test?
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions