Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #22893 from hfiguiere/bug1007774
Browse files Browse the repository at this point in the history
Bug 1007774 - Part 2: fix undefined/null error found with hamachi. r=eli
  • Loading branch information
hfiguiere committed Aug 14, 2014
2 parents 9ea8602 + d7017cb commit d845284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/reporters/basemozperf.js
Expand Up @@ -57,8 +57,8 @@ function BaseMozPerfReporter(runner) {
// Performance: we shall deal with wildcard
// Wildcard only on the app. Explicit app has priority.
var perfGoalKey = fullTitle.trim();
var perfGoal = mozPerfGoal[perfGoalKey];
if (!perfGoal) {
var perfGoal = mozPerfGoal ? mozPerfGoal[perfGoalKey] : undefined;
if (mozPerfGoal && !perfGoal) {
var a = perfGoalKey.split(' > ');
if (a[1] == process.env.CURRENT_APP) {
a[1] = '*';
Expand Down

0 comments on commit d845284

Please sign in to comment.