Bug 174177
| Summary: | [page visibility] implement onvisibilitychange event handler | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ilya Grigorik <igrigorik> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | achristensen, cdumez, joepeck, simon.fraser |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ilya Grigorik
Steps to reproduce:
Hooked up a callback to document.onvisibilitychange.
Actual results:
The callback did not fire.
Expected results:
Callback should fire!
---
Spec: https://www.w3.org/TR/page-visibility-2/#onvisiblitychange-event-handler
Webkit currently supports the visibilitychange event, but not the onvisibilitychange event handler.
---
Related discussion: https://github.com/w3c/page-visibility/issues/31
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pretty sure I implemented this?
Chris Dumez
Could you try a Safari Technology Preview?
*** This bug has been marked as a duplicate of bug 165784 ***
Chris Dumez
(In reply to Chris Dumez from comment #2)
> Could you try a Safari Technology Preview?
>
> *** This bug has been marked as a duplicate of bug 165784 ***
Also please also note this WebPlatformTest bug which I made a PR for that still has not been merged:
https://github.com/w3c/web-platform-tests/pull/6267
Lucas Forschler
Mass move bugs into the DOM component.