Closed Bug 535030 Opened 14 years ago Closed 14 years ago

$.jsonp is not a function error on Plugin Check page


( :: General, defect)

Not set


(Not tracked)



(Reporter: stephend, Assigned: ozten)




(Whiteboard: [3.6Br5][1.9.2-fixed])


(1 file)

I'm using Firefox 3.5.5 with Shockwave Flash 10.0 r42, and is no longer working; instead, I get:

Error: $.jsonp is not a function
Source File:
Line: 17
Whiteboard: [3.6Br5]
Disabling all plugins and the page works.

Enabling any plugin and the page breaks on www-trunk.

Still working to identify the root cause.
My dev env works, trunk, authstage, and prod are broken.
The updates made to break our copy of jquery-jsonp.
Moving inclusion before our script appears to be a viable work-around.
Committing and testing on www-trunk.
(In reply to comment #4)
> Moving inclusion before our script appears to be a viable work-around.
> Committing and testing on www-trunk. now WFM, thanks!
Trying to push en-US/plugincheck/index.html via Kubla.

It's failing to get to authstage on first attempt.
Probably should find another way to fix this. On trunk <script> is outside of <html> which breaks validation.
Attached patch Fixes problem.Splinter Review
This is one way to fix it. Another way(probably better, but a larger change) would be to move jquery to the js group in groupsConfig.php and rip it out of plugincheck.js.
Attachment #417853 - Attachment is patch: true
Attachment #417853 - Attachment mime type: application/octet-stream → text/plain
(In reply to comment #7)
Thanks for catching that.
(In reply to comment #8)
Yes, I want to rework the way jquery is included, but it will take longer and this page is in the middle of refactoring for L10n and web badge code. I'll back out my work and try to get it working w/o jquery inline instead of pushing a quick prod fix.
On trunk is a version that validates. It uses the $extra_footers global variable to add JavaScript after the footer. This should be a suitable quick fix.

Still working on 
1) no jQuery version
2) conflict free jQuery version for web badge
This is fixed in production. Keeping open to track the *real* fixes.
Flags: blocking-firefox3.6?
this is all server side, right?   if so then we could remove the blocking 3.6
(In reply to comment #10)
#1 done and on www-trunk.

Using noConflict and grabbing jQuery into Pfs.$
(In reply to comment #10)
#2 done and on www-trunk

plugincheck.js will depend on's jquery
plugincheck_badge.js will continue to include a copy of jquery.
Closed: 14 years ago
Resolution: --- → FIXED
Flags: blocking-firefox3.6? → blocking-firefox3.6+
Whiteboard: [3.6Br5] → [3.6Br5][1.9.2-fixed]
Component: →
Component: → General
Product: Websites →
You need to log in before you can comment on or make changes to this bug.