Last modified: 2010-01-05 22:37:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24000, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22000 - JS error on FF 3.5
JS error on FF 3.5
Status: RESOLVED FIXED
Product: mwEmbed
Classification: Unclassified
Video player (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Michael Dale
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-03 01:28 UTC by Derk-Jan Hartman
Modified: 2010-01-05 22:37 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Derk-Jan Hartman 2010-01-03 01:28:18 UTC
When trying to use the player on Firefox 3.5.6 Mac, the player does not load, and the firebug console reports: 

http://prototype.wikimedia.org/s-2/js/mwEmbed/jsScriptLoader.php?class=mwEmbed,mw.EmbedPlayer,ctrlBuilder,$j.ui.slider,kskinConfig,$j.fn.menu,mw.TimedText,nativeEmbed&uselang=en&urid=﷒0﷓
Security error" code: "1000
mw.styleRuleExists=function(styleRule){for(var i=0;i<document.styleSheets.length;i++){var rules=null;if(document.styleSheets[i].cssRules) 


I also not the "urid" in the url, which is probably supposed to be "curid"
Comment 1 Roan Kattouw 2010-01-03 16:33:17 UTC
(In reply to comment #0)
> I also not the "urid" in the url, which is probably supposed to be "curid"
> 

I believe urid is correct here. It could be that FF 3.5.6 enforces cross-domain restrictions on accessing style sheets more strictly.
Comment 2 Michael Dale 2010-01-05 22:37:31 UTC
I have added a check for the rule variable so should avoid this error in r60696 

It may be that it does not properly detect style sheet rule existence cross domain for certain browsers. ... but not the end of the world.  

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links