Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/promise-rejection-after-replacement-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
<iframe id=frame></iframe>
<script>
onload = () => {
frame.contentWindow.Promise.reject(new frame.contentWindow.Date(0));
frame.srcdoc = "x";
};
</script>