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

Side by Side Diff: LayoutTests/fast/dom/HTMLTemplateElement/custom-element-wrapper-gc.html

Issue 48633006: Teach V8GCController how to traverse TemplateContentDocumentFragment::host (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <template>
3 <x-custom></x-custom>
4 </template>
5 <script src="../../js/resources/js-test-pre.js"></script>
6 <script>
7 description('Custom element wrappers in templates should be retained');
8
9 document.register('x-custom', {
10 prototype: {
11 createdCallback: function() {
12 this.expando = 'present';
13 }
14 }
15 });
16
17 gc();
haraken 2013/10/30 00:09:53 You might also want to add a test for minorGC().
18
19 var template = document.querySelector('template');
20 var customElement = template.content.querySelector('x-custom');
21 shouldBeEqualToString('customElement.expando', 'present');
22 </script>
23 <script src="../../js/resources/js-test-post.js"></script>
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/scripts/IDLAttributes.txt » ('j') | Source/bindings/v8/V8GCController.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698