This is an automated email from the git hooks/post-receive script.

richard pushed a commit to branch base-browser-102.5.0esr-12.0-1
in repository tor-browser.

commit 3f3ae0b69f78757e8732573ba977819b277f524b
Author: Thomas Duellmann <[email protected]>
AuthorDate: Wed Sep 7 20:27:51 2022 +0000

    Bug 1625632 - Fix dialog button access key handling for unmodified 
keypress. r=bgrins, a=RyanVM
    
    Differential Revision: https://phabricator.services.mozilla.com/D155493
---
 toolkit/content/widgets/button.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolkit/content/widgets/button.js 
b/toolkit/content/widgets/button.js
index 124232610a93..2f1c8369112c 100644
--- a/toolkit/content/widgets/button.js
+++ b/toolkit/content/widgets/button.js
@@ -106,7 +106,7 @@
         }
 
         // Test dialog buttons
-        let buttonBox = window.top.document.documentElement.buttonBox;
+        let buttonBox = window.top.document.querySelector("dialog")?.buttonBox;
         if (buttonBox) {
           this.fireAccessKeyButton(buttonBox, charPressedLower);
         }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to