Index: Source/core/frame/WindowEventHandlers.idl |
diff --git a/Source/core/frame/WindowEventHandlers.idl b/Source/core/frame/WindowEventHandlers.idl |
index e329309c80556f728604447626855cc2ab8faa63..9b766723fabea50dce8202b94b0e5e4de4785cce 100644 |
--- a/Source/core/frame/WindowEventHandlers.idl |
+++ b/Source/core/frame/WindowEventHandlers.idl |
@@ -48,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; |
}; |