blob: f539e21c7c6a8c04ca081aa481ce63d8759a6ebb [file] [log] [blame]
<!DOCTYPE html>
<script src="../fast/js/resources/js-test-pre.js"></script>
<body>
<script>
description('Tests basic web-exposure of Custom Elements');
function evalAndLogValue(s) {
debug(evalAndLog(s));
debug('');
}
evalAndLogValue('Document.prototype.hasOwnProperty("register")');
evalAndLogValue('typeof Document.prototype.register');
evalAndLogValue('document.createElement("x-a") instanceof HTMLUnknownElement');
var div = document.createElement('div');
div.innerHTML = '<div is="x-b">';
document.body.appendChild(div);
evalAndLogValue('document.querySelector(":unresolved")');
div.remove();
successfullyParsed = true;
</script>
<script src="../fast/js/resources/js-test-post.js"></script>