Closed Bug 871331 Opened 12 years ago Closed 12 years ago

JS is getting initialized 11 times upon pageload

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-05-16

People

(Reporter: cvan, Assigned: basta)

References

()

Details

(Whiteboard: [fireplace])

Our marketplace.js code is getting loaded 11 times. Mozilla(R) FP-MKT (R) 1.0 include.js:1101 (C)Copyright Mozilla Corp 1998-2013 include.js:1102 include.js:1103 64K High Memory Area is available. include.js:1104 Mozilla(R) FP-MKT (R) 1.0 include.js:3777 (C)Copyright Mozilla Corp 1998-2013 include.js:3778 include.js:3779 64K High Memory Area is available. include.js:3780 Mozilla(R) FP-MKT (R) 1.0 include.js:6453 (C)Copyright Mozilla Corp 1998-2013 include.js:6454 include.js:6455 64K High Memory Area is available. include.js:6456 Mozilla(R) FP-MKT (R) 1.0 include.js:9129 (C)Copyright Mozilla Corp 1998-2013 include.js:9130 include.js:9131 64K High Memory Area is available. include.js:9132 Mozilla(R) FP-MKT (R) 1.0 include.js:11805 (C)Copyright Mozilla Corp 1998-2013 include.js:11806 include.js:11807 64K High Memory Area is available. include.js:11808 Mozilla(R) FP-MKT (R) 1.0 include.js:14481 (C)Copyright Mozilla Corp 1998-2013 include.js:14482 include.js:14483 64K High Memory Area is available. include.js:14484 Mozilla(R) FP-MKT (R) 1.0 include.js:17157 (C)Copyright Mozilla Corp 1998-2013 include.js:17158 include.js:17159 64K High Memory Area is available. include.js:17160 Mozilla(R) FP-MKT (R) 1.0 include.js:19833 (C)Copyright Mozilla Corp 1998-2013 include.js:19834 include.js:19835 64K High Memory Area is available. include.js:19836 Mozilla(R) FP-MKT (R) 1.0 include.js:22509 (C)Copyright Mozilla Corp 1998-2013 include.js:22510 include.js:22511 64K High Memory Area is available. include.js:22512 Mozilla(R) FP-MKT (R) 1.0 include.js:25185 (C)Copyright Mozilla Corp 1998-2013 include.js:25186 include.js:25187 64K High Memory Area is available. include.js:25188 Mozilla(R) FP-MKT (R) 1.0 include.js:27861 (C)Copyright Mozilla Corp 1998-2013 include.js:27862 include.js:27863 64K High Memory Area is available. This is likely due to something nasty in `amd.js` or in our `make includes` call.
Locally server.html runs fine, which makes me super suspicious.
Interestingly, staging and -dev are (at this time of writing) both at 022f8f7: https://marketplace-dev.allizom.org/media/git-rev.txt https://marketplace.allizom.org/media/git-rev.txt But it's reproducible only on -dev for me.
If you look at include.js, it's got 11 copies of the source code. That might be causing it.
It did - many thanks! I missed that.
Assignee: nobody → mattbasta
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-05-16
You need to log in before you can comment on or make changes to this bug.