WebExtensions/Hacking: Difference between revisions

Jump to navigation Jump to search
m
(Remove $OBJDIR arg from coverage tests tool)
Line 114: Line 114:
: This is code coverage for code run in a tab content process, excluding code run only in the main browser process.
: This is code coverage for code run in a tab content process, excluding code run only in the main browser process.


In general, the total code coverage numbers are what we focus on. However, it is extremely important code which is expected to run in both the main browser process and in a content process to be tested in both. If you know that your code falls into this category, please check that it's tested appropriately.
In general, the total code coverage numbers are what we focus on. However, it is extremely important for code which is expected to run in both the main browser process and in a content process to be tested in both. If you know that your code falls into this category, please check that it's tested appropriately.


The above results are generated using [https://people.mozilla.org/~kmaglione/webext-coverage.patch this patch], which could generously be described as a fairly gross hack. If you'd like to run the tests yourself, you can do so with something like the following:
The above results are generated using [https://people.mozilla.org/~kmaglione/webext-coverage.patch this patch], which could generously be described as a fairly gross hack. If you'd like to run the tests yourself, you can do so with something like the following:
Account confirmers, Confirmed users
126

edits

Navigation menu