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
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
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
Changes:
- Added storage-listings-with-fragment.html and browser_storage-listings-with-fragment.js. The only difference between these and storage-listings.html and browser_storage-listings.js is that they contain url fragments wherever URLs are loaded e.g. #abc, #def etc.
- When referencing cookies in tests we used to only use the hostname but a full URL was needed for other storage types. For consistency we now use the full URL for all storage types.
- storage.js used to contain various getHostName() methods depending on which storage type was needed. This has been changed to a single method that acts according to which protocol is in use. Cookies are the only storage type that requires just a hostname for the http and https protocols so we strip them inside the cookies actor where required. null is returned when storage types are not available for a particular protocol e.g. data:// URLs.
- browser_storage_dynamic_windows.js and browser_storage_listings.js now detect cookies that were previously missed. This is a result of the getHostName() improvements.
MozReview-Commit-ID: 8ZzM1Xz5hwU
This patch doesn't currently work. The test fails in two test cases. Right now the styles for a 'locked-off' psuedo class are still being applied.
MozReview-Commit-ID: DppYTmILpwy
* * *
[mq]: temp
MozReview-Commit-ID: 74iIOQumfrw
MozReview-Commit-ID: J1EmwxplNhA
Make actor registration more explicit and documented.
Each codepath depends on various set of actors, and it may be confused
as we often register actors if the DebuggerServer wasn't initialized yet.
But it is often already started by some other callsite...
This changeset also converts childtab to being just a module
and stop using DebuggerServer.addActors magic.