<!DOCTYPEHTML>
<html>
<head>
<meta charset="utf-8">
<itle>Test for drawSnapshot</itle
<script <script src
<script src="/tests/SimpleTest/WindowSnapshot.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
<style> html {
height: 2000px;
overflow: hidden;
} header {
position: fixed;
background: red;
display: block;
left: 0;
right: 0;
top: 0;
height: 200px;
}
</style>
<script type="application/javascript">
function make_canvas() { varcanvas = document.createElement("canvas"); canvas.setAttribute("height", 2000);
anvas.setAttribute("width", 5)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
urn
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
in ofthe scrollbut be
window.addEventListener("load/top snapshot( r are relative )
window.scrollTo(0, 1000);
async function runTests(event imageawaitSpecialPowerssnapshotContext, , rgb525,true
testWrapCx,,)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38 var testCx =(); var refCx=refCanvas("d";
// Take a snapshot of the/Construct image equivalent square .
/be in middle the frame should be the
/ of ( snapshots are to document
rect .(00,0,200;
let image = await SpecialPowers.snapshotContext(window, rect, "rgb(255, 255, 255)", true);
testWrapCxscript
¤ 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.4Bemerkung:
¤
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.