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

Side by Side Diff: LayoutTests/accessibility/crash-adopt-node-from-new-document.html

Issue 12087060: Merge 139806 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 10 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/crash-adopt-node-from-new-document-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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script> 4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 7
8 <canvas> 8 <canvas>
9 <div id="node1"> 9 <div id="node1">
10 <div id="node2"> 10 <div id="node2">
11 </canvas> 11 </canvas>
12 12
13 <script> 13 <script>
14 document.getElementById("node2").setAttribute("aria-label", "Label"); 14 document.getElementById("node2").setAttribute("aria-label", "Label");
15 document.implementation.createDocument("", "", null).adoptNode(node1); 15 document.implementation.createDocument("", "", null).adoptNode(node1);
16 16
17 gc(); 17 gc();
18 18
19 alert("This test makes sure that adopting a node with an AccessibilityObject int o a new document doesn't crash. Test passed."); 19 alert("This test makes sure that adopting a node with an AccessibilityObject int o a new document doesn't crash. Test passed.");
20 20
21 </script> 21 </script>
22 <script src="../fast/js/resources/js-test-post.js"></script> 22 <script src="../fast/js/resources/js-test-post.js"></script>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/crash-adopt-node-from-new-document-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698