summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/webidl2/test/syntax/idl/sequence.widl
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/resources/webidl2/test/syntax/idl/sequence.widl')
-rw-r--r--testing/web-platform/tests/resources/webidl2/test/syntax/idl/sequence.widl12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resources/webidl2/test/syntax/idl/sequence.widl b/testing/web-platform/tests/resources/webidl2/test/syntax/idl/sequence.widl
new file mode 100644
index 000000000..6ba0d390d
--- /dev/null
+++ b/testing/web-platform/tests/resources/webidl2/test/syntax/idl/sequence.widl
@@ -0,0 +1,12 @@
+// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06
+// edited to remove sequence as attributes, now invalid
+interface Canvas {
+ void drawPolygon(sequence<float> coordinates);
+ sequence<float> getInflectionPoints();
+ // ...
+};
+
+// Make sure sequence can still be registered as a type.
+interface Foo {
+ sequence bar();
+}; \ No newline at end of file