diff options
Diffstat (limited to 'testing/web-platform/tests/page-visibility/resources/iframe-post-load.html')
-rw-r--r-- | testing/web-platform/tests/page-visibility/resources/iframe-post-load.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/tests/page-visibility/resources/iframe-post-load.html b/testing/web-platform/tests/page-visibility/resources/iframe-post-load.html new file mode 100644 index 0000000000..5c8f2e3a08 --- /dev/null +++ b/testing/web-platform/tests/page-visibility/resources/iframe-post-load.html @@ -0,0 +1,8 @@ +<!doctype html> +<html> +<head> +<script> +window.addEventListener('load', () => parent.postMessage('load', '*')) +</script> +</body> +</html> |