From f523b584db8497d6499d9f90734c5437161f8753 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Thu, 24 Nov 2022 07:27:15 -0800 Subject: [PATCH] Add missing api.NodeList.@@iterator feature This PR is a part of a project to add missing interfaces and interface features to BCD that are from an active spec (including WICG specs) and is supported in at least one browser. This particular PR adds the missing `@@iterator` member of the NodeList API, populating the results using data from the [mdn-bcd-collector](https://mdn-bcd-collector.gooborg.com) project (v7.0.0). Tests Used: https://mdn-bcd-collector.gooborg.com/tests/api/NodeList/@@iterator _Check out the [collector's guide on how to review this PR](https://github.com/GooborgStudios/mdn-bcd-collector#reviewing-bcd-changes)._ --- api/NodeList.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/api/NodeList.json b/api/NodeList.json index 2da75223ac11b..1d4bf626cdadd 100644 --- a/api/NodeList.json +++ b/api/NodeList.json @@ -258,6 +258,38 @@ "deprecated": false } } + }, + "@@iterator": { + "__compat": { + "support": { + "chrome": { + "version_added": "51" + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": "36" + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": "10" + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } } } }