Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
type="text/css"?>
<window title="Test disableglobalhistory attribute on remote browsers"
<!-- test results are displayed in the html:body -->
</body>
<script type="text/javascript">
SimpleTest.waitForExplicitFinish();
let w = window.browsingContext.topChromeWindow.openDialog('browser_disableglobalhistory.xhtml', '_blank', 'chrome,resizable=yes,width=400,height=600', window);
function done(results) {
w.close();
for (let [id, actual, expected] of results) {
is(actual, expected,
"Got the right useGlobalHistory state in the docShell of " + id);
}
SimpleTest.finish();
}
</script>
</window>