2014-09-21 11:06:00 +04:00
|
|
|
/* 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/. */
|
|
|
|
|
|
|
|
[JSImplementation="@mozilla.org/dom/engineering-mode-api;1",
|
|
|
|
NavigatorProperty="engineeringMode",
|
|
|
|
AvailableIn=CertifiedApps,
|
2015-07-14 05:25:26 +03:00
|
|
|
CheckAnyPermissions="engineering-mode"]
|
2014-09-21 11:06:00 +04:00
|
|
|
interface EngineeringMode : EventTarget {
|
|
|
|
Promise<DOMString> getValue(DOMString name);
|
|
|
|
Promise<void> setValue(DOMString name, DOMString value);
|
|
|
|
attribute EventHandler onmessage;
|
|
|
|
};
|