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

Unified Diff: core/frame/WindowEventHandlers.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/frame/WindowBase64.idl ('k') | core/frame/WindowTimers.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/frame/WindowEventHandlers.idl
diff --git a/core/frame/WindowEventHandlers.idl b/core/frame/WindowEventHandlers.idl
index 95de525822a77f31104c7d6f7c9cd93e67ab7b4f..9b766723fabea50dce8202b94b0e5e4de4785cce 100644
--- a/core/frame/WindowEventHandlers.idl
+++ b/core/frame/WindowEventHandlers.idl
@@ -27,7 +27,7 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#windoweventhandlers
+// https://html.spec.whatwg.org/multipage/webappapis.html#windoweventhandlers
[
ImplementedAs=DOMWindowEventHandlers,
@@ -36,6 +36,7 @@
] interface WindowEventHandlers {
//attribute EventHandler onafterprint;
//attribute EventHandler onbeforeprint;
+ // FIXME: onbeforeunload should be an OnBeforeUnloadEventHandler.
attribute EventHandler onbeforeunload;
attribute EventHandler onhashchange;
attribute EventHandler onlanguagechange;
@@ -47,4 +48,9 @@
attribute EventHandler onpopstate;
attribute EventHandler onstorage;
attribute EventHandler onunload;
+
+ // Unhandled Promise Rejection Events
+ // https://github.com/domenic/unhandled-rejections-browser-spec
+ [RuntimeEnabled=PromiseRejectionEvent] attribute EventHandler onrejectionhandled;
+ [RuntimeEnabled=PromiseRejectionEvent] attribute EventHandler onunhandledrejection;
};
« no previous file with comments | « core/frame/WindowBase64.idl ('k') | core/frame/WindowTimers.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698