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

Side by Side Diff: LayoutTests/fast/dom/HTMLTemplateElement/content-outlives-template-crash.html

Issue 23708025: Clear TemplateContentDocumentFragment::m_host when HTMLTemplateElement is destroyed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <div>Test passes if it does not crash</div>
3 <script src="../../../resources/gc.js"></script>
4 <script>
5 if (window.testRunner) testRunner.dumpAsText();
6 var template = document.createElement('template');
7 var content = template.content;
8 template = null;
9 gc();
10 gc();
inferno 2013/09/10 00:57:43 nit: gc() is copied twice.
11 content.appendChild(document.createElement('div'));
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698