Chromium Code Reviews| Index: chrome/test/data/extensions/api_test/webrequest/requestBody/submit.js |
| diff --git a/chrome/test/data/extensions/api_test/webrequest/requestBody/submit.js b/chrome/test/data/extensions/api_test/webrequest/requestBody/submit.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..194fd151cea4991edd0c51ee1c1991908c3564c2 |
| --- /dev/null |
| +++ b/chrome/test/data/extensions/api_test/webrequest/requestBody/submit.js |
| @@ -0,0 +1,8 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +function submitForm() { |
| + document.forms[0].submit(); |
| +} |
| +window.onload = submitForm; |