Move to maketext: sample templates

Vitaly Fedrushkov fedrushkov at users.sourceforge.net
Fri Mar 6 05:23:47 UTC 2009


Vitaly Fedrushkov wrote:
> https://bugzilla.mozilla.org/attachment.cgi?id=359941&action=diff

Per bug 481796 [1], adding more syntactic sugar to reduce template complexity 
considered harmful, primarily from security standpoint.

Introduction of Maketext would inevitably reduce direct text rendering.  Note 
how other case (bug 367784 [2]) also led to introduction of virtual methods.

And FILTERs are not handy enough for tasks besides direct text rendering.  Any 
logic besides simple nesting results in excessive template complexity when 
implemented with FILTERs.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=481796
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=367784#c3
_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla



More information about the developers mailing list