var p = new Promise(function(res, rej) { iframe.onload = function(e) {
dump("Set request mode\n");
registration.active.postMessage("synthetic");
xmlString = getXmlString(iframe.contentDocument);
ok(!xmlString.includes("Error"), "Load synthetic cross origin XSLT should be allowed");
res();
};
});
return p;
}
function cors() { var p = new Promise(function(res, rej) { iframe.onload = function(e) {
xmlString = getXmlString(iframe.contentDocument);
ok(!xmlString.includes("Error"), "Load CORS cross origin XSLT should be allowed");
res();
};
});
function opaque() { var p = new Promise(function(res, rej) { iframe.onload = function(e) {
xmlString = getXmlString(iframe.contentDocument);
ok(xmlString.includes("Error"), "Load opaque cross origin XSLT should not be allowed");
res();
};
});
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.