Commit Graph
8 Commits
Author SHA1 Message Date
Edward Billington 26588c3216 Bug 1579663 - Allow data url background-image in styled console logs r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D55376
2019-12-04 09:31:54 +00:00
Armando Ferreira ab0447079c Bug 1523868 - Add a doorhanger options menu in console toolbar - Part 1.
Differential Revision: https://phabricator.services.mozilla.com/D47979
2019-10-15 17:04:30 +00:00
Dorel Luca b9570dcb8c Backed out changeset 03643a08fe82 (bug 1523868) for Node failure in Unexpected token y in JSON at position 0. CLOSED TREE 2019-10-15 18:42:20 +03:00
Armando Ferreira 736a79a179 Bug 1523868 - Add a doorhanger options menu in console toolbar - Part 1.
Differential Revision: https://phabricator.services.mozilla.com/D47979
2019-10-15 15:31:32 +00:00
Nicolas Chevobbe bf187247d6 Bug 1574791 - Don't emit a warning message when enabling CSS warnings. r=Honza.
There was a warning message displayed to indicate that
the stylesheets where parsed again for checking errors,
and that in order to see errors for CSS modified in
Javascript, the tab should be reloaded.
The jargon used there was confusing, and also this was
more a notice than an actual warning message.
In order to remove confusion, we don't emit this message
anymore, but add a title to the CSS filter button when
it's disabled. The sentence is reworded to be simpler
to understand.

Differential Revision: https://phabricator.services.mozilla.com/D44118
2019-08-30 08:57:50 +00:00
Alexandre Poirot 680b2ec9e1 Bug 1570242 - Rename target to currentTarget in WebConsole codebase. r=nchevobbe,yulia
Do that to better highlight that the target can change over time.

Differential Revision: https://phabricator.services.mozilla.com/D41798
2019-08-22 08:10:13 +00:00
Nicolas Chevobbe 8141e2638d Bug 1572442 - Refactor how we create Console's network data provider. r=Honza.
The DataProvider is what allows us to use the Netmonitor
components. The way it was created before was non optimal,
as it were inside an enhancer, and was then attached to
a proxy.
As we may now have multiple proxies, this could cause
some issue.
So we take this as an opportunity to create the DataProvider
in the WebConsoleWrapper (where live the actions we need for
the provider), and remove the now unused function on the
WebConsoleConnectionProxy.

Differential Revision: https://phabricator.services.mozilla.com/D41354
2019-08-19 14:53:52 +00:00
Nicolas Chevobbe a23e6858b0 Bug 1572008 - Re-organize WebConsole client tests folder. r=Honza.
- mochitest folder is renamed browser.
- unit folder is rename xpcshell.
- all the file and folder for mocha are put in a node folder.

We take this as an opportunity to revist our stub-generating
mochitests.
Previously we had 2 tests for each kind of stubs, one for check,
the other one for updating.
It was not ideal when you wanted to update all the stubs at once
because you add either to mention every 5 files, or unskip the
update test files.
We now merge the update and the check files in a single test.
By default, the test that the stubs are up to date, and if you
pass the --setenv WEBCONSOLE_STUBS_UPDATE=true param, it will
update the stubs.
This allow us to move the function that actually generate the stub
in the test file, and have a helper file for multi-purpose functions.
Because these tests are failing on TRY, let's disabled them so we
can land the test re-organization (we'll re-enable them in Bug 1572667).

Differential Revision: https://phabricator.services.mozilla.com/D41344
2019-08-09 09:54:41 +00:00