Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / devtools / client / fronts / frame.js
blob525f0d117067ad55c5850d28cba520fe117138e1
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 { frameSpec } = require("resource://devtools/shared/specs/frame.js");
8 const {
9 FrontClassWithSpec,
10 registerFront,
11 } = require("resource://devtools/shared/protocol.js");
13 class FrameFront extends FrontClassWithSpec(frameSpec) {
14 form(json) {
15 this.displayName = json.displayName;
16 this.arguments = json.arguments;
17 this.type = json.type;
18 this.where = json.where;
19 this.this = json.this;
20 this.data = json;
21 this.asyncCause = json.asyncCause;
22 this.state = json.state;
26 module.exports = FrameFront;
27 registerFront(FrameFront);