Chromium Code Reviews| Index: chrome/test/data/extensions/api_test/webnavigation/crossProcess/d.js |
| diff --git a/chrome/test/data/extensions/api_test/webnavigation/crossProcess/d.js b/chrome/test/data/extensions/api_test/webnavigation/crossProcess/d.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e4651c636b6d540a9b2f0b772a601c2a8ad0c422 |
| --- /dev/null |
| +++ b/chrome/test/data/extensions/api_test/webnavigation/crossProcess/d.js |
| @@ -0,0 +1,13 @@ |
| +var target = |
| + location.origin + location.pathname.replace("d.html", "empty.html"); |
| + |
| +onload = function() { |
| + setTimeout(function() { |
| + location.href = |
| + "http://127.0.0.1:" + location.search.substr(1) + "/test1"; |
| + }, 0); |
| +}; |
| + |
| +function navigate2() { |
| + location.href = target; |
| +} |