chromium/components/test/data/subresource_filter/window_open.html

<script>
function openWindow() {
  var opened = !!window.open();
  return opened;
}
</script>