diff options
author | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 00:19:32 +0000 |
---|---|---|
committer | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 00:19:32 +0000 |
commit | c158a6699a9f5e5f56d913c0b06e0d83e8358591 (patch) | |
tree | 727e3eb0a5aac10658e35d2e389b057faed103bf /chrome/test/data/dom_automation/events | |
parent | c7eca5b2c6f9a527d18d00486d2d7cd7dca9c7b1 (diff) | |
download | chromium_src-c158a6699a9f5e5f56d913c0b06e0d83e8358591.zip chromium_src-c158a6699a9f5e5f56d913c0b06e0d83e8358591.tar.gz chromium_src-c158a6699a9f5e5f56d913c0b06e0d83e8358591.tar.bz2 |
Add support for DOM interaction in browser tests via C++.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/660046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41789 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/dom_automation/events')
-rw-r--r-- | chrome/test/data/dom_automation/events/test.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/chrome/test/data/dom_automation/events/test.html b/chrome/test/data/dom_automation/events/test.html new file mode 100644 index 0000000..328dad2 --- /dev/null +++ b/chrome/test/data/dom_automation/events/test.html @@ -0,0 +1,18 @@ +<html> +<script> +function renameLink() { + document.links[0].innerHTML = "clicked"; +} +function changeTextfield() { + document.getElementById("textfield").value = "clicked"; +} +</script> +<body> +<a href="javascript:renameLink();">link</a> +<textarea>textarea</textarea> +<form action=""> + <input id="textfield" type='text' value='textfield'></input> + <input id="button" type='button' value='button' onclick="changeTextfield()"></input> +</form> +</body> +</html> |