The Canvas host's JavaScript held the DOM key table, press/repeat and
release tracking, pointer scaling, wheel units, touch-to-mouse
synthesis, focus handling, clipboard, and which events to cancel. It
now forwards each raw DOM event to a Zi handler (canvas_events.zi) that
owns all that state and answers with flags for what the page does next.
A native behavior test drives the handler through every one of those
rules without a browser, and the JS budget test now bans the key table
from returning. 161 lines of JavaScript are gone.