diff options
Diffstat (limited to 'dom/webidl/WorkerTestUtils.webidl')
-rw-r--r-- | dom/webidl/WorkerTestUtils.webidl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/webidl/WorkerTestUtils.webidl b/dom/webidl/WorkerTestUtils.webidl new file mode 100644 index 0000000000..9c1ae31926 --- /dev/null +++ b/dom/webidl/WorkerTestUtils.webidl @@ -0,0 +1,9 @@ +/* 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/. */ + +[Exposed=Worker, Pref="dom.workers.testing.enabled"] +namespace WorkerTestUtils { + [Throws] + unsigned long currentTimerNestingLevel(); +}; |