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

Unified Diff: LayoutTests/fast/dom/custom/upgrade-candidate-remove-crash.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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/custom/upgrade-candidate-remove-crash.html
diff --git a/LayoutTests/fast/dom/custom/upgrade-candidate-remove-crash.html b/LayoutTests/fast/dom/custom/upgrade-candidate-remove-crash.html
index 9b11bd2c36515e216f385721ab115cde80926940..95f44110cee472fb3239558259b51053d1ea9164 100644
--- a/LayoutTests/fast/dom/custom/upgrade-candidate-remove-crash.html
+++ b/LayoutTests/fast/dom/custom/upgrade-candidate-remove-crash.html
@@ -16,7 +16,7 @@ var proto = Object.create(HTMLSpanElement.prototype);
proto.createdCallback = function () {
testFailed('unreachable');
};
-document.register('x-a', {prototype: proto});
+document.registerElement('x-a', {prototype: proto});
testPassed('Did not crash.');

Powered by Google App Engine
This is Rietveld 408576698