From 26f640b36b88c64cb101323799148a1d3e360a8e Mon Sep 17 00:00:00 2001 From: Andreea Pavel Date: Tue, 10 Apr 2018 05:11:36 +0300 Subject: [PATCH] Backed out 4 changesets (bug 1366808) for Windows GPU leakchecks on a CLOSED TREE Backed out changeset 23f60e5acaa2 (bug 1366808) Backed out changeset bf2262b6aca8 (bug 1366808) Backed out changeset 1fc82af3a155 (bug 1366808) Backed out changeset 0649f0d9884b (bug 1366808) --- browser/base/content/aboutRestartRequired.js | 33 ---------- .../base/content/aboutRestartRequired.xhtml | 56 ----------------- browser/base/content/tabbrowser.js | 13 +--- browser/base/jar.mn | 2 - browser/components/about/AboutRedirector.cpp | 2 - browser/components/build/nsModule.cpp | 1 - .../chrome/browser/aboutRestartRequired.dtd | 13 ---- browser/locales/jar.mn | 1 - browser/modules/ContentCrashHandlers.jsm | 32 ++-------- .../themes/shared/aboutRestartRequired.css | 41 ------------- browser/themes/shared/jar.inc.mn | 1 - docshell/base/nsDocShell.cpp | 10 --- dom/ipc/ContentChild.cpp | 10 +-- dom/ipc/ContentChild.h | 1 - dom/ipc/ContentParent.cpp | 4 -- dom/ipc/ContentProcess.cpp | 11 +--- dom/ipc/TabParent.cpp | 14 ++--- gfx/ipc/GPUParent.cpp | 10 +-- gfx/ipc/GPUParent.h | 1 - gfx/ipc/GPUProcessImpl.cpp | 7 --- ipc/glue/MessageChannel.cpp | 61 ++++++++++--------- ipc/glue/MessageChannel.h | 5 +- ipc/glue/ProtocolUtils.h | 13 ++-- js/xpconnect/src/xpc.msg | 1 - netwerk/base/nsILoadInfo.idl | 2 +- toolkit/components/telemetry/Histograms.json | 9 --- .../telemetry/histogram-whitelists.json | 1 - xpcom/base/ErrorList.py | 3 - 28 files changed, 55 insertions(+), 303 deletions(-) delete mode 100644 browser/base/content/aboutRestartRequired.js delete mode 100644 browser/base/content/aboutRestartRequired.xhtml delete mode 100644 browser/locales/en-US/chrome/browser/aboutRestartRequired.dtd delete mode 100644 browser/themes/shared/aboutRestartRequired.css diff --git a/browser/base/content/aboutRestartRequired.js b/browser/base/content/aboutRestartRequired.js deleted file mode 100644 index f30b6f61e932..000000000000 --- a/browser/base/content/aboutRestartRequired.js +++ /dev/null @@ -1,33 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -/* eslint-env mozilla/frame-script */ -ChromeUtils.import("resource://gre/modules/Services.jsm"); - -var AboutRestartRequired = { - /* Only do autofocus if we're the toplevel frame; otherwise we - don't want to call attention to ourselves! The key part is - that autofocus happens on insertion into the tree, so we - can remove the button, add @autofocus, and reinsert the - button. - */ - addAutofocus() { - if (window.top == window) { - var button = document.getElementById("restart"); - var parent = button.parentNode; - button.remove(); - button.setAttribute("autofocus", "true"); - parent.insertAdjacentElement("afterbegin", button); - } - }, - restart() { - Services.startup.quit(Ci.nsIAppStartup.eRestart | - Ci.nsIAppStartup.eAttemptQuit); - }, - init() { - this.addAutofocus(); - }, -}; - -AboutRestartRequired.init(); diff --git a/browser/base/content/aboutRestartRequired.xhtml b/browser/base/content/aboutRestartRequired.xhtml deleted file mode 100644 index fb8dc90c53f6..000000000000 --- a/browser/base/content/aboutRestartRequired.xhtml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - %htmlDTD; - - %globalDTD; - - %brandDTD; - - %restartRequiredDTD; -]> - - - - &restartRequired.title; - - - - - - - -
-
-
-

&restartRequired.header;

-
-
-
&restartRequired.description;
-
-
- -
- -
-
- -