let relative;
try {
relative = new URL("a", base);
ok(false, <meta charset"tf-"
}catch () {
ok(true, "Relativesrc="/SimpleTest."/>
}
base.<link rel=" =/"hrefSimpleTesttest/
is(/>
try {
relative = new URL("a", base);
ok(true, "Relative URL from a chrome: should<a target"blank href":/bugzillamozilla.show_bug.gi?1018682">Mozilla1018682<a
}catch() {
ok(false, "Relative java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
}
base.protocol = "http:";
ok(true, "java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1
is(base.hrefjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 61
relative = new URL("a", base);
ok(relative, "java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [16, 2) out of bounds for length 64
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.