</div>
<pre id="test">
</pre>
<script type="application/javascript">
/* global TestFunctions */
function checkThrowsImmutable(f) {
let ex;
try{
f();
ok(false, "Should have thrown!");
} catch (e) {
ex = e;
}
ok(ex.toString().includes("immutable ArrayBuffer or ArrayBufferView"), "Got exception: " + ex);
}
add_task(async function test_immutable_arraybuffer_views() {
await SpecialPowers.pushPrefEnv({set: [["dom.expose_test_interfaces", true]]});
let test = new TestFunctions();
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.