about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-24 12:29:57 +0100
committerGitHub <noreply@github.com>2022-01-24 12:29:57 +0100
commitee35ed3e1a828b47478d70b569dc979d9119aabb (patch)
tree803ed2ddd148edebde6594ce72a6e809a1bf7b8c /compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
parentd1aa2f7b0b652026b404788a4e7af557753d662f (diff)
parentb30725eab7cbc898dbdb851d5977a352d1dd2187 (diff)
downloadrust-ee35ed3e1a828b47478d70b569dc979d9119aabb.tar.gz
rust-ee35ed3e1a828b47478d70b569dc979d9119aabb.zip
Rollup merge of #93253 - jsha:theme-on-show, r=GuillaumeGomez
Update theme on pageshow event

When a user goes forward or back, the page may be rendered from the back/forward cache (https://web.dev/bfcache/) rather than from scratch. If they have changed theme in the meantime, that means seeing an incorrect theme on the page they went forward or back to. The `pageshow` event fires on such navigations, so we can update the theme based on that event.

Demo: https://rustdoc.crud.net/jsha/theme-on-show/std/string/trait.ToString.html

r? `@GuillaumeGomez`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs')
0 files changed, 0 insertions, 0 deletions