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: third_party/WebKit/LayoutTests/dom/attr/access-after-element-destruction.html

Issue 2781993003: Move tests for Attr interface to LayoutTests/dom/attr/. (Closed)
Patch Set: Created 3 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
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("Tests that accessing Attr after its Element has been destroyed work s without crashing."); 8 description("Tests that accessing Attr after its Element has been destroyed work s without crashing.");
9 9
10 jsTestIsAsync = true; 10 jsTestIsAsync = true;
11 11
12 var element = document.createElement("p"); 12 var element = document.createElement("p");
13 element.setAttribute("a", "b"); 13 element.setAttribute("a", "b");
14 var attributes = element.attributes; 14 var attributes = element.attributes;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 attr.value = 'c'; 46 attr.value = 'c';
47 47
48 shouldBe("attr.value", "'c'"); 48 shouldBe("attr.value", "'c'");
49 49
50 finishJSTest(); 50 finishJSTest();
51 }); 51 });
52 }); 52 });
53 </script> 53 </script>
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698