summaryrefslogtreecommitdiffstats
path: root/content/renderer/dom_automation.js
diff options
context:
space:
mode:
authordgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-23 01:18:48 +0000
committerdgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-23 01:18:48 +0000
commit39ce7714c94103d62bcd433a5d14ac420dc24e90 (patch)
treeb127831742c51695e9e10527dc8372688398297d /content/renderer/dom_automation.js
parentf19ed5baa7e1b4ceae69d98dac405cd442f0b327 (diff)
downloadchromium_src-39ce7714c94103d62bcd433a5d14ac420dc24e90.zip
chromium_src-39ce7714c94103d62bcd433a5d14ac420dc24e90.tar.gz
chromium_src-39ce7714c94103d62bcd433a5d14ac420dc24e90.tar.bz2
* We no longer run into the cookie size limit and can "run ALL the tests!"
* Browser tests are supposedly faster than ui tests. BUG=118499 TEST= Review URL: http://codereview.chromium.org/9693065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/dom_automation.js')
-rw-r--r--content/renderer/dom_automation.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/renderer/dom_automation.js b/content/renderer/dom_automation.js
index 0af645b..676d622 100644
--- a/content/renderer/dom_automation.js
+++ b/content/renderer/dom_automation.js
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// 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.
@@ -393,6 +393,8 @@ var domAutomation = domAutomation || {};
return getText(element);
} else if (type == "innerhtml") {
return trim(element.innerHTML);
+ } else if (type == "innertext") {
+ return trim(element.innerText);
} else if (type == "visibility") {
return isVisible(element);
} else if (type == "id") {