Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/embedded-content/the-iframe-element/iframe-hit-test-during-load-event-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<div style="visibility: hidden;">
<iframe id="iframe"></iframe>
</div>
<script>
window.addEventListener("load", _ =>
iframe.contentDocument.elementFromPoint(0, 0)
);
</script>