Backed out 2 changesets (bug 1943998) for causing wd failures @ phases.py CLOSED...
[gecko.git] / devtools / client / fronts / device.js
blob47f57c30b85333acdeddc83c02438b4d8dda617f
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
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 "use strict";
7 const { deviceSpec } = require("resource://devtools/shared/specs/device.js");
8 const {
9 FrontClassWithSpec,
10 registerFront,
11 } = require("resource://devtools/shared/protocol.js");
13 class DeviceFront extends FrontClassWithSpec(deviceSpec) {
14 constructor(client, targetFront, parentFront) {
15 super(client, targetFront, parentFront);
17 // Attribute name from which to retrieve the actorID out of the target actor's form
18 this.formAttributeName = "deviceActor";
22 exports.DeviceFront = DeviceFront;
23 registerFront(DeviceFront);