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

Unified Diff: LayoutTests/fast/dom/custom/registration-context-delete-during-register-base-constructor-retrieval.html

Issue 1069953002: Implement Custom Element's class side inheritance (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
Index: LayoutTests/fast/dom/custom/registration-context-delete-during-register-base-constructor-retrieval.html
diff --git a/LayoutTests/fast/dom/custom/registration-context-delete-during-register-created-retrieval.html b/LayoutTests/fast/dom/custom/registration-context-delete-during-register-base-constructor-retrieval.html
similarity index 84%
copy from LayoutTests/fast/dom/custom/registration-context-delete-during-register-created-retrieval.html
copy to LayoutTests/fast/dom/custom/registration-context-delete-during-register-base-constructor-retrieval.html
index 488859fae9f62d83304976652cb1a85cf1c8a522..eb6096e0562fee182e255f127409d4ef1b52341e 100644
--- a/LayoutTests/fast/dom/custom/registration-context-delete-during-register-created-retrieval.html
+++ b/LayoutTests/fast/dom/custom/registration-context-delete-during-register-base-constructor-retrieval.html
@@ -5,17 +5,17 @@
<script>
if (fork()) {
// The controlling parent frame
- description('Tests destroying a context during registration at the point when the created callback is retrieved.');
+ description('Tests destroying a context during registration at the point when the prototype constructor prototype is retrieved.');
jsTestIsAsync = true;
successfullyParsed = true;
} else {
// The child frame
var proto = Object.create(HTMLElement.prototype, {
- createdCallback: {
+ constructor: {
get: function () {
destroyContext();
- return function () { }
+ return HTMLElement;
}
}
});

Powered by Google App Engine
This is Rietveld 408576698