summaryrefslogtreecommitdiff
path: root/dom/webidl
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-04-07 15:41:23 +0000
committerMoonchild <moonchild@palemoon.org>2023-04-07 15:41:23 +0000
commitc01fd8ec19ea7f170cf56241ce2ee803f4e2adc2 (patch)
tree37dd4f5cb66a8c652537088c6df61f34786c9f09 /dom/webidl
parenta9c9fc184a5bfcce2665405a215724a4440980f2 (diff)
parente35a3f19c72904bd555906202bd0d2c86544dfd5 (diff)
downloaduxp-c01fd8ec19ea7f170cf56241ce2ee803f4e2adc2.tar.gz
Merge pull request 'Move getElementsByName from HTMLDocument to nsIDocument' (#2201) from FranklinDM/UXP-contrib:work_dom-move-getelementsbyname-to-document into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2201
Diffstat (limited to 'dom/webidl')
-rw-r--r--dom/webidl/Document.webidl3
-rw-r--r--dom/webidl/HTMLDocument.webidl1
2 files changed, 2 insertions, 2 deletions
diff --git a/dom/webidl/Document.webidl b/dom/webidl/Document.webidl
index 4cd1c0c269..e5b9f14996 100644
--- a/dom/webidl/Document.webidl
+++ b/dom/webidl/Document.webidl
@@ -123,7 +123,8 @@ partial interface Document {
//(HTML only)readonly attribute HTMLCollection links;
//(HTML only)readonly attribute HTMLCollection forms;
//(HTML only)readonly attribute HTMLCollection scripts;
- //(HTML only)NodeList getElementsByName(DOMString elementName);
+ [Pure]
+ NodeList getElementsByName(DOMString elementName);
//(Not implemented)readonly attribute DOMElementMap cssElementMap;
// dynamic markup insertion
diff --git a/dom/webidl/HTMLDocument.webidl b/dom/webidl/HTMLDocument.webidl
index ffa38d97d0..159edf7957 100644
--- a/dom/webidl/HTMLDocument.webidl
+++ b/dom/webidl/HTMLDocument.webidl
@@ -29,7 +29,6 @@ interface HTMLDocument : Document {
readonly attribute HTMLCollection forms;
[Pure]
readonly attribute HTMLCollection scripts;
- NodeList getElementsByName(DOMString elementName);
// dynamic markup insertion
[CEReactions, Throws]