summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/webidl2/test/syntax/idl/operation-optional-arg.widl
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/resources/webidl2/test/syntax/idl/operation-optional-arg.widl')
-rw-r--r--testing/web-platform/tests/resources/webidl2/test/syntax/idl/operation-optional-arg.widl4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resources/webidl2/test/syntax/idl/operation-optional-arg.widl b/testing/web-platform/tests/resources/webidl2/test/syntax/idl/operation-optional-arg.widl
new file mode 100644
index 000000000..379053b45
--- /dev/null
+++ b/testing/web-platform/tests/resources/webidl2/test/syntax/idl/operation-optional-arg.widl
@@ -0,0 +1,4 @@
+// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06
+interface ColorCreator {
+ object createColor(float v1, float v2, float v3, optional float alpha = 3.5);
+}; \ No newline at end of file