summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-19 09:23:41 +0000
committerandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-19 09:23:41 +0000
commit81acd9115dc0c46bdf8615d300ecfa00c335806c (patch)
treef5a513475da1e8d17e7d6f077a5192c393d55e66 /chrome
parentb5cd1624d02facb14809a3385d773209ccb932fd (diff)
downloadchromium_src-81acd9115dc0c46bdf8615d300ecfa00c335806c.zip
chromium_src-81acd9115dc0c46bdf8615d300ecfa00c335806c.tar.gz
chromium_src-81acd9115dc0c46bdf8615d300ecfa00c335806c.tar.bz2
Revert 82076 - Fix handling of a case where an AccessibilityObject is listed as a child multiple times.BUG=79726TEST=browser_tests:RendererAccessibilityBrowserTest.CrossPlatformDuplicateChildrenAccessibilityReview URL: http://codereview.chromium.org/6873063
TBR=ctguil@chromium.org Review URL: http://codereview.chromium.org/6880029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/accessibility/renderer_accessibility_browsertest.cc25
1 files changed, 0 insertions, 25 deletions
diff --git a/chrome/browser/accessibility/renderer_accessibility_browsertest.cc b/chrome/browser/accessibility/renderer_accessibility_browsertest.cc
index 93107cb..2944d43 100644
--- a/chrome/browser/accessibility/renderer_accessibility_browsertest.cc
+++ b/chrome/browser/accessibility/renderer_accessibility_browsertest.cc
@@ -317,29 +317,4 @@ IN_PROC_BROWSER_TEST_F(RendererAccessibilityBrowserTest,
EXPECT_STREQ("Button 3", UTF16ToUTF8(button3.name).c_str());
}
-IN_PROC_BROWSER_TEST_F(RendererAccessibilityBrowserTest,
- CrossPlatformDuplicateChildrenAccessibility) {
- // Here's another html snippet where WebKit has a parent node containing
- // two duplicate child nodes. Instead of checking the exact output, just
- // make sure that no id is reused in the resulting tree.
- const char url_str[] =
- "data:text/html,"
- "<!doctype html>"
- "<script>"
- " document.write('');"
- " document.close();"
- " setTimeout(function () {"
- " document.write('<DT><em><sr><code ><h4 ></em><<');"
- " document.close();"
- " setTimeout('location.reload()', 0);"
- " }, 0);"
- "</script>";
- GURL url(url_str);
- browser()->OpenURL(url, GURL(), CURRENT_TAB, PageTransition::TYPED);
-
- const WebAccessibility& tree = GetWebAccessibilityTree();
- base::hash_set<int> ids;
- RecursiveAssertUniqueIds(tree, &ids);
-}
-
} // namespace