Closed Bug 1121525 Opened 9 years ago Closed 9 years ago

XUL include script not being included

Categories

(Firefox :: Toolbars and Customization, defect)

35 Branch
defect
Not set
blocker

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ray_engelking, Unassigned)

Details

I have an extension that I created that has been working fine up until this latest release 35 of Firefox.  It no longer works now.
There is a toollbar xul page called pin4ever.xul .  This includes two scripts:
	<script type="application/x-javascript" src="chrome://pin4ever/content/pin.js" />
	<script type="application/x-javascript" src="chrome://pin4ever/content/pin4ever.js" />

The pin4ever.js script accesses a var called Pin4EverPin in the pin.js file.  With Firefox 35 it is giving a Pin4EverPin is not defined error.
What should have happened is it should have been able to access the Pin4EverPin variable.
There is an error before that error that shows where the problem is, it was a TypeError: redeclaration of variable query.  I had two let statements in there, that somehow it was allowing before, so my bad.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.