| OLD | NEW |
| 1 <!-- Starting on an extension URL, redirects through an app extent to an HTTP | 1 <!-- Starting on an extension URL, redirects through an app extent to an HTTP |
| 2 URL, causing two process switches. --> | 2 URL, causing two process switches. --> |
| 3 <script> | 3 <script src="c.js"></script> |
| 4 function navigate() { | |
| 5 var target = | |
| 6 "http://127.0.0.1:" + | |
| 7 location.search.substr(1) + | |
| 8 "/files/extensions/api_test/webnavigation/crossProcess/empty.html"; | |
| 9 location.href = | |
| 10 "http://www.a.com:" + | |
| 11 location.search.substr(1) + | |
| 12 "/server-redirect?" + target; | |
| 13 } | |
| 14 </script> | |
| 15 <body onload="setTimeout(navigate, 0)"></body> | |
| OLD | NEW |