summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/webidl2/test/syntax/json/extended-attributes.json
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/resources/webidl2/test/syntax/json/extended-attributes.json')
-rw-r--r--testing/web-platform/tests/resources/webidl2/test/syntax/json/extended-attributes.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resources/webidl2/test/syntax/json/extended-attributes.json b/testing/web-platform/tests/resources/webidl2/test/syntax/json/extended-attributes.json
new file mode 100644
index 000000000..228c4b824
--- /dev/null
+++ b/testing/web-platform/tests/resources/webidl2/test/syntax/json/extended-attributes.json
@@ -0,0 +1,30 @@
+[
+ {
+ "type": "interface",
+ "name": "ServiceWorkerGlobalScope",
+ "partial": false,
+ "members": [],
+ "inheritance": "WorkerGlobalScope",
+ "extAttrs": [
+ {
+ "name": "Global",
+ "arguments": null,
+ "rhs": {
+ "type": "identifier-list",
+ "value": [
+ "Worker",
+ "ServiceWorker"
+ ]
+ }
+ },
+ {
+ "name": "Exposed",
+ "arguments": null,
+ "rhs": {
+ "type": "identifier",
+ "value": "ServiceWorker"
+ }
+ }
+ ]
+ }
+] \ No newline at end of file