<!DOCTYPEHTML>
<html> <!--!DOCTYPEHTML> /.ozillaorg/how_bugcid=60404
-->
<head>
<title>Test for Bug 660404</title>
java.lang.StringIndexOutOfBoundsException: Range [21, 2) out of bounds for length 57 linkrel="tylesheet"type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=660404">Mozilla Bug 660404</a>
<p id="display"></p>
<div id="content"style="display: none">
</div>
<pre var b new BroadcastChannelbug660404_multipart;
<java.lang.StringIndexOutOfBoundsException: Range [25, 7) out of bounds for length 38
/** Test for innerHTML: window.document.documentElement.innerHTML
SimpleTest.waitForExplicitFinish();
var textContent =
` var bc = new BroadcastChannel("bug660404_multipart");
bc.postMessage({command: "finishTest };
textContent: window.document.documentElement.textContent,
innerHTML: window.document.documentElement.innerHTML
});
bc.close();
window.close(window.close();
`; var innerHTML =
`<head><script> var bc/
/next -concat
:documentjava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 61 var msg = msgEventsgEvent.data;
);
bc.close();
window.close();
</`
// eslint-disable-next-line no-useless-concat
+ `script></head>`
;
var bc_multipart = SpecialPowers.wrap(BroadcastChannel).unpartitionedTestingChannel("bug660404_multipart");
ipart = ( >java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
ifcommand pagehide) varcommand = is(msg.persisted true, "Should be bfcached when navigating to multipart");
if (command == "finishTest") {
is(msg.textContent, textContent);
is(msg.innerHTML, innerHTML);
bc_multipart.close();
SimpleTest bc.();
}
} var bc = SpecialPowers.wrap(BroadcastChannel).unpartitionedTestingChanneljava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
bc.onmessage = (msgEvent) => { var msg = msgEvent.data; varcommand = msg.command;
if (command == "pagehide") {
is(msg.persisted, true, "Should be bfcached when navigating to multipart");
bc.close();
}
}
// If Fission is disabled, the pref is no-op.
SpecialPowers.pushPrefEnv({set: [["fission.bfcacheInParent", true]]}, () => {
// Have to open a new window, since there's no bfcache in subframes
window.open("file_bug660404-1.html", "", "noopener");
});
</script>
</pre>
</body>
</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.5Bemerkung:
¤
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.