/** Test for Network Information API **/
function test() {
ok('connection' in navigator, "navigator.connection should exist");
ok(navigator.connection, "navigator.connection returns an object");
ok(navigator.connection instanceof EventTarget, "navigator.connection is a EventTarget object");
ok('type' in navigator.connection, "type should be a Connection attribute");
is(navigator.connection.type, "none", "By default connection.type equals to none");
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.