Bug 1351091 - Remove unreferenced Profiler.jsm file r=BenWa
authorDan Banner <dbugs@thebanners.uk>
Thu, 04 May 2017 17:03:49 +0100
changeset 356514 462a8e39b964a77df83b9d836ab2ed33f917ffdc
parent 356513 8ff81b6fdfb83c1942fd70b645f5926340c22bb7
child 356515 46af4ac75c82dad521bd6e7fe33a7158e3bba10b
push id31767
push usercbook@mozilla.com
push dateFri, 05 May 2017 13:15:58 +0000
treeherdermozilla-central@8872ad4d52b6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersBenWa
bugs1351091
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1351091 - Remove unreferenced Profiler.jsm file r=BenWa MozReview-Commit-ID: 7nlrsdmEwS8
browser/base/content/test/static/browser_all_files_referenced.js
tools/profiler/gecko/Profiler.jsm
tools/profiler/moz.build
--- a/browser/base/content/test/static/browser_all_files_referenced.js
+++ b/browser/base/content/test/static/browser_all_files_referenced.js
@@ -230,18 +230,16 @@ var whitelist = new Set([
   // Bug 1351070
   {file: "resource://gre/modules/ContentPrefInstance.jsm"},
   // Bug 1351079
   {file: "resource://gre/modules/ISO8601DateUtils.jsm"},
   // Bug 1337345
   {file: "resource://gre/modules/Manifest.jsm"},
   // Bug 1351089
   {file: "resource://gre/modules/PresentationDeviceInfoManager.jsm"},
-  // Bug 1351091
-  {file: "resource://gre/modules/Profiler.jsm"},
   // Bug 1351658
   {file: "resource://gre/modules/PropertyListUtils.jsm", platforms: ["linux", "win"]},
   // Bug 1351097
   {file: "resource://gre/modules/accessibility/AccessFu.jsm"},
   // Bug 1351637
   {file: "resource://gre/modules/sdk/bootstrap.js"},
 
 ].filter(item =>
deleted file mode 100644
--- a/tools/profiler/gecko/Profiler.jsm
+++ /dev/null
@@ -1,16 +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/. */
-
-"use strict";
-
-const Cc = Components.classes;
-const Ci = Components.interfaces;
-const Cr = Components.results;
-
-this.EXPORTED_SYMBOLS = ["Profiler"];
-
-this.Profiler = {
-
-};
-
--- a/tools/profiler/moz.build
+++ b/tools/profiler/moz.build
@@ -11,19 +11,16 @@ if CONFIG['MOZ_GECKO_PROFILER']:
     ]
     EXPORTS += [
         'public/CrossProcessProfilerController.h',
         'public/ProfilerMarkerPayload.h',
         'public/PseudoStack.h',
         'public/shared-libraries.h',
         'public/StoreSequencer.h',
     ]
-    EXTRA_JS_MODULES += [
-        'gecko/Profiler.jsm',
-    ]
     UNIFIED_SOURCES += [
         'core/platform.cpp',
         'core/ProfileBuffer.cpp',
         'core/ProfileBufferEntry.cpp',
         'core/ProfileJSONWriter.cpp',
         'core/ProfilerBacktrace.cpp',
         'core/ProfilerMarkerPayload.cpp',
         'core/StackTop.cpp',