Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2025-07-29 10:44:33 +08:00
commit 4c1a4a4402
31 changed files with 827 additions and 36 deletions

View file

@ -200,6 +200,13 @@ partial interface HTMLInputElement {
// for example will be dispatched when focusing out the element.
[Func="IsChromeOrXBL", NeedsSubjectPrincipal]
void setUserInput(DOMString input);
// Sets or clears the autofilled state of this input element.
// This is used by the browser's autofill system to indicate when
// a value has been automatically filled (e.g., from saved passwords
// or form data).
[ChromeOnly]
void setAutofilled(boolean autofilled);
};
partial interface HTMLInputElement {

View file

@ -97,4 +97,10 @@ partial interface HTMLTextAreaElement {
// element.
[ChromeOnly]
void setUserInput(DOMString input);
// Sets or clears the autofilled state of this textarea element.
// This is used by the browser's autofill system to indicate when
// a value has been automatically filled (e.g., from saved form data).
[ChromeOnly]
void setAutofilled(boolean autofilled);
};