Reproduction steps
- Make sure annotation are not enabled by default.
- Visit a page with 0 annotation
- Check the networks tab of your browser debugger
Expected The network tag contains only small pieces of javascript/css required to:
- open the annotation setting (in tmMoreActions droppdown
- listen for the annotation shortcuts
- open the annotations from the comment panel
Actual All the javascript/css for the annotations is loaded, including everything required to manipulate annotations, even though they are likely to be useless by default. In addition, annotations javascript/css is even loaded for users without edit rights on the current document. |