Re: [html-tests] Add a manual test for providing a stable state in alert/confirm/prompt (#970)

I think it's overkill to check that nothing is speculatively prefetched at this point, especially considering that browsers don't do it for video.

For print(), just invoke it (after onload), ask the user to cancel the dialog, and see that currentSrc hasn't changed when the method returns.

For beforeunload, do `window.onbeforeunload = function() { return "Cancel the navigation"; };` and `click()` on a link that navigates, and see that currentSrc hasn't changed when click() returns.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/970#issuecomment-42933376

Received on Tuesday, 13 May 2014 09:15:45 UTC