Remove the unused attribute event listener which is not defined in Page Visibility API spec, too. http://www.w3.org/TR/page-visibility/#sec-document-interface
Created attachment 225974 [details] Patch
What is the web compat risk?
(In reply to comment #2) > What is the web compat risk? As 'visibilitychange' was not declared in Document.idl, below code did not work. (I also tested in Mac Safari and EFL minibrowser.) <html onvisibilitychange="dostuff"> So there is no compatibility issue by this patch.
Comment on attachment 225974 [details] Patch So this breaks
Comment on attachment 225974 [details] Patch Clearing flags on attachment: 225974 Committed r165423: <http://trac.webkit.org/changeset/165423>
All reviewed patches have been landed. Closing bug.