diff options
Diffstat (limited to 'chrome/test/data/extensions/api_test/webnavigation/openTab')
-rw-r--r-- | chrome/test/data/extensions/api_test/webnavigation/openTab/a.html | 2 | ||||
-rw-r--r-- | chrome/test/data/extensions/api_test/webnavigation/openTab/a.js | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/chrome/test/data/extensions/api_test/webnavigation/openTab/a.html b/chrome/test/data/extensions/api_test/webnavigation/openTab/a.html index f318e9c..ed52c3d 100644 --- a/chrome/test/data/extensions/api_test/webnavigation/openTab/a.html +++ b/chrome/test/data/extensions/api_test/webnavigation/openTab/a.html @@ -1 +1 @@ -<body onload='window.open("b.html")'></body> +<script src="a.js"></script> diff --git a/chrome/test/data/extensions/api_test/webnavigation/openTab/a.js b/chrome/test/data/extensions/api_test/webnavigation/openTab/a.js new file mode 100644 index 0000000..1682ad4 --- /dev/null +++ b/chrome/test/data/extensions/api_test/webnavigation/openTab/a.js @@ -0,0 +1,7 @@ +// 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. + +onload = function() { + window.open('b.html'); +} |