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

Side by Side Diff: LayoutTests/fast/dom/custom/lifecycle-created-createElement-recursion.html

Issue 117313008: Update Custom Elements API to new names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update for forgotten tests. Created 7 years 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 document.register("x-foo", { prototype: Object.create(HTMLElement.prototype, { c reatedCallback: { value: function () { this.innerHTML = "<x-foo>Hello</x-foo>"; } } }) }); 8 document.registerElement("x-foo", { prototype: Object.create(HTMLElement.prototy pe, { createdCallback: { value: function () { this.innerHTML = "<x-foo>Hello</x- foo>"; } } }) });
9 if (window.testRunner) 9 if (window.testRunner)
10 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
11 document.createElement("x-foo"); 11 document.createElement("x-foo");
12 debug("PASS unless crash"); 12 debug("PASS unless crash");
13 </script> 13 </script>
14 </body> 14 </body>
15 </html> 15 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/custom/leaks.html ('k') | LayoutTests/fast/dom/custom/lifecycle-created-createElement-reentrancy.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698