Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9825)

Unified Diff: content/renderer/dom_automation.js

Issue 9693065: Run IDB layout test suite as browser tests instead of ui tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix some style stuff Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_uitest.cc ('k') | content/test/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/dom_automation.js
diff --git a/content/renderer/dom_automation.js b/content/renderer/dom_automation.js
index 0af645be6a3c91ead377f2d4827c503276443ba2..4ced1f1ff0eff43b24d816a59b584c826ace4788 100644
--- a/content/renderer/dom_automation.js
+++ b/content/renderer/dom_automation.js
@@ -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") {
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_uitest.cc ('k') | content/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698