mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout eb0a4ef7d8b9 (bug 1032128) for adding UX noise. r=me
This commit is contained in:
parent
3edd540baf
commit
d208cee7f7
@ -9,8 +9,6 @@ const { Services } = Cu.import("resource://gre/modules/Services.jsm");
|
||||
const { require } =
|
||||
Cu.import("resource://gre/modules/devtools/Loader.jsm", {}).devtools;
|
||||
const QR = require("devtools/toolkit/qrcode/index");
|
||||
const PROPERTIES = "chrome://browser/locale/devtools/webide.properties";
|
||||
const Strings = Services.strings.createBundle(PROPERTIES);
|
||||
|
||||
window.addEventListener("load", function onLoad() {
|
||||
window.removeEventListener("load", onLoad);
|
||||
@ -33,10 +31,6 @@ function createQR(oob) {
|
||||
}
|
||||
|
||||
function createToken(oob) {
|
||||
let spacedCert = oob.sha256.replace(/:/g, " ").toLowerCase();
|
||||
let certText = Strings.formatStringFromName("wifi_auth_cert",
|
||||
[spacedCert], 1);
|
||||
document.querySelector("#cert").textContent = certText;
|
||||
let token = oob.sha256.replace(/:/g, "").toLowerCase() + oob.k;
|
||||
document.querySelector("#token pre").textContent = token;
|
||||
}
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
<h3 id="header">&wifi_auth_header;</h3>
|
||||
<div id="scan-request">&wifi_auth_scan_request;</div>
|
||||
<div id="cert"></div>
|
||||
|
||||
<div id="qr-code">
|
||||
<div id="qr-code-wrapper">
|
||||
|
@ -77,9 +77,3 @@ status_unknown=UNKNOWN
|
||||
|
||||
# Device preferences and settings
|
||||
device_reset_default=Reset to default
|
||||
|
||||
# WiFi Auth
|
||||
# LOCALIZATION NOTE (wifi_auth_cert): Part of the dialog that instructs the
|
||||
# user to transfer an authentication token to the server.
|
||||
# %1$S: The client's cert fingerprint
|
||||
wifi_auth_cert=My Cert: %1$S
|
||||
|
Loading…
Reference in New Issue
Block a user