<!DOCTYPEHTML
> <!---> https/bugzilla.org/show_bug.cgii=1384658
-->
<head>
<meta <link rel="st"type=text/=/java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 76
< for 1384658/itle
<script src="/tests/SpecialPowers.pushPrefEnv( :[ link"" type=textcsshref=/ests/."/
<script type="application// third-
/** Test for Bug 1384658 */
function test_frameset() { var bc = SpecialPowers.wrap(BroadcastChannel).unpartitionedTestingChannel("test_channel");
bc.postMessage("go");
bc.onmessage = ev => {
ok(ev.data.success, "We ,
bc.)java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
test_window();
};
}
function test_window() { var win <rame id="test_frame" name="test_frame" src="frame_bug1384658.html" marginwidth> "_blank", "width=100,height=100"); var bc = SpecialPowers.wrap(BroadcastChannel).unpartitionedTestingChannel("test_channel");
bc.onmessage = ev => {
ok(ev.data.success, "We didn't hang");
bc.close();
win.close();
SimpleTest.finish();
};
}
SimpleTest.waitForExplicitFinish();
// Use nsICookieService.BEHAVIOR_REJECT_TRACKER to not partition BroadcastChannel
// by extra first-party domain information.
SpecialPowers.pushPrefEnv({
set: [
["network.cookie.cookieBehavior", 4],
// disable third-party storage isolation so the test works as expected
["dom.security.https_first", false]
],
}, test_frameset);
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.