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

Unified Diff: bindings/tests/idls/TestInterface3.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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 | « bindings/tests/idls/TestInterface2.idl ('k') | bindings/tests/idls/TestInterfaceCheckSecurity.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bindings/tests/idls/TestInterface3.idl
diff --git a/modules/notifications/WebKitNotification.idl b/bindings/tests/idls/TestInterface3.idl
similarity index 67%
copy from modules/notifications/WebKitNotification.idl
copy to bindings/tests/idls/TestInterface3.idl
index ae2acef3886a0f48e2ef1977b0e27888cbc84bbd..6b90bdac6770b6b13d0db0b9b52bb60312810ddc 100644
--- a/modules/notifications/WebKitNotification.idl
+++ b/bindings/tests/idls/TestInterface3.idl
@@ -28,21 +28,19 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- WillBeGarbageCollected,
- ActiveDOMObject,
- Conditional=LEGACY_NOTIFICATIONS,
- NoInterfaceObject,
- RuntimeEnabled=Notifications,
-] interface WebKitNotification : EventTarget {
- void show();
- void cancel();
+// This is for interface extended attributes that interact with another extended
+// attribute, and thus both cannot be tested at once; and for special
+// operations, which need a separate interface to test on.
+// The more *minor* extended attribute should be put in this file.
- attribute EventHandler ondisplay;
- attribute EventHandler onerror;
- attribute EventHandler onclose;
- attribute EventHandler onclick;
+[
+ Custom=VisitDOMWrapper, // Conflict with [SetWrapperReferenceTo] and [SetWrapperReferenceFrom]
+] interface TestInterface3 {
+ [Custom] getter boolean (unsigned long index);
+ [Custom] setter boolean (unsigned long index, Node value);
+ [Custom] deleter boolean (unsigned long index);
- attribute DOMString dir;
- attribute DOMString replaceId;
+ [Custom=PropertyGetter|PropertyEnumerator|PropertyQuery] getter Node (DOMString name);
+ [Custom] setter Node (DOMString name, Node value);
+ [Custom] deleter boolean (DOMString name);
};
« no previous file with comments | « bindings/tests/idls/TestInterface2.idl ('k') | bindings/tests/idls/TestInterfaceCheckSecurity.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698