Files
browser/src/cdp
Armaan Sandhu 7524a75147 feat(webapi): back input.files with FileList and add DOM.setFileInputFiles
Populate FileList with real File objects and expose them on
  HTMLInputElement:
  - input.files returns a live, identity-stable FileList for type=file
    (null for other input types)
  - input.value returns the spec "C:\fakepath\<name>" string
  - required file inputs report value-missing only when empty

  Implement CDP DOM.setFileInputFiles: load files from disk into a file
  input (MIME sniffed by extension) and fire input + change events.

  File backing arenas are reference counted via their Blob proto, so the
  owning Frame now acquires/releases them and frees any still held at
  teardown, preventing an ArenaPool leak for CDP-set files never read
  from JS. A scoped errdefer frees partially-created files when one path
  in a multi-file set fails to load.
2026-06-04 15:59:59 +05:30
..
2026-04-25 13:22:41 +08:00
2026-05-19 10:08:22 +08:00