summaryrefslogtreecommitdiffstats
path: root/test/wpt/tests/interfaces/compression.idl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/wpt/tests/interfaces/compression.idl22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/wpt/tests/interfaces/compression.idl b/test/wpt/tests/interfaces/compression.idl
new file mode 100644
index 0000000..7525d7c
--- /dev/null
+++ b/test/wpt/tests/interfaces/compression.idl
@@ -0,0 +1,22 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into webref
+// (https://github.com/w3c/webref)
+// Source: Compression Streams (https://wicg.github.io/compression/)
+
+enum CompressionFormat {
+ "deflate",
+ "deflate-raw",
+ "gzip",
+};
+
+[Exposed=*]
+interface CompressionStream {
+ constructor(CompressionFormat format);
+};
+CompressionStream includes GenericTransformStream;
+
+[Exposed=*]
+interface DecompressionStream {
+ constructor(CompressionFormat format);
+};
+DecompressionStream includes GenericTransformStream;