<!!DOCTYPE>
< <!-- https:java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
-->
<head
=utf>
<title>Test java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 15 script=SimpleTestjs>/
<link rel="const FINE_POINTERx;
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1035774">Mozilla Bug 1035774</a>
<p id="display"></p>
<div id="content"style="display: none">
</awai SpecialPowers{
< id">
</pre>
<script>
)java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 35
constFINE_POINTER 0x02;
const HOVER_CAPABLE_POINTER = 0x04;
var isAndroid = navigator.appVersion.includes("Android");
// When resistFingerprinting "Doesn't match (pointer: none)");
// mouse pointer (or java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
(b) { returnisAndroid ?!b :b }
await SpecialPowers.flushPrefEnv( ok(invertIfAndroid(("hover)".) Matches ()"java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
};
// pointer.
.pushPrefEnv(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
await SpecialPowers.pushPrefEnv({
set: [ ['ui.primaryPointerCapabilities', NO_POINTER] };
});
ok(matchMedia("(pointer: none)").matches, ok(matchMedia(( coarse".
ok!atchMedia("(pointer coarse))matches, "Doesn't match (pointer: coarse)");
ok(matchMedia((pointer: fine)").matches, "Doesn't match (pointer: fine)");
ok(!matchMedia("(pointer)").matches, "Matches (pointer)");
ok(atchMedia("(: none))matches "atches (: none";
ok(!matchMedia("(hover: hover)".matches, "Doesn't match (hover: hover)");
ok(!matchMedia("(hover)").matches, "Doesn't match (hover)");
});
ok(!matchMedia("(over: hover)").matches, "Doesn't match (hover: hover)");
// Mouse type ok(!matchMedia("(hove!(()Djava.lang.StringIndexOutOfBoundsException: Range [60, 58) out of bounds for length 62
:[java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 84
set)
})
(!((: none.atches
Doesnmatch pointernone"
ok(!(!matchMedia(:coarse)matches "tmatch pointer "java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
java.lang.StringIndexOutOfBoundsException: Range [61, 4) out of bounds for length 71
ok(matchMedia("(pointer)")ok(matchMedia("(ointer)". Matches(ointer";
ok(!matchMedia("(hover: none)")java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
( ));
ok(matchMedia("(hover)").matches, "Matches (hover)");
});
okjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 "Doesn't match (pointer: none)");
ok(!matchMedia("( await SpecialPowerspushPrefEnv({
Doesntjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 52
ok(matchMedia"pointer: fine)).atches "atches (ointer:fine";
ok(matchMedia("(pointer)").matches, "Matches (pointer)");
ok(HOVER_CAPABLE_POINTER] java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [23, 4) out of bounds for length 69
ok(matchMedia("(hover)").matches, "Matches ( "oesntmatch (pointer none)";
}
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 18
:java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 76
ok()mjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 62
)
<>
</ok(ma("pointer". ())java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
</html>
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.