rev087/ng-inspector

Further issues barring entrance to the Mozilla Add-ons gallery

Open

#113 opened on May 26, 2015

View on GitHub
 (8 comments) (0 reactions) (0 assignees)JavaScript (787 stars) (100 forks)batch import
firefoxhelp wanted

Description

Your version was rejected because of the following problems:

  1. Dynamic creation of script nodes can be unsafe if contents are not static or are otherwise unsafe, or if src is remote. ng-inspector/data/inject.js 5
  2. The "mouseover", "mouseout" events are dispatched with high frequency and can cause performance issues. Use mutation observers instead https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver

Tested on Ubuntu 14.04 with Firefox v38

  1. is debatable, although we do create a script node, the contents are static and are not remote. What they consider unsafe exactly might be the bigger issue.
  2. could be solved by either the suggested method, or better yet (imo) using delegate events, which is a long overdue optimization either way.

Contributor guide