Repository navigation
Implementing document.hasFocus method, needs tests. #6475 - #6757
Conversation
|
They can be run with |
96644ca to
7f59b7d
Compare
|
Thanks, I've added some tests. |
There was a problem hiding this comment.
I'm not sure whether it's always true that the browser has focus while WPT is running. (Even if it works with the Servo test harness, it might fail for other browsers.) This may be why this test was not included in this file originally. It might be safest to revert this change.
|
Reviewed 4 of 4 files at r1, 1 of 1 files at r2. Comments from the review on Reviewable.io |
|
@bors-servo r+ Thanks! |
|
📌 Commit b7a673f has been approved by |
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 -->
|
💔 Test failed - mac3 |
|
Sorry for the delay, I'll squash them today. |
b7a673f to
07c0cd8
Compare
|
@bors-servo: r+ |
|
📌 Commit 07c0cd8 has been approved by |
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 -->
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?