1
0
Fork 0
firefox/testing/web-platform/tests/html/browsers/sandboxing/sandbox-navigation-timing-iframe.tentative.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

16 lines
No EOL
340 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<script>
let result;
try {
parent.document.getElementsByClassName('script');
result = 'iframe not sandboxed'
} catch (e) {
result = 'iframe sandboxed(' + e.message + ')';
}
window.onmessage = m => {
window.parent.postMessage({
result: result
}, '*');
};
</script>