/* 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";
Services.scriptloader.loadSubScript( "chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js", this
);
function checkObject(object, expected, message) { if (object && object.getGrip) {
object = object.getGrip();
}
for (const name of Object.keys(expected)) { const expectedValue = expected[name]; const value = object[name];
checkValue(name, value, expectedValue, message);
}
}
function checkValue(name, value, expected, message) { if (message) {
message = ` for'${message}'`;
}
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.