/* 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/. */ /* eslint-env browser */ "use strict"; const { Task } = require("resource://gre/modules/Task.jsm"); const DevToolsUtils = require("devtools/shared/DevToolsUtils"); const { getToplevelWindow } = require("sdk/window/utils"); const { DOM: dom, createClass, addons, PropTypes } = require("devtools/client/shared/vendor/react"); const Types = require("../types"); const { waitForMessage } = require("../utils/e10s"); module.exports = createClass({ displayName: "Browser", mixins: [ addons.PureRenderMixin ], /** * This component is not allowed to depend directly on frequently changing * data (width, height) due to the use of `dangerouslySetInnerHTML` below. * Any changes in props will cause the ` } } ); }, });