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

Unified Diff: LayoutTests/fast/dom/custom/element-upgrade-no-register-and-leak.html

Issue 296703009: Oilpan: move custom element objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix compilation issue pointed out by clang Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/custom/element-upgrade-no-register-and-leak-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/custom/element-upgrade-no-register-and-leak.html
diff --git a/LayoutTests/fast/dom/custom/element-upgrade-no-register-and-leak.html b/LayoutTests/fast/dom/custom/element-upgrade-no-register-and-leak.html
new file mode 100644
index 0000000000000000000000000000000000000000..2ee61b7fc664fc972e0a5883daddd188b675d54a
--- /dev/null
+++ b/LayoutTests/fast/dom/custom/element-upgrade-no-register-and-leak.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../../../resources/js-test.js"></script>
+<div id="container"></div>
+<script>
+description('Tests unresolved element not leaking if never resolved.');
+
+// Verify that a custom tag for which no element is ever registered
+// doesn't cause a document nor elements to leak.
+var host = document.createElement('div');
+host.innerHTML = '<x-a></x-a>';
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/custom/element-upgrade-no-register-and-leak-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698