/* 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/. */
/** * An actor that returns memory usage data for its parent actor's window. * A target-scoped instance of this actor will measure the memory footprint of * the target, such as a tab. A global-scoped instance however, will measure the memory * footprint of the chrome window referenced by the root actor. * * This actor wraps the Memory module at devtools/server/performance/memory.js * and provides RDP definitions. * * @see devtools/server/performance/memory.js for documentation.
*/
exports.MemoryActor = class MemoryActor extends Actor {
constructor(conn, parent, frameCache = new StackFrameCache()) { super(conn, memorySpec);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.