Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <script> | |
| 2 var xhr = new XMLHttpRequest(); | |
| 3 xhr.onerror = function() | |
| 4 { | |
| 5 window.opener.postMessage('done', '*'); | |
|
Mike West
2015/07/27 09:09:32
Can you add a success handler which postMessages s
tyoshino (SeeGerritForStatus)
2015/07/27 09:20:01
Added!
| |
| 6 }; | |
| 7 xhr.open("POST", "http://127.0.0.1:8000/xmlhttprequest/resources/access-control- allow-lists.php?origin=*", true); | |
| 8 xhr.send("foo"); | |
| 9 </script> | |
| OLD | NEW |