mirror of
https://github.com/servo/servo
synced 2026-04-27 01:55:03 +02:00
* MallocSizeOf for Index{Set, Map}
* like as iterable in WebIDL
* Codegen magic for like interfaces
* TestBinding for like
* Test for Setlike and Maplike test bindings
* Some fixes
* Switch to any.js
* nit
* Keep order
21 lines
663 B
Plaintext
21 lines
663 B
Plaintext
/* 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 https://mozilla.org/MPL/2.0/. */
|
|
|
|
// This interface is entirely internal to Servo, and should not be accessible to
|
|
// web pages.
|
|
|
|
[Pref="dom.testbinding.enabled", Exposed=(Window,Worker)]
|
|
interface TestBindingMaplike {
|
|
[Throws]
|
|
constructor();
|
|
|
|
maplike<DOMString, long>;
|
|
undefined setInternal(DOMString aKey, long aValue);
|
|
undefined clearInternal();
|
|
boolean deleteInternal(DOMString aKey);
|
|
boolean hasInternal(DOMString aKey);
|
|
[Throws]
|
|
long getInternal(DOMString aKey);
|
|
};
|