forked from mirrors/gecko-dev
<!-- Please describe your changes on the following line: --> Fix exposure of DOM interfaces. Only two of the interfaces needed changing and I want someone to double check on `DOMException` (which I left exposed to both `Window` and `Worker`), but I used Firefox's definition as my source since the specs don't lay it out explicitly. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix (partially) #12415 (github issue number if applicable). <!-- Either: --> - [X] These changes do not require tests because they only remove code. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: a1306e1dd3918917221a17b651e1de11ca95d224
12 lines
453 B
Text
12 lines
453 B
Text
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
// https://html.spec.whatwg.org/multipage/#the-domstringmap-interface
|
|
[OverrideBuiltins]
|
|
interface DOMStringMap {
|
|
getter DOMString (DOMString name);
|
|
[Throws]
|
|
setter void (DOMString name, DOMString value);
|
|
deleter void (DOMString name);
|
|
};
|