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

Side by Side Diff: LayoutTests/accessibility/calling-accessibility-methods-with-pending-layout-causes-crash.html

Issue 465143003: Assert if we try to access another AX attribute while a layout is pending. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 4 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
« no previous file with comments | « no previous file | LayoutTests/accessibility/calling-accessibility-methods-with-pending-layout-causes-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../resources/js-test.js"></script>
4 </head>
5 <body>
6 <a href="#" id="link">
7 <p id="description"></p>
8 <div id="console"></div>
9 <script>
10 description("Changing the display of a link from inline to block invalidates layout, but doesn't trigger a layout right away. Ensure that accessing the acce ssibility object's text before the layout happens doesn't cause a crash.");
11
12 var link = document.getElementById("link");
13 link.focus();
14 link.style.display = "block";
15 accessibilityController.focusedElement.description;
16 </script>
17 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/calling-accessibility-methods-with-pending-layout-causes-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698