OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 onload = function() { | 5 onload = function() { |
6 setTimeout(function() { | 6 setTimeout(function() { |
7 var target = | 7 var target = |
8 "http://127.0.0.1:" + | 8 "http://127.0.0.1:" + |
9 location.search.substr(1) + | 9 location.search.substr(1) + |
10 "/files/extensions/api_test/webnavigation/crossProcess/empty.html"; | 10 "/extensions/api_test/webnavigation/crossProcess/empty.html"; |
11 location.href = | 11 location.href = |
12 "http://www.a.com:" + | 12 "http://www.a.com:" + |
13 location.search.substr(1) + | 13 location.search.substr(1) + |
14 "/server-redirect?" + target; | 14 "/server-redirect?" + target; |
15 }, 0); | 15 }, 0); |
16 }; | 16 }; |
OLD | NEW |