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

Unified Diff: content/browser/accessibility/browser_accessibility_manager_unittest.cc

Issue 8888034: Revert 113704 - Remove special casing for firing load completes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/accessibility/browser_accessibility_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility_manager_unittest.cc
===================================================================
--- content/browser/accessibility/browser_accessibility_manager_unittest.cc (revision 113704)
+++ content/browser/accessibility/browser_accessibility_manager_unittest.cc (working copy)
@@ -594,8 +594,8 @@
// Save for later comparison.
BrowserAccessibility* acc1_2 = manager->GetFromRendererID(2);
- // Verify the root has not changed.
- EXPECT_EQ(root, manager->GetRoot());
+ // Verify the root has changed.
+ EXPECT_NE(root, manager->GetRoot());
// And the proper child remains.
EXPECT_EQ(WebAccessibility::ROLE_TEXT_FIELD, acc1_2->role());
@@ -621,8 +621,8 @@
BrowserAccessibility* acc2_2 = manager->GetFromRendererID(3);
- // Verify the root has not changed.
- EXPECT_EQ(root, manager->GetRoot());
+ // Verify the root has changed.
+ EXPECT_NE(root, manager->GetRoot());
// And the new child exists.
EXPECT_EQ(WebAccessibility::ROLE_BUTTON, acc2_2->role());
« no previous file with comments | « content/browser/accessibility/browser_accessibility_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698