Add test for proxy dom bindings setter. Fix up prototypes content test to reflect new bindings. Hook up contenttest harness to make check target.

This commit is contained in:
Josh Matthews 2013-08-29 11:34:41 -04:00
parent e428c954aa
commit 2947c0c5bd
4 changed files with 21 additions and 8 deletions

View file

@ -42,11 +42,11 @@ check-test:
@$(call E, " $(DEPS_CHECK_TARGETS_ALL)")
.PHONY: check
check: $(DEPS_CHECK_TARGETS_FAST) check-servo tidy
check: $(DEPS_CHECK_TARGETS_FAST) check-servo check-content tidy
@$(call E, check: all)
.PHONY: check-all
check-all: $(DEPS_CHECK_TARGETS_ALL) check-servo tidy
check-all: $(DEPS_CHECK_TARGETS_ALL) check-servo check-content tidy
@$(call E, check: all)
.PHONY: check-servo

View file

@ -1,7 +1,7 @@
is(HTMLImageElement instanceof HTMLElement, true);
is(HTMLElement instanceof Element, true);
is(Element instanceof Node, true);
is(document instanceof Document, true);
is(document.documentElement instanceof HTMLElement, true);
is(document.documentElement instanceof Element, true);
is(window.document.documentElement instanceof Node, true);
is(window.document.documentElement instanceof Element, true);
is(window.document.documentElement instanceof HTMLElement, true);
is(window.document.documentElement instanceof HTMLHtmlElement, true);
is(window.document instanceof Document, true);
is(window.document instanceof HTMLDocument, true);
finish();

View file

@ -0,0 +1,9 @@
<html>
<head>
<title></title>
<script src="harness.js"></script>
</head>
<body>
<script src="test_proxy_setter.js"></script>
</body>
</html>

View file

@ -0,0 +1,4 @@
is(window.document.title, '');
window.document.title = 'foo';
is(window.document.title, 'foo');
finish();