W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2010

[Bug 10365] popstate event fires after onload (first page visit) -- intended behavior? would be annoying if there was a script that ajax loaded a page at onpopstate, and hand typing in a url, the page is returned by the server, and then onpopstate fires after onload,

From: <bugzilla@jessica.w3.org>
Date: Wed, 03 Nov 2010 07:47:12 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PDY3s-00014S-Cm@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10365

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #4 from Ian 'Hixie' Hickson <ian@hixie.ch> 2010-11-03 07:47:11 UTC ---
The spec seems completely unambiguous here  search for the string "fire a
popstate event" for the only two occurrences, neither of which can happen
without history traversal. Regarding the question in comment 2, a page load
results in the "navigate" algorithm being invoked, which unambiguously results
in history traversal.

Thus what you describe is an implementation bug.

EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the tracker issue; or you may create a tracker issue
yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: Not a spec bug.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 3 November 2010 07:47:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 November 2010 07:47:14 GMT