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

Side by Side Diff: content/browser/accessibility/cross_platform_accessibility_browsertest.cc

Issue 218983003: Disable two tests that need to be rebaselined after Blink change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/accessibility/dump_accessibility_tree_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "content/browser/renderer_host/render_view_host_impl.h" 9 #include "content/browser/renderer_host/render_view_host_impl.h"
10 #include "content/public/browser/notification_service.h" 10 #include "content/public/browser/notification_service.h"
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 "</script>"; 322 "</script>";
323 GURL url(url_str); 323 GURL url(url_str);
324 NavigateToURL(shell(), url); 324 NavigateToURL(shell(), url);
325 325
326 const ui::AXTree& tree = GetAXTree(); 326 const ui::AXTree& tree = GetAXTree();
327 const ui::AXNode* root = tree.GetRoot(); 327 const ui::AXNode* root = tree.GetRoot();
328 base::hash_set<int> ids; 328 base::hash_set<int> ids;
329 RecursiveAssertUniqueIds(root, &ids); 329 RecursiveAssertUniqueIds(root, &ids);
330 } 330 }
331 331
332 // TODO(dmazzoni): Needs to be rebaselined. http://crbug.com/347464
332 IN_PROC_BROWSER_TEST_F(CrossPlatformAccessibilityBrowserTest, 333 IN_PROC_BROWSER_TEST_F(CrossPlatformAccessibilityBrowserTest,
333 IframeAccessibility) { 334 DISABLED_IframeAccessibility) {
334 // Create a data url and load it. 335 // Create a data url and load it.
335 const char url_str[] = 336 const char url_str[] =
336 "data:text/html," 337 "data:text/html,"
337 "<!doctype html><html><body>" 338 "<!doctype html><html><body>"
338 "<button>Button 1</button>" 339 "<button>Button 1</button>"
339 "<iframe src='data:text/html," 340 "<iframe src='data:text/html,"
340 "<!doctype html><html><body><button>Button 2</button></body></html>" 341 "<!doctype html><html><body><button>Button 2</button></body></html>"
341 "'></iframe>" 342 "'></iframe>"
342 "<button>Button 3</button>" 343 "<button>Button 3</button>"
343 "</body></html>"; 344 "</body></html>";
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 GURL url(url_str); 488 GURL url(url_str);
488 NavigateToURL(shell(), url); 489 NavigateToURL(shell(), url);
489 const ui::AXTree& tree = GetAXTree(); 490 const ui::AXTree& tree = GetAXTree();
490 const ui::AXNode* root = tree.GetRoot(); 491 const ui::AXNode* root = tree.GetRoot();
491 ASSERT_EQ(1, root->child_count()); 492 ASSERT_EQ(1, root->child_count());
492 const ui::AXNode* textbox = root->ChildAtIndex(0); 493 const ui::AXNode* textbox = root->ChildAtIndex(0);
493 EXPECT_EQ(true, GetBoolAttr(textbox, ui::AX_ATTR_CAN_SET_VALUE)); 494 EXPECT_EQ(true, GetBoolAttr(textbox, ui::AX_ATTR_CAN_SET_VALUE));
494 } 495 }
495 496
496 } // namespace content 497 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/dump_accessibility_tree_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698