OptionaldeviceThe page's window.devicePixelRatio, which includes page zoom. Present with rect.
OptionaleditableWhether the selection is in an editable field. Absent without a selection.
OptionallanguageThe selection's language as a primary subtag, e.g. "es", from the nearest lang attribute. Absent when the page doesn't say, which native takes as the user's language.
OptionalrectOptionalselectedPairs this report with the browser's own context menu event. The 32-bit FNV-1a hash, as 8 lowercase hex digits, of the selection as the browser reports it, hidden text included, over its UTF-16 code units after collapsing each run of ECMAScript whitespace (\s) to one space and trimming. Absent without a selection.
OptionalselectionThe selected text, without text the user can't see. Empty without a selection.
Sent on contextmenu while enabled, whatever showToolbar says, so native's menu can offer the actions that fit the selection, and native can show its toolbar for it, collapsed, once the menu closes. Without a selection it's { text: "" }.