L20n/Features/Expression errors

From MozillaWiki
< L20n‎ | Features
Revision as of 20:04, 7 August 2012 by Jbeatty (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


goals

Specify the error pattern for L20n expressions.

plan

  • index and expander must return a string or a number
  • if resolving a hash or an array via index or member/attribute expression fails, the expression returns false
  • if an entity requested is not available or does not resolve, return false
  • if an entity does not have a requested value key or an attribute, return false
  • if a call from a developer returns false, return null

status

  • gandalf - accepted
  • stas - ?
  • pike - ?