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

Unified Diff: bindings/tests/idls/TestInterface2.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/TestInterface.idl ('k') | bindings/tests/idls/TestInterface3.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bindings/tests/idls/TestInterface2.idl
diff --git a/core/testing/LayerRectList.idl b/bindings/tests/idls/TestInterface2.idl
similarity index 57%
copy from core/testing/LayerRectList.idl
copy to bindings/tests/idls/TestInterface2.idl
index 03e63c58495c2e3e6cc1abf61b964bab68405c58..bf9c1123721d91e0271029033897fb7341ada2c8 100644
--- a/core/testing/LayerRectList.idl
+++ b/bindings/tests/idls/TestInterface2.idl
@@ -28,10 +28,25 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// 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.
+
[
- NoInterfaceObject, // testing interfaces do not appear on global objects
-] interface LayerRectList {
- readonly attribute unsigned long length;
- getter LayerRect item(unsigned long index);
-};
+ Constructor, // Test interaction with [Custom=Wrap]
+ Custom=Wrap, // Conflicts with and [Custom=ToV8], respectively
+ DependentLifetime, // Covered by [ActiveDOMObject]
+ SetWrapperReferenceFrom=ownerNode, // Conflicts with [SetWrapperReferenceTo]
+ SpecialWrapFor=TestInterface|TestInterfaceEmpty, // Conflicts with [Custom=ToV8]
+] interface TestInterface2 {
+ // Indexed property operations with an identifier
+ [RaisesException] getter TestInterfaceEmpty item(unsigned long index);
+ [RaisesException] setter DOMString setItem(unsigned long index, DOMString value);
+ [RaisesException] deleter boolean deleteItem(unsigned long index);
+ // Named property operations with an identifier
+ [RaisesException] getter TestInterfaceEmpty namedItem(DOMString name);
+ [RaisesException] setter DOMString setNamedItem(DOMString name, DOMString value);
+ [RaisesException] deleter boolean deleteNamedItem(DOMString name);
+};
« no previous file with comments | « bindings/tests/idls/TestInterface.idl ('k') | bindings/tests/idls/TestInterface3.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698