Closed Bug 952417 Opened 11 years ago Closed 10 years ago

Validation blocks add-ons using minified version of jQuery

Categories

(addons.mozilla.org Graveyard :: Add-on Validation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 934388

People

(Reporter: lvanbass, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release)
Build ID: 20131216183647

Steps to reproduce:

I tried to upload my new add-on which uses a minified version of jquery 1.9.1.


Actual results:

JS reflection error prevented validation

Erreur: An error in the JavaScript file prevented it from being properly read by the Spidermonkey JS engine.

'1:0 warning: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead\n'
resources/benki-extension/data/vendor/assets/jquery/jquery-1.9.1.min.js


Expected results:

The add-on should have been accepted.
Even the most recent versions of jQuery use the //@ syntax to link to source map.
I understand that this could be a warning, but I'm bugged that my add-on could be refused because of that...

Workaround (I guess, still have to try it out): use a non-minified version of jQuery.
Are you using the version available from jquery.com? As far as I understand it, that should work without any errors, even if minified.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.