blob: 6e3a46feebedfd870cbabd4a28e1101eb57652dd [file] [log] [blame]
<html>
<link rel="import" href="../resources/chai.html" />
<link rel="import" href="../resources/mocha.html" />
<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>