mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 801576 - Fix sandbox test. r=mrbkap
This commit is contained in:
parent
32af1d27d9
commit
24bb12ef77
@ -25,7 +25,8 @@ function ok_wrapper(result, msg) {
|
||||
function doIf11TestPart2() {
|
||||
var if_11 = document.getElementById('if_11');
|
||||
if_11.sandbox = 'allow-scripts allow-same-origin';
|
||||
if_11.contentWindow.history.back();
|
||||
// window.history is no longer cross-origin accessible in gecko.
|
||||
SpecialPowers.wrap(if_11).contentWindow.history.back();
|
||||
}
|
||||
</script>
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user