Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / crash-adopt-node-from-new-document.html
blob909c3d5757dce25821e36c05e7a943bb22852924
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body>
8 <canvas>
9 <div id="node1">
10 <div id="node2">
11 </canvas>
13 <script>
14 document.getElementById("node2").setAttribute("aria-label", "Label");
15 document.implementation.createDocument("", "", null).adoptNode(node1);
17 gc();
19 alert("This test makes sure that adopting a node with an AccessibilityObject into a new document doesn't crash. Test passed.");
21 </script>
22 </body>
23 </html>