This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 13991 - Need a spec for HashChangeEvent constructor
Summary: Need a spec for HashChangeEvent constructor
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 11:13 UTC by Kentaro Hara
Modified: 2012-07-18 18:48 UTC (History)
3 users (show)

See Also:


Attachments

Description Kentaro Hara 2011-09-01 11:13:37 UTC
Background: We are planning to make all Events constructable. For example,
CustomEvent already has the spec for its constructor
(http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-customevent).

We propose a spec for HashChangeEvent constructor as follows:

[Constructor(DOMString type, optional HashChangeEventInit eventInitDict)]
dictionary HashChangeEventInit : EventInit {
    DOMString oldURL;
    DOMString newURL;
}
Comment 1 Ian 'Hixie' Hickson 2011-09-10 01:27:02 UTC
Done. http://html5.org/r/6551