You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in openzipkin/zipkin#261, the Zipkin browser extension currently renders the Firebug panel by directly constructing HTML. There's not a whole lot of HTML to construct, but it would be easier to maintain and audit for security if it was done using templates instead. Unfortunately we can't easily drop in something like Hogan because it has to execute in the Chrome context which doesn't have the same APIs available as the browser window. Firebug uses Domplate, which uses JS to build the DOM instead of HTML templates with substitutions, but that's annoyingly verbose. It's not clear to me what the canonical approach is for Firefox addons, if there is one, but it probably leans towards Domplate.
Using HTML-based templates is feasible, but will require a little work.
The text was updated successfully, but these errors were encountered:
(manually copying from openzipkin/zipkin#264 by @IceCreamYou)
As discussed in openzipkin/zipkin#261, the Zipkin browser extension currently renders the Firebug panel by directly constructing HTML. There's not a whole lot of HTML to construct, but it would be easier to maintain and audit for security if it was done using templates instead. Unfortunately we can't easily drop in something like Hogan because it has to execute in the Chrome context which doesn't have the same APIs available as the browser window. Firebug uses Domplate, which uses JS to build the DOM instead of HTML templates with substitutions, but that's annoyingly verbose. It's not clear to me what the canonical approach is for Firefox addons, if there is one, but it probably leans towards Domplate.
Using HTML-based templates is feasible, but will require a little work.
The text was updated successfully, but these errors were encountered: