From a2772009aac4a6cb1519d241553b5a523622699c Mon Sep 17 00:00:00 2001 From: Sebastian Hengst Date: Fri, 25 Aug 2017 19:31:18 +0200 Subject: [PATCH] Backed out changeset cadbabe9cb86 (bug 1392407) for eslint failure at toolkit/content/aboutTelemetry.js:2065: Multiple spaces found before '{'. r=backout --- toolkit/content/aboutTelemetry.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/toolkit/content/aboutTelemetry.js b/toolkit/content/aboutTelemetry.js index a69ab8f5e14e..5093b4d7dfa6 100644 --- a/toolkit/content/aboutTelemetry.js +++ b/toolkit/content/aboutTelemetry.js @@ -2059,12 +2059,7 @@ function urlStateRestore() { } function openJsonInFirefoxJsonViewer(json) { - json = unescape(encodeURIComponent(json)); - try { - window.open("data:application/json;base64," + btoa(json)); - } catch (e) { - show(document.querySelector(".category[value=raw-payload-section]")); - } + window.open("data:application/json;base64," + btoa(json)); } function onLoad() {