Bug 1163763 - part 2 - fix broken test from bug 1163763. r=fitzgen. CLOSED TREE
authorJordan Santell <jsantell@mozilla.com>
Tue, 04 Aug 2015 17:12:34 -0700
changeset 287806 20ced115bd640e06fbe9bc91e2e7219f683ae216
parent 287805 41465ed1411f6dc02dec6ee3faa938f105821b56
child 287807 7c556da6de98371fa87f5fb26cf3d5f107aaebce
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfitzgen
bugs1163763
milestone42.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 1163763 - part 2 - fix broken test from bug 1163763. r=fitzgen. CLOSED TREE
browser/devtools/performance/test/unit/test_marker-utils.js
--- a/browser/devtools/performance/test/unit/test_marker-utils.js
+++ b/browser/devtools/performance/test/unit/test_marker-utils.js
@@ -42,30 +42,30 @@ add_task(function () {
   equal(Utils.getMarkerFields({ name: "Javascript", causeName: "Some Platform Field" })[0].value, "(Gecko)",
     "Correctly obfuscates JS markers when platform data is off.");
   Services.prefs.setBoolPref(PLATFORM_DATA_PREF, true);
   equal(Utils.getMarkerFields({ name: "Javascript", causeName: "Some Platform Field" })[0].value, "Some Platform Field",
     "Correctly deobfuscates JS markers when platform data is on.");
 
   equal(Utils.getMarkerClassName("Javascript"), "Function Call",
     "getMarkerClassName() returns correct string when defined via function");
-  equal(Utils.getMarkerClassName("GarbageCollection"), "GC Event",
+  equal(Utils.getMarkerClassName("GarbageCollection"), "Incremental GC",
     "getMarkerClassName() returns correct string when defined via function");
   equal(Utils.getMarkerClassName("Reflow"), "Layout",
     "getMarkerClassName() returns correct string when defined via string");
 
   TIMELINE_BLUEPRINT["fakemarker"] = { group: 0 };
   try {
     Utils.getMarkerClassName("fakemarker");
     ok(false, "getMarkerClassName() should throw when no label on blueprint.");
   } catch (e) {
     ok(true, "getMarkerClassName() should throw when no label on blueprint.");
   }
 
-  TIMELINE_BLUEPRINT["fakemarker"] = { group: 0, label: () => void 0};
+  TIMELINE_BLUEPRINT["fakemarker"] = { group: 0, label: () => void 0 };
   try {
     Utils.getMarkerClassName("fakemarker");
     ok(false, "getMarkerClassName() should throw when label function returnd undefined.");
   } catch (e) {
     ok(true, "getMarkerClassName() should throw when label function returnd undefined.");
   }
 
   delete TIMELINE_BLUEPRINT["fakemarker"];