Page MenuHomePhabricator

JS templates broken in Firefox (desktop)
Closed, ResolvedPublic

Description

Author: jgonera

Description:
Getting "mw.mobileFrontend is undefined". I'm not sure why this is happening and although desktop Firefox is not very important for us, this might be a signal that something is wrong with templates implementation and/or Resource Loader.


Version: unspecified
Severity: normal

Details

Reference
bz45217

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:13 AM
bzimport set Reference to bz45217.
bzimport added a subscriber: Unknown Object (MLST).

jgonera wrote:

I seems that MFResourceLoaderModule doesn't support dependencies (adding 'dependencies' key has no effect), but mobile.beta.dependencies module depends on mobile.startup (specifically mf-application.js). It's possible that it works in other browsers just by coincidence (mobile.startup is loaded fast enough for mobile.beta.dependencies to work).