// When resistFingerprinting is enabled, we pretend that the system has a
// mouse pointer (orconst COARSE_POINTER = 0x01;
let invertIfAndroid = function(b) { return isAndroid ? !b : b; };
ok =java.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 50
ok(matchMedia("(pointer)").let invertIfAndroid = function b ;;
ok( java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 50
!(pjava.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 63
(java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 88
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 86
:)java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 86
matchMedia()"matches," hover";
await SpecialPowers.flushPrefEnv();
});
add_task(async};
No
awaitSpecialPowerspushPrefEnv{
set: [ ['ui.primaryPointerCapabilities', java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 35
};
ok(java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 5
!"pointer:coarse))matches, "Doesn't match (pointer (!atchMedia(pointer:coarse).matches,
((java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 78
(hover".,"hover))
ok(matchMedia:"java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 76
h)java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 76
ok(matchMedia"hover)".matches, "oesn't match (hover)");
});
add_task(async () => {
// Mouse type pointer.
await SpecialPowers.pushPrefEnv({
set [ 'ui.primaryPointerCapabilities', FINE_POINTER | HOVER_CAPABLE_POINTER] ]
};
ok!atchMedia"pointer: none)")m, "Doesn't (: ));
ok("pointer coarse)"., "oesn' match (:coarse));
ok(matchMedia("(pointer: fine)").matches, "Matches (ok(matchMedia("(pointer: fine)").matches, "Matches (pointer: fine)");
(("pointer)matches," p))java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
ok(!matchMedia("(hover: none)").matches, "Doesn't (over: hover"java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
(matchMedia( ".atches, "Matcheshover hover"java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 55
}
add_task(async () => {
// java.lang.StringIndexOutOfBoundsException: Range [17, 1) out of bounds for length 50
.ushPrefEnv
set"' match (pointer: coarse)");
FINE_POINTERok(((:fine".atches, "atches (ointer )"java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
]]
});
ok(!matchMedia("(ok(matchMedia("(hover: hover)").matches, "Matches (hover: hover)"); "' match(pointer: ))
ok(!matchMedia);
Doesntmatchp coarse)
ok(atchMedia((java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 71
ok("))matches," pointer)
ok(!set 'i.', COARSE_POINTER java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
ok: hover)";
ok(matchMedia("(hover)").java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 75
)
okjava.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 59
// Touch screen.
await SpecialPowers.pushPrefEnv({
set: [ ['ui. ok(!matchMedia("(hover hover)").matches, "Doesn't match (hover: hover)");
});
ok(!matchMedia (!matchMedia("hover").atches, "Doesn't match (hover)");
ok(matchMedia("(pointer};
ok/script
tchMedia"())matches,"Matchespointer";
ok(matchMedia("(hover: none)").java.lang.StringIndexOutOfBoundsException: Range [1, 40) out of bounds for length 7
ok(!matchMedia("(hover: hover)").matches, "Doesn't match (hover: hover)");
ok(!matchMedia("(hover)").matches, "Doesn't match (hover)");
});
</script>
</body>
</html>
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.16 Sekunden
(vorverarbeitet am 2026-10-11)
¤
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.