2016-06-06 20:24:34 +03: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/. */
|
|
|
|
"use strict";
|
|
|
|
|
2017-06-07 21:28:00 +03:00
|
|
|
const {generateActorSpec, RetVal} = require("devtools/shared/protocol");
|
2016-06-06 20:24:34 +03:00
|
|
|
|
|
|
|
const frameSpec = generateActorSpec({
|
|
|
|
typeName: "frame",
|
|
|
|
|
2017-06-07 21:28:00 +03:00
|
|
|
methods: {
|
|
|
|
getEnvironment: {
|
|
|
|
response: RetVal("json")
|
|
|
|
}
|
|
|
|
},
|
2016-06-06 20:24:34 +03:00
|
|
|
});
|
|
|
|
|
|
|
|
exports.frameSpec = frameSpec;
|