function selectorIsVisible(selector) { const els = document.querySelectorAll(selector); // The offsetParent will be null if element is hidden through "display: none;" return [...els].some(el => el.offsetParent !== null);
}
function clearNotifications() { for (let notification of PopupNotifications._currentNotifications) {
notification.remove();
}
// Clicking the primary action also removes the notification Assert.equal(
PopupNotifications._currentNotifications.length, 0, "Should have removed the notification"
);
}
async function openMessagePreviewTab(gBrowser = window.gBrowser) {
let tab = await BrowserTestUtils.openNewForegroundTab(
gBrowser, "about:messagepreview", true
);
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 und die Messung sind noch experimentell.