blob: 295d8305a00a74a51b17286e75c7615360f63ce9 [file] [log] [blame]
CONSOLE WARNING: line 17: document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details.
CONSOLE WARNING: :unresolved pseudo selector is deprecated and will be removed in M73, around March 2019. Please use :not(:defined) instead. See https://www.chromestatus.com/features/4642138092470272 for more details.
Tests the element upgrade algorithm.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS host.firstChild instanceof A is true
PASS element instanceof B is true
PASS callCount is 1
PASS element instanceof C is false
PASS Object.getPrototypeOf(element) is HTMLElement.prototype
PASS host.firstChild instanceof D is false
PASS document.querySelector(":unresolved") is host.firstChild
PASS upgradedOrder is ["e1","e2","e3","e4","e5"]
PASS successfullyParsed is true
TEST COMPLETE