embedding/test/test_private_window_from_content.html
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Tue, 01 Jul 2014 23:32:52 -0700
changeset 191884 91aa4b75c98ebb2db946c7da49357bc3ee9e8c36
parent 115563 988ef008a1d79117fbecf545dac830c8cc152daf
child 206783 324798b60ba39e6812e9c6fec7026fcdbc188baf
permissions -rw-r--r--
Bumping gaia.json for 2 gaia revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/92928ba989e2 Author: Albert <acperez@tid.es> Desc: Merge pull request #20489 from acperez/bug-1022433 Bug 1022433 - Browser's domain-not-found message is missing the domain name. ======== https://hg.mozilla.org/integration/gaia-central/rev/7cb15e556a4a Author: Albert <acperez@tid.es> Desc: Bug 1022433 - Browser's domain-not-found message is missing the domain name.

<!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.isWindowPrivate(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.isWindowPrivate(win));
  win.close();
</script>