Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: core/events/HashChangeEvent.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/events/FocusEventInit.idl ('k') | core/events/HashChangeEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/events/HashChangeEvent.idl
diff --git a/core/events/HashChangeEvent.idl b/core/events/HashChangeEvent.idl
index e5101b8d99186dc47978d81a5b0c5457a256b342..663fd57d85d10e5a357b9fc23db4e6b42ea16b52 100644
--- a/core/events/HashChangeEvent.idl
+++ b/core/events/HashChangeEvent.idl
@@ -17,16 +17,20 @@
* Boston, MA 02110-1301, USA.
*/
-// Introduced in http://www.whatwg.org/specs/web-apps/current-work/multiframe/History.html#event-hashchange
+// https://html.spec.whatwg.org/multipage/browsers.html#the-hashchangeevent-interface
+
[
- EventConstructor,
+ Constructor(DOMString type, optional HashChangeEventInit eventInitDict),
+ // TODO(philipj): Exposed=(Window,Worker)
] interface HashChangeEvent : Event {
- void initHashChangeEvent([Default=Undefined] optional DOMString type,
- [Default=Undefined] optional boolean canBubble,
- [Default=Undefined] optional boolean cancelable,
- [Default=Undefined] optional DOMString oldURL,
- [Default=Undefined] optional DOMString newURL);
- [InitializedByEventConstructor] readonly attribute DOMString oldURL;
- [InitializedByEventConstructor] readonly attribute DOMString newURL;
-};
+ readonly attribute DOMString oldURL;
+ readonly attribute DOMString newURL;
+ // TODO(philipj): initHashChangeEvent() has been removed from the spec:
+ // https://html5.org/r/6551
+ [Measure] void initHashChangeEvent([Default=Undefined] optional DOMString type,
+ [Default=Undefined] optional boolean canBubble,
+ [Default=Undefined] optional boolean cancelable,
+ [Default=Undefined] optional DOMString oldURL,
+ [Default=Undefined] optional DOMString newURL);
+};
« no previous file with comments | « core/events/FocusEventInit.idl ('k') | core/events/HashChangeEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698