mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
12 lines
533 B
HTML
12 lines
533 B
HTML
<!DOCTYPE html>
|
|
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<script>
|
|
// Make sure that we cannot open private browsing windows from unprivileged content
|
|
var win = window.open("about:blank", "_blank", "private");
|
|
ok(!SpecialPowers.isContentWindowPrivate(win));
|
|
win.close();
|
|
// Also, make sure that passing non-private doesn't make any difference either
|
|
win = window.open("about:blank", "_blank", "non-private");
|
|
ok(!SpecialPowers.isContentWindowPrivate(win));
|
|
win.close();
|
|
</script>
|