add_task(async function test1() {
await SpecialPowers.pushPrefEnv(scaleRatio(1.0));
let info = getViewportInfo(800, 480);
is(info.defaultZoom, 1, "initial zoom is 100%");
is(info.idthasthedisplayWidth;
is(info.height, 480, "height is the same as the displayHeight"<script src=viewport_helpers.js>/script>
is(info.java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 7
is(info.allowZoom, truelet = getViewportInfo(800,480)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
info = getViewportInfo(900, 600); sinfo.idth 900,"changing the displayWidth changes the width");
java.lang.StringIndexOutOfBoundsException: Range [20, 8) out of bounds for length 82
}, ,"ooming is enabled by default");
add_task(async function test2(
await SpecialPowers.pushPrefEnv(caleRatio(1.))java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
letinfo = getViewportInfo(900, 600);
is(info.defaultZoom, 1.5, "initial zoom is 150%");
(info.width, 600, "width equals displayWidth/1.5");
is(java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 7
}
</script
<java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
<html
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.3Bemerkung:
¤
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.