From c158a6699a9f5e5f56d913c0b06e0d83e8358591 Mon Sep 17 00:00:00 2001 From: "kkania@chromium.org" Date: Wed, 17 Mar 2010 00:19:32 +0000 Subject: 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 --- chrome/test/data/dom_automation/events/test.html | 18 +++++++++++ .../data/dom_automation/find_elements/test.html | 35 ++++++++++++++++++++++ chrome/test/data/dom_automation/frames/frame1.html | 6 ++++ chrome/test/data/dom_automation/frames/frame2.html | 6 ++++ .../test/data/dom_automation/frames/iframe1.html | 5 ++++ .../test/data/dom_automation/frames/iframe2.html | 5 ++++ chrome/test/data/dom_automation/frames/test.html | 12 ++++++++ .../data/dom_automation/string_escape/test.html | 3 ++ 8 files changed, 90 insertions(+) create mode 100644 chrome/test/data/dom_automation/events/test.html create mode 100644 chrome/test/data/dom_automation/find_elements/test.html create mode 100644 chrome/test/data/dom_automation/frames/frame1.html create mode 100644 chrome/test/data/dom_automation/frames/frame2.html create mode 100644 chrome/test/data/dom_automation/frames/iframe1.html create mode 100644 chrome/test/data/dom_automation/frames/iframe2.html create mode 100644 chrome/test/data/dom_automation/frames/test.html create mode 100644 chrome/test/data/dom_automation/string_escape/test.html (limited to 'chrome/test/data') 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 @@ + + + +link + +
+ + +
+ + diff --git a/chrome/test/data/dom_automation/find_elements/test.html b/chrome/test/data/dom_automation/find_elements/test.html new file mode 100644 index 0000000..b271a3c --- /dev/null +++ b/chrome/test/data/dom_automation/find_elements/test.html @@ -0,0 +1,35 @@ + + + + +
div_text
+
div_text
+ +span_text + span_text + span_text + + + + + + + + + + + + + +
table_text
+ table_text + + table_text + + table_text +
+ + + + + diff --git a/chrome/test/data/dom_automation/frames/frame1.html b/chrome/test/data/dom_automation/frames/frame1.html new file mode 100644 index 0000000..4e02aab --- /dev/null +++ b/chrome/test/data/dom_automation/frames/frame1.html @@ -0,0 +1,6 @@ + + + +
frame 1
+ + diff --git a/chrome/test/data/dom_automation/frames/frame2.html b/chrome/test/data/dom_automation/frames/frame2.html new file mode 100644 index 0000000..d1e8bdf --- /dev/null +++ b/chrome/test/data/dom_automation/frames/frame2.html @@ -0,0 +1,6 @@ + + + +
frame 2
+ + diff --git a/chrome/test/data/dom_automation/frames/iframe1.html b/chrome/test/data/dom_automation/frames/iframe1.html new file mode 100644 index 0000000..7fccbfd --- /dev/null +++ b/chrome/test/data/dom_automation/frames/iframe1.html @@ -0,0 +1,5 @@ + + +
iframe 1
+ + diff --git a/chrome/test/data/dom_automation/frames/iframe2.html b/chrome/test/data/dom_automation/frames/iframe2.html new file mode 100644 index 0000000..908303e --- /dev/null +++ b/chrome/test/data/dom_automation/frames/iframe2.html @@ -0,0 +1,5 @@ + + +
iframe 2
+ + diff --git a/chrome/test/data/dom_automation/frames/test.html b/chrome/test/data/dom_automation/frames/test.html new file mode 100644 index 0000000..004c3e9 --- /dev/null +++ b/chrome/test/data/dom_automation/frames/test.html @@ -0,0 +1,12 @@ + + + + + + + + + + diff --git a/chrome/test/data/dom_automation/string_escape/test.html b/chrome/test/data/dom_automation/string_escape/test.html new file mode 100644 index 0000000..6f37fcc --- /dev/null +++ b/chrome/test/data/dom_automation/string_escape/test.html @@ -0,0 +1,3 @@ + + + -- cgit v1.1