</div>
<pre id="test">
<script type="application/javascript">
/** Test for Bug 455629 **/
SimpleTest.waitForExplicitFinish();
var done = 0;
function doTest(name) { var elem = $(name); var doc = elem.getSVGDocument();
try {
doc.foopy = 42;
fail("Able to set cross origin property!");
} catch (e) {
ok(true, "unable to set non-allAccess property cross origin");
}
if (elem instanceof HTMLObjectElement) {
doc = elem.contentDocument;
try {
doc.foopy = 42;
fail("Able to set cross origin property!");
} catch (e) {
ok(true, "unable to set non-allAccess property cross origin");
}
}
if (++done == 2) {
SimpleTest.finish();
}
}
</script>
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.