5 var proto
= Object
.create(HTMLElement
.prototype);
6 proto
.createdCallback = function () {
7 window
.upgradeIds
.push(this.id
);
10 var ctor
= document
.registerElement('x-b', {prototype: proto
});
14 assert_array_equals(window
.upgradeIds
, ['a1', 'a2', 'a3', 'b0', 'b1'], 'Elements should got upgrade from the import.');
15 }, 'upgrade in an import (in nested import)');