is(anonymousContent.root.getElementById("canvas-foo").getContext("foo"),
null, "Context is null for unknown context type");
const normalWebGL = document.createElement('canvas').getContext('webgl');
if (normalWebGL) {
let canvasWebGL = anonymousContent.root.getElementById("canvas-webgl");
let webgl = canvasWebGL.getContext("webgl");
is(webgl.toString(), "[object WebGLRenderingContext]", "WebGL Context is returned properly");
is(webgl.canvas, null, "WebGL context's canvas property is null in anonymous content");
}
chromeDocument.removeAnonymousContent(anonymousContent);
</script>
Messung V0.5
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
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.