function start() {
const Cc = SpecialPowers.Cc;
const Ci = SpecialPowers.Ci;
function testNotIntercepted() {
testFrame("sanitize/frame.html").then(function(body) {
is(body, "FAIL", "Expected frame to not be controlled");
// No need to unregister since that already happened.
navigator.serviceWorker.getRegistration("sanitize/foo").then(function(reg) {
ok(reg === undefined, "There should no longer be a valid registration");
}, function(e) {
ok(false, "getRegistration() should not error");
}).then(function(e) {
SimpleTest.finish();
});
});
}
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.