RESOLVED DUPLICATE of bug 63777 57979
Location assignment before onload does not update the current HistoryItem
https://bugs.webkit.org/show_bug.cgi?id=57979
Summary Location assignment before onload does not update the current HistoryItem
Mihai Parparita
Reported 2011-04-06 13:52:44 PDT
With http://trac.webkit.org/changeset/65340 non-user initiated location updates before onload completes were changed to not create a new HistoryItem. However, they don't update the current HistoryItem with the new URL either, which is inconsistent with both Firefox and the HTML spec (which says "On setting, if the Location object's associated Document object has completely loaded, then the user agent must act as if the assign() method had been called with the new value as its argument. Otherwise, the user agent must act as if the replace() method had been called with the new value as its argument." at http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#the-location-interface). Test case at http://persistent.info/webkit/test-cases/crbug-78485.html (check the alert that appears). Originally reported on the Chromium side as http://crbug.com/78485
Attachments
Mihai Parparita
Comment 1 2011-06-30 18:25:10 PDT
*** This bug has been marked as a duplicate of bug 63777 ***
Note You need to log in before you can comment on or make changes to this bug.