Add DOMImplementation skeleton

Creates a DOMImplementation struct corresponding to DOMImplementation
WebIDL. Also implements a getter for Document::implementation.

Closes #1486.
This commit is contained in:
Bruno de Oliveira Abinader 2014-01-13 17:10:58 -04:00
parent 8f0f2d9ef5
commit 60dd40f412
7 changed files with 97 additions and 4 deletions

View file

@ -0,0 +1,17 @@
<html>
<head>
<script src="harness.js"></script>
<script>
// test1: basic test
{
isnot(document.implementation, null, "test1-0, basic test");
is_a(document.implementation, DOMImplementation, "test1-1, basic test");
var implementation = document.implementation;
is(document.implementation, implementation, "test1-2, basic test");
}
finish();
</script>
</head>
</html>