Index: css/CSSFontFaceLoadEvent.idl |
diff --git a/Modules/websockets/CloseEvent.idl b/css/CSSFontFaceLoadEvent.idl |
similarity index 82% |
copy from Modules/websockets/CloseEvent.idl |
copy to css/CSSFontFaceLoadEvent.idl |
index 3f29a495914ed2d5e413a26181660fd89869fef5..02dcee08a5016c03d7786c1cd4cdd175b5c865d4 100644 |
--- a/Modules/websockets/CloseEvent.idl |
+++ b/css/CSSFontFaceLoadEvent.idl |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2011 Google Inc. All rights reserved. |
+ * Copyright (C) 2013 Google Inc. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions are |
@@ -29,11 +29,11 @@ |
*/ |
[ |
+ Conditional=FONT_LOAD_EVENTS, |
+ V8EnabledAtRuntime=fontLoadEvents, |
JSNoStaticTables, |
ConstructorTemplate=Event |
-] interface CloseEvent : Event { |
- [InitializedByEventConstructor] readonly attribute boolean wasClean; |
- [InitializedByEventConstructor] readonly attribute unsigned short code; |
- [InitializedByEventConstructor] readonly attribute DOMString reason; |
+] interface CSSFontFaceLoadEvent : Event { |
+ readonly attribute [InitializedByEventConstructor] CSSFontFaceRule fontface; |
+ readonly attribute [InitializedByEventConstructor] DOMError error; |
}; |
- |