blob: fbf94bac91760ca12b22cc00c890198b4fbab03a [file] [log] [blame]
CONSOLE WARNING: :unresolved pseudo selector is deprecated and will be removed in M80, around February 2020. Please use :not(:defined) instead. See https://www.chromestatus.com/features/4642138092470272 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details.
Tests basic web-exposure of Custom Elements
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Document.prototype.hasOwnProperty("registerElement")
true
typeof Document.prototype.registerElement
function
document.createElement("x-a") instanceof HTMLUnknownElement
false
document.querySelector(":unresolved")
[object HTMLDivElement]
span.getAttribute("is")
type-extension
PASS window.customElements.define("a-a", A, {extends: "b"}) did not throw exception.
PASS successfullyParsed is true
TEST COMPLETE