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 #14772 from hfiguiere/bug949209-2
Browse files Browse the repository at this point in the history
Bug 949209 - make the src available if gaia is a bit older as well. r=julienw
  • Loading branch information
hfiguiere committed Dec 18, 2013
2 parents 5d53d86 + d337a78 commit 0ab61f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/performance/performance_helper.js
Expand Up @@ -59,6 +59,8 @@ function PerformanceHelper(opts) {
'}' +
'w.onapplicationloaded = function(e) {' +
' var data = e.detail;' +
/* So that it is backward compatible with the older gaia. */
' data.src = data.src || e.target.src;' +
' w.loadTimes.push(data);' +
'};' +
'w.addEventListener("apploadtime", w.onapplicationloaded);';
Expand Down

0 comments on commit 0ab61f7

Please sign in to comment.