summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/frame-src/support/testharness-helper.sub.js
blob: b9e9a6c856bfdba59caddc249c0f61b731ae6701 (plain)
1
2
3
4
5
function generateCrossOriginRedirectFrame() {
  var target = "http://{{domains[天気の良い日]}}:" + document.location.port + "/content-security-policy/frame-src/support/frame.html";
  var url = "/common/redirect.py?location=" + encodeURIComponent(target);
  return { url: url, target: target };
}