Closed
Bug 535030
Opened 15 years ago
Closed 15 years ago
$.jsonp is not a function error on Plugin Check page
Categories
(www.mozilla.org :: General, defect)
www.mozilla.org
General
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stephend, Assigned: ozten)
References
()
Details
(Whiteboard: [3.6Br5][1.9.2-fixed])
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
I'm using Firefox 3.5.5 with Shockwave Flash 10.0 r42, and http://www.mozilla.com/en-US/plugincheck/ is no longer working; instead, I get:
Error: $.jsonp is not a function
Source File: http://www.mozilla.com/js/plugincheck.js
Line: 17
Reporter | ||
Comment 1•15 years ago
|
||
(Broken on staging too: http://www-trunk.stage.mozilla.com/en-US/plugincheck/.)
Updated•15 years ago
|
Whiteboard: [3.6Br5]
Assignee | ||
Comment 2•15 years ago
|
||
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.
Assignee | ||
Comment 3•15 years ago
|
||
The updates made to mozilla.com/includes/min/groupsConfig.php break our copy of jquery-jsonp.
Assignee | ||
Comment 4•15 years ago
|
||
Moving inclusion before our script appears to be a viable work-around.
Committing and testing on www-trunk.
Reporter | ||
Comment 5•15 years ago
|
||
(In reply to comment #4)
> Moving inclusion before our script appears to be a viable work-around.
> Committing and testing on www-trunk.
http://www-trunk.stage.mozilla.com/en-US/plugincheck/ now WFM, thanks!
Assignee | ||
Comment 6•15 years ago
|
||
Trying to push en-US/plugincheck/index.html via Kubla.
It's failing to get to authstage on first attempt.
Comment 7•15 years ago
|
||
Probably should find another way to fix this. On trunk <script> is outside of <html> which breaks validation.
Comment 8•15 years ago
|
||
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.
Updated•15 years ago
|
Attachment #417853 -
Attachment is patch: true
Attachment #417853 -
Attachment mime type: application/octet-stream → text/plain
Assignee | ||
Comment 9•15 years ago
|
||
(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.
Assignee | ||
Comment 10•15 years ago
|
||
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
Assignee | ||
Comment 11•15 years ago
|
||
This is fixed in production. Keeping open to track the *real* fixes.
Updated•15 years ago
|
Flags: blocking-firefox3.6?
Comment 13•15 years ago
|
||
this is all server side, right? if so then we could remove the blocking 3.6
Assignee | ||
Comment 14•15 years ago
|
||
(In reply to comment #10)
#1 done and on www-trunk.
Using noConflict and grabbing jQuery into Pfs.$
Assignee | ||
Comment 15•15 years ago
|
||
(In reply to comment #10)
#2 done and on www-trunk
plugincheck.js will depend on mozilla.com's jquery
plugincheck_badge.js will continue to include a copy of jquery.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 16•15 years ago
|
||
Verified FIXED on:
* http://www.mozilla.com/en-US/plugincheck/
* http://www-trunk.stage.mozilla.com/en-US/plugincheck/
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Flags: blocking-firefox3.6? → blocking-firefox3.6+
Updated•15 years ago
|
Whiteboard: [3.6Br5] → [3.6Br5][1.9.2-fixed]
Updated•13 years ago
|
Component: www.mozilla.org/firefox → www.mozilla.org
Updated•12 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•