Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / resources / submit-to-blank-multiple-times-form-action.html
blob33f09e7b1380b6fe684902a31a381a890a3062b3
1 <script>
2 if (opener) {
3 opener.log("PASS");
5 var result = {}, queryString = location.search.substring(1),
6 re = /([^&=]+)=([^&]*)/g, m;
7 while (m = re.exec(queryString)) {
8 result[decodeURIComponent(m[1])] = decodeURIComponent(m[2]);
10 if (result["nextOp"] == "click" && opener.click)
11 opener.click();
12 else if (result["nextOp"] == "space" && opener.pressSpace)
13 opener.pressSpace();
14 else if (result["nextOp"] == "notifyDone" && opener.notifyDone)
15 opener.notifyDone();
17 </script>