For optimal performance req.chrome should be evaluated only if necessary.
|Reported by:||olemis||Owned by:||olemis|
|Severity:||minor||Keywords:||chrome css script|
|Cc:||peter@…, gmartin||Trac Release:||1.0|
When the plugin is installed and active it's post_process_request() will be invoked for every request. AFAICT there is nothing in that code that would differentiate requests (API vs UI requests) so add_stylesheet() will be called for all of them which then calls add_link() that evaluates req.chrome.
mentioned in BH:comment:3:ticket:330
Change History (8)
comment:7 Changed 14 months ago by olemis
- Resolution set to fixed
- Status changed from assigned to closed