aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/domstringmap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/domstringmap.rs')
-rw-r--r--components/script/dom/domstringmap.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/script/dom/domstringmap.rs b/components/script/dom/domstringmap.rs
index 771ee21a35c..11068b99259 100644
--- a/components/script/dom/domstringmap.rs
+++ b/components/script/dom/domstringmap.rs
@@ -35,11 +35,6 @@ impl DOMStringMap {
// https://html.spec.whatwg.org/#domstringmap
impl DOMStringMapMethods for DOMStringMap {
- // https://html.spec.whatwg.org/multipage/#dom-domstringmap-additem
- fn NamedCreator(&self, name: DOMString, value: DOMString) -> ErrorResult {
- self.NamedSetter(name, value)
- }
-
// https://html.spec.whatwg.org/multipage/#dom-domstringmap-removeitem
fn NamedDeleter(&self, name: DOMString) {
let element = self.element.root();