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

Unified Diff: Source/core/dom/ErrorEvent.idl

Issue 20351002: Add 'error' parameter to 'window.onerror' handlers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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
Index: Source/core/dom/ErrorEvent.idl
diff --git a/Source/core/dom/ErrorEvent.idl b/Source/core/dom/ErrorEvent.idl
index 21195e9a9c0f90402e907ac8df2dd1c55aa36149..2aeca0e9a33fd190b2dccce6a8fa7892c20c81b3 100644
--- a/Source/core/dom/ErrorEvent.idl
+++ b/Source/core/dom/ErrorEvent.idl
@@ -35,6 +35,8 @@
[InitializedByEventConstructor] readonly attribute DOMString filename;
[InitializedByEventConstructor] readonly attribute unsigned long lineno;
+ [InitializedByEventConstructor] readonly attribute any error;
+
// FIXME: Part of the specification but not exposed yet.
// No other browser seems to support it (except IE10 as 'colno').
// [InitializedByEventConstructor] readonly attribute unsigned long column;

Powered by Google App Engine
This is Rietveld 408576698