diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2023-04-05 14:04:43 +0800 |
---|---|---|
committer | FranklinDM <mrmineshafter17@gmail.com> | 2023-04-07 22:08:20 +0800 |
commit | c2b9a9e0057964d9ec96933cc02a11c60b234698 (patch) | |
tree | c6761c7a0194dc134d479e9cc1c7cf03de8ca389 /dom/webidl | |
parent | 8e2788496d325b4b50b86d98125376b5dbdf7554 (diff) | |
download | uxp-c2b9a9e0057964d9ec96933cc02a11c60b234698.tar.gz |
Issue #252 - Move getElementsByName from HTMLDocument to Document
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1415176
Diffstat (limited to 'dom/webidl')
-rw-r--r-- | dom/webidl/Document.webidl | 3 | ||||
-rw-r--r-- | dom/webidl/HTMLDocument.webidl | 1 |
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] |