mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Improve inter-document focus handling (#36649)
*Describe the changes that this pull request makes here. This will be the commit message.* rewritten the PR #28571 Implement [Window#focus](https://html.spec.whatwg.org/multipage/#dom-window-focus), [Window#blur](https://html.spec.whatwg.org/multipage/#dom-window-blur) Testing: WPT Fixes: #8981 #9421 --------- Signed-off-by: kongbai1996 <1782765876@qq.com> Co-authored-by: yvt <i@yvt.jp>
This commit is contained in:
parent
27570987fd
commit
0c0ee04b8e
33 changed files with 1123 additions and 242 deletions
|
@ -1,7 +1,4 @@
|
|||
[cross-origin-objects-function-caching.html]
|
||||
[Cross-origin Window methods are cached]
|
||||
expected: FAIL
|
||||
|
||||
[Cross-origin Location `replace` method is cached]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[focus.window.html]
|
||||
[focus]
|
||||
expected: FAIL
|
|
@ -328,9 +328,3 @@
|
|||
|
||||
[A SecurityError exception must be thrown when window.stop is accessed from a different origin.]
|
||||
expected: FAIL
|
||||
|
||||
[A SecurityError exception should not be thrown when window.blur is accessed from a different origin.]
|
||||
expected: FAIL
|
||||
|
||||
[A SecurityError exception should not be thrown when window.focus is accessed from a different origin.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
[window-properties.https.html]
|
||||
[Window method: focus]
|
||||
expected: FAIL
|
||||
|
||||
[Window method: blur]
|
||||
expected: FAIL
|
||||
|
||||
[Window method: print]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue