aboutsummaryrefslogtreecommitdiffstats
path: root/tests/content/test_document_activeElement.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/content/test_document_activeElement.html')
-rw-r--r--tests/content/test_document_activeElement.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/content/test_document_activeElement.html b/tests/content/test_document_activeElement.html
index 8cce6cfa210..fee51456282 100644
--- a/tests/content/test_document_activeElement.html
+++ b/tests/content/test_document_activeElement.html
@@ -10,10 +10,9 @@
is_not(document.activeElement, null, "test_1.1, document.activeElement");
is(document.activeElement, document.body, "test_1.2, document.activeElement");
- //TODO: uncomment following lines when focus() method will be available
- //document.getElementById('foo').focus();
+ document.getElementById('foo').focus();
is_not(document.activeElement, null, "test_2.1, document.activeElement");
- //is(document.activeElement, document.getElementById("foo"), "test_2.2, document.activeElement");
+ is(document.activeElement, document.getElementById("foo"), "test_2.2, document.activeElement");
</script>
</body>
</html>