Bug 1750072 - Allow to prevent password revealing/unrevealing. r=mtigley
The idea is that chrome code would be able to call preventDefault(), then run primary password authentication when needed, then setRevealPassword again. Differential Revision: https://phabricator.services.mozilla.com/D173491
This commit is contained in:
@@ -247,7 +247,7 @@ class HTMLInputElement final : public TextControlElement,
|
||||
MOZ_CAN_RUN_SCRIPT nsresult
|
||||
SetValueFromSetRangeText(const nsAString& aValue) override;
|
||||
bool HasCachedSelection() override;
|
||||
void SetRevealPassword(bool aValue);
|
||||
MOZ_CAN_RUN_SCRIPT void SetRevealPassword(bool aValue);
|
||||
bool RevealPassword() const;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user