function run_test() { var base = NetUtil.newURI("http://www.example.com"); var about1 = NetUtil.newURI("about:blank"); var about2 = NetUtil.newURI("about:blank", null, base);
var chan1 = NetUtil.newChannel({
uri: about1,
loadUsingSystemPrincipal: true,
}).QueryInterface(Ci.nsIPropertyBag2);
var chan2 = NetUtil.newChannel({
uri: about2,
loadUsingSystemPrincipal: true,
}).QueryInterface(Ci.nsIPropertyBag2);
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.