rev087/ng-inspector

Further issues barring entrance to the Mozilla Add-ons gallery

Open

#113 建立於 2015年5月26日

在 GitHub 查看
 (8 留言) (0 反應) (0 負責人)JavaScript (787 star) (100 fork)batch import
firefoxhelp wanted

描述

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.

貢獻者指南