java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
def WebIDLTest(parser, harness):
parser.parse( """
interface SpecialMethods {
getter long long (unsigned long index);
setter undefined (unsigned long index, long long value);
getter boolean (DOMString name);
setter undefined (DOMString name, booleanjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 0
deleter undefined )
readonly attribute unsigned long length;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10 """
)
java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
def checkMethod(
method,
QName,
name,
static=False,
getter=False,
setter=False,
deleter=False,
legacycaller=False,
stringifier=False,
):
harness.ok(isinstance(method, WebIDL.IDLMethod), "Should be an IDLMethod")
harness.check(method.identifier.QName(), QName, "Method has the right QName")
harness.check(method.identifier.name, name, "Method has the right name")
harness.check(method.isStatic(), static, "Method has the correct static value")
harness.check(method.isGetter(), getter, "Method has the correct getter value")
harness.check(method.isSetter(), setter, "Method has the correct setter value")
harness.check(
method.isDeleter(), deleter, "Method has the correct deleter value"
)
harness.check(
method.isLegacycaller(),
legacycaller, "Method has the correct legacycaller value",
)
harness.check(
method.isStringifier(),
stringifier, "Method has the correct stringifier value",
)
harness.ok(threw, "There are no indexed deleters")
Messung V0.5 in Prozent
¤ 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.0.7Bemerkung:
¤
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.