Nacre/tests/smoke/pages/dialogs.html
astar76 72709e07b9 S048: WebKit UI callbacks: pop-ups, dialogs, context menu, permissions, full screen, Web Inspector, PiP
- Pop-ups as related-view tabs; a blocked one's URL opens on "Allow"
- Closing a tab runs beforeunload (try_close, 3 s fallback); HTTP sign-in checked
- egui takes the pointer over the page while a dialog or menu is open; colour picker closes on Escape/outside
- Permission reasons recomputed for WebKit; media stream/WebRTC on; saved notification answers given to WebKit
- Notifications no longer dropped after a non-remembered allow
- F12 opens Web Inspector; nacre://devtools lists tabs and remote inspection (D-046); console/network page removed
- PiP moves the tab's own view into the PiP window and back (no reload)
- Smokes: dialogs, basics extended; pip.txt, auth.txt (server /auth), visible-ui.txt

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 08:03:51 -06:00

9 lines
672 B
HTML

<!doctype html><meta charset="utf-8"><title>Dialogs</title>
<body style="font:16px sans-serif;padding:24px">
<p><select id="s" style="font-size:18px;width:240px"><option>First choice</option><option>Second choice</option><option>Third choice</option></select></p>
<p><input id="c" type="color" value="#6750a4" style="width:120px;height:40px"></p>
<p><input id="f" type="file" style="font-size:16px"></p>
<p><a id="l" href="hello.html" style="font-size:18px">A link to hello</a></p>
<p id="t" style="font-size:18px">Some text to right click on.</p>
<script>window.onbeforeunload = e => { e.preventDefault(); e.returnValue = 'unsaved'; return 'unsaved'; };</script>
</body>