Default UA is Servo's in Firefox's exact form (Gecko/20100101, no Servo token), following Servo's version (inject::mainstream_ua, tested); a custom UA still wins. tests/smoke/heavy-web.txt (needs internet): DuckDuckGo, Wikipedia, YouTube in one go (home, search, video, ads, PiP). Selftest waitfor, locate + click @, expect > n. input.txt checks Enter submits a form and the keys a page sees. Co-Authored-By: Claude Opus 5.5 <[email protected]>
10 lines
814 B
HTML
10 lines
814 B
HTML
<!doctype html>
|
|
<meta charset="utf-8">
|
|
<title>input</title>
|
|
<style>body { font: 16px sans-serif; margin: 0; padding: 20px } a, input, textarea { display: block; margin: 0 0 20px; height: 30px; width: 300px; font-size: 16px }</style>
|
|
<a id="link" href="#clicked" onclick="window.clicks = (window.clicks || 0) + 1">Click me</a>
|
|
<input id="field" type="text">
|
|
<div id="menu" style="width: 300px; height: 60px; background: #ccd" oncontextmenu="window.menus = (window.menus || 0) + 1">Right-click here</div>
|
|
<form id="form" action="#submitted" onsubmit="window.submits = (window.submits || 0) + 1"><input id="query" name="q" type="text"></form>
|
|
<textarea id="area" onkeydown="window.keys = (window.keys || []).concat([event.key + ':' + event.keyCode + ':' + event.code])"></textarea>
|
|
<div style="height: 3000px"></div>
|