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

Side by Side Diff: LayoutTests/fast/dom/MicroData/propertynodelist-crash.html

Issue 14028014: Remove MicroData implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Also delete all the tests Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p>This test is successful if it does not crash.</p>
5 <div id='elementWithItemProp' itemprop='foo'></div>
6 <div itemscope></div>
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
10
11 function gc()
12 {
13 if (window.GCController)
14 return GCController.collect();
15
16 for (var i = 0; i < 10000; i++) // force garbage collection
17 var s = new String("");
18 }
19
20 var testElement = document.getItems()[0];
21 var propertyNodeList = testElement.properties.namedItem('foo');
22 testElement.setAttribute("itemref", "elementWithItemProp");
23 propertyNodeList = 0;
24 gc();
25 </script>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698