Back to Chromium

Navigation During Onload Triggered By Back

third_party/blink/manual_tests/navigation-during-onload-triggered-by-back.html

149.0.7827.2424 B
Original Source

Same-document navigation in onload triggered by back navigation.

  1. Start the layout test web server with tools/run_blink_httpd.py.
  2. Click here.
  3. Click Back.

You should not crash.

We cannot use history.back() to test this, because it calls Page::goToItem (which calls FrameLoader::stopAllLoaders) first. Chromium's back button does not call stopAllLoaders first.