-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1925401: Require BUTTON_NONE in nsIPrompt for button-less dialogs…
… r=Gijs,necko-reviewers This will prevent devs from accidentally requesting no buttons, since the only way to dismiss such a prompt is with an intentional call to prompt.close(). A request that indicates that button 0's label is the empty string previously indicated button 0 is hidden, which means no buttons. Now, that case is an exception unless BUTTON_NONE is set. Differential Revision: https://phabricator.services.mozilla.com/D226081 UltraBlame original commit: 80b0b1f6f80610d09dfd79275e7ededf2089205e
- Loading branch information
Showing
6 changed files
with
533 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.