blob: 62e65b382be13f03e8d167621d5305a7ba6218c4 [file]
<html>
<import src="../resources/chai.sky" />
<import src="../resources/mocha.sky" />
<script>
describe('DOMImplementation', function() {
it('should let you create a document', function() {
var doc = document.implementation.createDocument();
assert.isNotNull(doc, 'createDocument should return a value');
assert.doesNotThrow(function() {
doc.registerElement('x-foo');
}, 'new document should have a registration context');
});
});
</script>
</html>