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

Side by Side Diff: LayoutTests/accessibility/inline-text-word-boundary-causes-crash.html

Issue 542553002: Fix crash when trying to iterate over words in an inline text box of length zero. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Got rid of assert, updated fixme Created 6 years, 3 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 | LayoutTests/accessibility/inline-text-word-boundary-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 <style>
5 h1:first-letter {
6 text-transform:uppercase;
7 }
8 </style>
9 </head>
10 <body>
11
12 <h1 id="heading">
13 heading
14 </h1>
15
16 <p id="description"></p>
17 <div id="console"></div>
18
19 <script>
20 description("Makes sure that accessing the word boundaries of an AXStaticText ob ject doesn't cause a crash when it has an inline text box of length zero.");
21 if (window.accessibilityController) {
22 var axHeading = accessibilityController.accessibleElementById('heading');
23 var axStaticText = axHeading.childAtIndex(0);
24 debug('Word start for index -1: ' + axStaticText.wordStart(-1));
25 }
26 </script>
27 </body>
28 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/inline-text-word-boundary-causes-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698