This adds some tests to ensure the hidden messages toolbar works
as expected. There are some for testing the component itself, as
well as some to test the store.
Some fixtures were modified as well to better represent the state
of the application.
MozReview-Commit-ID: 3Swqff1mbck
--HG--
extra : rebase_source : 48cff5c3c5e44e5aea9437d1243604ed69b19222
This adds a "filteredMessagesCount" property to the messages store,
which is updated at the same time as we update the "visibleMessages"
property.
The global number of hidden messages is then shown next to the text search
input, and a button can be clicked to Reset the filters to their original
values.
This only takes into account messages that are filtered-out because
the default filters changes. Which means that non-default filters, like
CSS, Network and XHR don't impact filteredMessagesCount.
We take this as an opportunity to rename the match*Filter functions to
pass*Filter, since it better represents what the function does (a network
message is not impacted by a level filter, but it can be misleading to say
that it matches level filters).
MozReview-Commit-ID: BLPmCFNtzEl
--HG--
extra : rebase_source : 8ea4abbc8f8847a306d3bac4fd87d07e0ccb8f89
This ensures that we scroll to the bottom when the user evaluate
something in the console.
A test is added to make sure this works as expected.
MozReview-Commit-ID: Arh6rftQeKo
--HG--
extra : rebase_source : ca79a1d7751ddd1d3a975dcfa60319f025e6588e
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim
MozReview-Commit-ID: Dyc2UUJGsrs
--HG--
extra : source : b7435cd66ce3299d23f71a9bf855edbcb1ccacf2
Removing dependencies from mozilla-central to devtools. Use DevTools shim instead
of directly depending on devtools code here.
MozReview-Commit-ID: CeV5tfw1Vnz
--HG--
extra : source : 22baf4e67730ce89d5342cb0dd5c1e2e5944b4a1
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim
MozReview-Commit-ID: Dyc2UUJGsrs
--HG--
extra : rebase_source : 018660cc54bf2454c1f810ded639fd647ba79da3
Removing dependencies from mozilla-central to devtools. Use DevTools shim instead
of directly depending on devtools code here.
MozReview-Commit-ID: CeV5tfw1Vnz
--HG--
extra : rebase_source : 515278b93ad9840f6af89fb13cc62bb819a65253
This removes the blue-background on hover which mades the
messages hard to read, to a 3px left-colored border.
MozReview-Commit-ID: CKWodKuZDVs
--HG--
extra : rebase_source : b5dff597b97d108724aa336ff5a76c1b04eefb1f
This API is only implemented as a temporary measure to ease the migration out of
sdk APIs.
MozReview-Commit-ID: BBlhxclpWqJ
--HG--
extra : rebase_source : 4de2e6ec946634acaf638777aab2589eeb5125a2
This hopefully fix the frequent intermittent on this test.
In the cleanPacket function, we are overriding the actor
of arguments. Thus, some server-calls were using an unknown
actorId, which resulted in errors.
We now create a new object for the argument for the stub so
we don't override anything.
MozReview-Commit-ID: EcvVUqQS3Dt
--HG--
extra : rebase_source : 4f373a4afcaf7d056e8a073a4dff382e6460197e