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

Unified Diff: Source/core/events/HashChangeEvent.idl

Issue 1167623002: Sync some event interfaces with the HTML spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 7 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 | « Source/core/events/ErrorEvent.idl ('k') | Source/core/events/MessageEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/HashChangeEvent.idl
diff --git a/Source/core/events/HashChangeEvent.idl b/Source/core/events/HashChangeEvent.idl
index 3a04bf5a5101f2e427d13cb8b49b6108cc1c94d4..663fd57d85d10e5a357b9fc23db4e6b42ea16b52 100644
--- a/Source/core/events/HashChangeEvent.idl
+++ b/Source/core/events/HashChangeEvent.idl
@@ -17,16 +17,20 @@
* Boston, MA 02110-1301, USA.
*/
-// https://html.spec.whatwg.org/multipage/browsers.html#hashchangeevent
+// https://html.spec.whatwg.org/multipage/browsers.html#the-hashchangeevent-interface
+
[
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);
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 | « Source/core/events/ErrorEvent.idl ('k') | Source/core/events/MessageEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698