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

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: Fix double-gc 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLTemplateElement/content-outlives-template-crash-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
(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 content.appendChild(document.createElement('div'));
11 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLTemplateElement/content-outlives-template-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698