mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
16 lines
499 B
Plaintext
16 lines
499 B
Plaintext
<html>
|
|
<link rel="import" href="../resources/chai.sky" />
|
|
<link rel="import" href="../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>
|