When a highlighter was created for a node that has been removed, it can no longer be
hidden due to a check performed in the hide method of the basic auto-refresh class.
While it makes sense not to display a highlighter for an invalid node, hiding a
highlighter should always remain possible.
MozReview-Commit-ID: ChkmecJeqy9
By always clearing any possible highlighters first, it helps handle the case of
toggling RDM, which does trigger `window-ready` even though the old highlighter
content is still live on the page.
MozReview-Commit-ID: FCRHW1AyiyB
The root actor listens to list changes for tabs, addons, workers and service workers.
The event listener used for each of these lists was attached too late and could miss
updates. This was fixed earlier for tabs to fix an intermittent. This patch applies
the same change to addons workers and serviceworkers.
MozReview-Commit-ID: K4gKwK9U6Vh
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
Clamp the x and y positions for the grid line numbers to make sure they
are always visible, even if extended grid lines is turned on.
MozReview-Commit-ID: 3sxdWtKyXKN
Even for very small layers we want to avoid doing work on the main
thread.
At the same time, however, increase the minimum active layer size for
animations which come from restyles. These involve the main thread
anyway, so there is less to be gained from using an active
layer. Since switching items between active and inactive can have
large knock-on effects, we want to make sure it really is worth making
the layer active.
MozReview-Commit-ID: 8N6xlVW4Dp3
After bug 1276339, storage inspector started iterating over all directories in
the profile's storage to find IDB data for a host. This approach is too general
and can go through thousands of directories in a large profile.
By using more of what we know about the host and storage layout, we can pinpoint
the directories of interest more quickly.
MozReview-Commit-ID: 563GNMX1Ges
- Used `position: absolute` instead of `position: fixed` whenever was possible.
- Updated utility functions and auto-refresh base class to consider the scrolled
values in root document and scrollable elements.
MozReview-Commit-ID: 6evdOrfj74z
This patch makes it possible to collect code coverage for xpcshell tests using the linux64-jsdcov build. It also enables the use of a 'coverage' flag to disable tests when they are instrumented with the js debugger for code coverage. Lastly, it uses the 'coverage' flag to disable certain tests.
MozReview-Commit-ID: 97VFkJmlwQn