Auto merge of #6757 - mskrzypkows:document_hasFocus, r=jdm

Implementing document.hasFocus method, needs tests. #6475

I'm not sure if I have to implement some test for a new document method. As I remember there were tests for document methods, is it changed now? Where should I add tests?

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6757)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-08-11 15:35:21 -06:00
commit 0c5158587d
3 changed files with 22 additions and 7 deletions

View file

@ -30,9 +30,6 @@
[Document interface: operation writeln(DOMString)]
expected: FAIL
[Document interface: operation hasFocus()]
expected: FAIL
[Document interface: attribute designMode]
expected: FAIL
@ -1089,9 +1086,6 @@
[Document interface: calling writeln(DOMString) on document.implementation.createDocument(null, "", null) with too few arguments must throw TypeError]
expected: FAIL
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "hasFocus" with the proper type (61)]
expected: FAIL
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "designMode" with the proper type (62)]
expected: FAIL