[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.2.0esr-14.0-1] fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in...



Title: GitLab

morgan pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • ba8dff6e
    by Henry Wilkes at 2024-08-28T20:09:34+00:00
    fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
    
    Bug 42803: Force focus ring to show for built-in bridge radio options.
    

1 changed file:

Changes:

  • browser/components/torpreferences/content/builtinBridgeDialog.js
    ... ... @@ -114,6 +114,16 @@ const gBuiltinBridgeDialog = {
    114 114
       },
    
    115 115
     };
    
    116 116
     
    
    117
    +// Initial focus is not visible, even if opened with a keyboard. We avoid the
    
    118
    +// default handler and manage the focus ourselves, which will paint the focus
    
    119
    +// ring by default.
    
    120
    +// NOTE: A side effect is that the focus ring will show even if the user opened
    
    121
    +// with a mouse event.
    
    122
    +// TODO: Remove this once bugzilla bug 1708261 is resolved.
    
    123
    +document.subDialogSetDefaultFocus = () => {
    
    124
    +  document.getElementById("torPreferences-builtinBridge-typeSelection").focus();
    
    125
    +};
    
    126
    +
    
    117 127
     window.addEventListener(
    
    118 128
       "DOMContentLoaded",
    
    119 129
       () => {
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits