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

Unified Diff: core/events/ErrorEvent.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/CustomEventInit.idl ('k') | core/events/ErrorEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/events/ErrorEvent.idl
diff --git a/core/events/ErrorEvent.idl b/core/events/ErrorEvent.idl
index ad122859002899c966451cb6c679891dea3cc3da..a26bac625bc44de1e3e9c7155ffe9b6ce7f617f7 100644
--- a/core/events/ErrorEvent.idl
+++ b/core/events/ErrorEvent.idl
@@ -28,13 +28,15 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://html.spec.whatwg.org/multipage/webappapis.html#the-errorevent-interface
+
[
- EventConstructor,
+ Constructor(DOMString type, optional ErrorEventInit eventInitDict),
+ // TODO(philipj): Exposed=(Window,Worker)
] interface ErrorEvent : Event {
- [InitializedByEventConstructor] readonly attribute DOMString message;
- [InitializedByEventConstructor] readonly attribute DOMString filename;
- [InitializedByEventConstructor] readonly attribute unsigned long lineno;
- [InitializedByEventConstructor] readonly attribute unsigned long colno;
- [Custom=Getter, InitializedByEventConstructor] readonly attribute any error;
+ readonly attribute DOMString message;
+ readonly attribute DOMString filename;
+ readonly attribute unsigned long lineno;
+ readonly attribute unsigned long colno;
+ [Custom=Getter] readonly attribute any error;
};
-
« no previous file with comments | « core/events/CustomEventInit.idl ('k') | core/events/ErrorEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698