mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 14:20:14 +02:00
Depends on D15081 Differential Revision: https://phabricator.services.mozilla.com/D15399 --HG-- rename : devtools/client/shared/multi-e10s-helper.js => devtools/shared/multi-e10s-helper.js extra : moz-landing-system : lando
23 lines
696 B
JavaScript
23 lines
696 B
JavaScript
/* 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/. */
|
|
"use strict";
|
|
|
|
const { Arg, RetVal, generateActorSpec } = require("devtools/shared/protocol");
|
|
const deviceSpec = generateActorSpec({
|
|
typeName: "device",
|
|
|
|
events: {
|
|
"multi-e10s-updated": {
|
|
type: "multi-e10s-updated",
|
|
isMultiE10s: Arg(0, "boolean"),
|
|
},
|
|
},
|
|
|
|
methods: {
|
|
getDescription: {request: {}, response: { value: RetVal("json")}},
|
|
screenshotToDataURL: {request: {}, response: { value: RetVal("longstring")}},
|
|
},
|
|
});
|
|
|
|
exports.deviceSpec = deviceSpec;
|