summaryrefslogtreecommitdiff
path: root/dom/webidl
diff options
context:
space:
mode:
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]