New issue
Advanced search Search tips

Issue 676050 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

history.length is incorrect on page load (2 instead of 1)

Project Member Reported by domenic@chromium.org, Dec 20 2016

Issue description

Chrome Version: 57.0.2957.0 canary (64-bit)
OS: Windows 10

The test at http://w3c-test.org/html/browsers/browsing-the-web/history-traversal/same-url.html fails on the initial page load sanity check that history.length is 1. Instead, Chrome gives 2.

This is presumably because an iframe transitioned from about:blank to a new page, but per spec that navigation is performed with replacement enabled, and so should replace the previous history entry, not create a new one.
 

Comment 1 by a...@chromium.org, Dec 20 2016

Cc: creis@chromium.org
Components: Blink>Loader

Comment 3 by creis@chromium.org, Jan 31 2017

Components: UI>Browser>Navigation
Owner: creis@chromium.org
I'll try to find time to take a look.
Status: Assigned (was: Untriaged)

Sign in to add a comment