<script> varbody = document.getElementsByTagName('body')[0]; var createIframe = function (src, done) { variframe = document.createElement('iframe'); iframe.src = src; body.appendChild(iframe); iframe.onload = function () {
done(iframe);
};
};
async_test(function (t) { variframe; var verify = t.step_func(function () {
assert_true(
!!iframe.contentWindow.isCookieSet('cookies-path-default'), 'cookie can be retrieved from expected path'
); iframe.contentWindow.expireCookies().then(t.step_func(function () {
assert_false(
!!iframe.contentWindow.isCookieSet('cookies-path-default'), 'cookie can be referenced using the expected path'
);
t.done();
}));
});
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.