1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 [JSImplementation="@mozilla.org/dom/engineering-mode-api;1",
6 NavigatorProperty="engineeringMode",
7 AvailableIn=CertifiedApps,
8 CheckPermissions="engineering-mode"]
9 interface EngineeringMode : EventTarget {
10 Promise<DOMString> getValue(DOMString name);
11 Promise<void> setValue(DOMString name, DOMString value);
12 attribute EventHandler onmessage;