Commit Graph
73 Commits
Author SHA1 Message Date
Staś Małolepszy 1d2c6b44d6 Bug 1568914 - Update Fluent to @fluent/bundle 0.14.0 r=zbraniecki,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39400
2019-07-30 13:21:59 +00:00
Belén Albeza 3a75da81d6 Bug 1553799 - Part 3: Move serviceContainer to its own module r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39374
2019-07-29 12:53:18 +00:00
Belén Albeza 3a2e17b944 Bug 1553799 - Part 2: Move rendering of workers to their own root component r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39373
2019-07-29 12:52:02 +00:00
Belén Albeza 1d4bab6e3c Bug 1553799 - Part 1: Move worker-related components to their own folder r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39372
2019-07-29 12:50:17 +00:00
Kris Maglione fdba7d1377 Bug 1568035: Part 1 - Skip tests which cause shutdown leaks under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D39459
2019-07-19 15:31:16 -07:00
Ola Gasidlo bb356accaf Bug 1558756 - Adding jest tests for components, r=ladybenko,jdescottes
added more jest test for components including snapshots + fixtures

Differential Revision: https://phabricator.services.mozilla.com/D38089
2019-07-24 09:27:08 +00:00
Mihai Alexandru Michis cdd7e152fb Backed out changeset 266931d06efb (bug 1558756) for causing devtools failures CLOSED TREE 2019-07-23 17:49:45 +03:00
Ola Gasidlo 7cfc654509 Bug 1558756 - Adding jest tests for components, r=ladybenko,jdescottes
added more jest test for components including snapshots + fixtures

Differential Revision: https://phabricator.services.mozilla.com/D38089
2019-07-23 14:35:42 +00:00
Belén Albeza 83cd5ac6a4 Bug 1557694 - Use <button> instead of <a> for Start/Debug workers r=Ola
**NOTE: This depends on D35513, so if it has not landed yet, please `arc patch D35513` before patching this one on top.**

- `.devtools-button` styles in `common.css` are kinda broken , so I decided to roll out our own button component (`UIButton`) after consulting with Victoria colors, sizes, etc. The other downside to selectors in `common.css` is that they can have a high specificity :(
- Victoria said to use the "micro" style from Photon as the default style for buttons in the panels. So I created an even smaller "micro" styles (very similar to `.devtools-togglebutton`) for when we need smaller buttons.
- I created some light/dark variables in our stylesheets instead of on `variables.css` because `--theme-button-background` was already taken (only used in a single panel, but still…). Maybe after the buttons are fixed globally in the common folder, we could use the variables there. In the meantime, to avoid losing more time, I rolled out our own vars here.

Differential Revision: https://phabricator.services.mozilla.com/D37883
2019-07-22 15:40:12 +00:00
Mihai Alexandru Michis 2a0c7bf412 Backed out changeset 4dd499946b35 (bug 1557694) for causing failures in browser_parsable_css.js CLOSED TREE 2019-07-22 17:51:14 +03:00
Belén Albeza 0bccbffbcb Bug 1564861 - WorkerList should have unique keys r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D38053
2019-07-16 10:18:17 +00:00
Belén Albeza 98faa2c45c Bug 1557694 - Use <button> instead of <a> for Start/Debug workers r=Ola
**NOTE: This depends on D35513, so if it has not landed yet, please `arc patch D35513` before patching this one on top.**

- `.devtools-button` styles in `common.css` are kinda broken , so I decided to roll out our own button component (`UIButton`) after consulting with Victoria colors, sizes, etc. The other downside to selectors in `common.css` is that they can have a high specificity :(
- Victoria said to use the "micro" style from Photon as the default style for buttons in the panels. So I created an even smaller "micro" styles (very similar to `.devtools-togglebutton`) for when we need smaller buttons.
- I created some light/dark variables in our stylesheets instead of on `variables.css` because `--theme-button-background` was already taken (only used in a single panel, but still…). Maybe after the buttons are fixed globally in the common folder, we could use the variables there. In the meantime, to avoid losing more time, I rolled out our own vars here.

Differential Revision: https://phabricator.services.mozilla.com/D37883
2019-07-22 12:25:09 +00:00
Gurzau Raul 29167ed691 Bug 1559591 - disabled a few browser_application_panel tests to avoid leaks r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D38654
2019-07-19 13:28:49 +00:00
Ola Gasidlo 772d422172 Bug 1557699 - Improve CSS base, r=ladybenko
Added variables in base.css, reduced specificity

Differential Revision: https://phabricator.services.mozilla.com/D35513
2019-07-12 08:24:55 +00:00
Belén Albeza c668d569a2 Bug 1558757 - Add unit tests for reducers. r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D36741
2019-07-09 13:40:55 +00:00
Sebastian Hengst ecf03b01a4 Bug 1554707 - Refactor test folder structure: adjust code for js Prettier. a=eslint-fix CLOSED TREE 2019-07-08 12:06:32 +02:00
Ola Gasidlo 06799ccabe Bug 1554707 - Refactor test folder structure, r=jdescottes,ladybenko
Refactor test folder structure to align with remote debugging

Differential Revision: https://phabricator.services.mozilla.com/D35002
2019-07-08 09:20:28 +00:00
Victor Porof b7732ae890 Bug 1561435 - Format devtools/client/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35884
2019-07-05 11:24:38 +02:00
yulia c4413e3535 Bug 1559591 - disable start-service-worker test r=jdescottes,yulia
due to leaks related to this test on other linux platforms, we might want to disable this
test on linux in general

Differential Revision: https://phabricator.services.mozilla.com/D35199
2019-06-24 09:11:18 +00:00
yulia 4d1945c27f Bug 1559487 - disable browser_application_panel_start-service-worker.js test on linux asan r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D35079
2019-06-14 21:11:25 +00:00
Belén Albeza 4b0fe7fed1 Bug 1553783 - Add mochitest for unregister service worker button r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D34168
2019-06-11 21:27:26 +00:00
Belén Albeza 7c9dd8d387 Bug 1553784 - Add mochitest for empty list of service workers r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D34154
2019-06-11 21:23:59 +00:00
Belén Albeza cca248d255 Bug 1553110 - Part 3: add test for Start worker button r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D33929
2019-06-07 12:57:16 +00:00
Belén Albeza 7d014afe8f Bug 1553110 - Part 2: Disable debugging/start links if sw cannot be debugged (multie10s) r=Ola,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D33637
2019-06-07 12:58:16 +00:00
Ola Gasidlo 4b8af84b48 Bug 1473295 - add enviroment for unit tests, r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D32959
2019-06-06 13:49:49 +00:00
David Walsh d5de1c9ead Bug 1500987 - Elevate the new debugger one directory. r=jlast 2019-04-09 13:16:00 -04:00
Noemi Erli b90b1b551f Backed out changeset ca42d5764b08 (bug 1500987) for failures in browser_dbg_worker-console-04.js 2019-04-09 19:04:30 +03:00
David Walsh 2113d7d3da Bug 1500987 - Elevate the new debugger one directory. r=jlast 2019-04-09 10:31:11 -04:00
Andreea Pavel 37877174ea Backed out changeset 21e7aa527584 (bug 1500987) for debugger, clipboard and dt failures on a CLOSED TREE 2019-04-08 23:15:05 +03:00
David Walsh 8d7dc8f078 Bug 1500987 - Elevate the new debugger one directory. r=jlast 2019-04-08 15:10:44 -04:00
Alexandre Poirot e9c0994e1c Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

Differential Revision: https://phabricator.services.mozilla.com/D16874
2019-02-02 11:24:24 +00:00
Bogdan Tara c0cfac2f78 Backed out 8 changesets (bug 1465635) for failures on browser_canvas-actor-test-10.js, browser_target_server_compartment.js CLOSED TREE
Backed out changeset e8e363f98525 (bug 1465635)
Backed out changeset 9ec017a91e78 (bug 1465635)
Backed out changeset 11413ebfbcaf (bug 1465635)
Backed out changeset 52728b761d5d (bug 1465635)
Backed out changeset 734646bf9829 (bug 1465635)
Backed out changeset d9ae7cd34c1a (bug 1465635)
Backed out changeset 00d325ab677a (bug 1465635)
Backed out changeset a9b181f32189 (bug 1465635)
2019-01-30 18:54:05 +02:00
Alexandre Poirot 47a8a0d0bd Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

Differential Revision: https://phabricator.services.mozilla.com/D16874
2019-01-30 13:28:25 +00:00
Jason Laster d98ef55113 Bug 1523386 - Update debugger frontend (release 121). r=dwalsh 2019-01-28 21:01:17 -05:00
Julian Descottes cc81cc88fe Bug 1510654 - Create fronts for ServiceWorkerRegistration, PushSubscription and ServiceWorker;r=ochameau,ladybenko
Depends on D15375

Differential Revision: https://phabricator.services.mozilla.com/D15376
2019-01-10 17:26:35 +00:00
Mark Banner 3d6aaad3f5 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389
2018-10-19 12:55:39 +00:00
Alexandre Poirot 120935cab4 Bug 1485660 - Adapt TabClient API to protocol one. r=jdescottes
MozReview-Commit-ID: 1dC5opkgLcQ

Depends on D7459

Differential Revision: https://phabricator.services.mozilla.com/D8066
2018-10-15 08:36:12 +00:00
Brindusan Cristian dac48fe630 Backed out 8 changesets (bug 1485660) for damp failures on front.hasRequests. CLOSED TREE
Backed out changeset 7a2f29bbe2a8 (bug 1485660)
Backed out changeset 26e82fa62444 (bug 1485660)
Backed out changeset 9bb2f56f219d (bug 1485660)
Backed out changeset 40a3c2dd1b38 (bug 1485660)
Backed out changeset cfb160882db9 (bug 1485660)
Backed out changeset 3642f2d66777 (bug 1485660)
Backed out changeset 9026679753b2 (bug 1485660)
Backed out changeset dccca441b980 (bug 1485660)
2018-10-11 22:33:35 +03:00
Alexandre Poirot eca444119b Bug 1485660 - Adapt TabClient API to protocol one. r=jdescottes
MozReview-Commit-ID: 1dC5opkgLcQ

Depends on D7459

Differential Revision: https://phabricator.services.mozilla.com/D8066
2018-10-11 15:46:30 +00:00
Andrew Halberstadt ee4e0b95b7 Bug 1470266 - [ci] Schedule serviceworker-e10s mochitest tasks with linux64/debug on mozilla-central, r=jmaher
This duplicates all the mochitest, based tests except with
dom.serviceWorkers.parent_intercept set to true. For now they are only run on
mozilla-central with linux64/debug.

Differential Revision: https://phabricator.services.mozilla.com/D7641
2018-10-05 19:12:27 +00:00
Cosmin Sabou 1141a11643 Backed out changeset bf17ad5b022f (bug 1470266) for breaking test-verify. 2018-10-05 18:30:29 +03:00
Andrew Halberstadt 568ccb0f67 Bug 1470266 - [ci] Schedule serviceworker-e10s mochitest tasks with linux64/debug on mozilla-central, r=jmaher
This duplicates all the mochitest, based tests except with
dom.serviceWorkers.parent_intercept set to true. For now they are only run on
mozilla-central with linux64/debug.

Differential Revision: https://phabricator.services.mozilla.com/D7641
2018-10-05 14:55:09 +00:00
Bogdan Tara b40e5a458b Backed out changeset 423ba8ffc8d7 (bug 1470266) for robocop failures CLOSED TREE 2018-10-05 06:46:24 +03:00
Andrew Halberstadt a6cdec9a7e Bug 1470266 - [ci] Schedule serviceworker-e10s mochitest tasks with linux64/debug on mozilla-central, r=jmaher
This duplicates all the mochitest, based tests except with
dom.serviceWorkers.parent_intercept set to true. For now they are only run on
mozilla-central with linux64/debug.

Differential Revision: https://phabricator.services.mozilla.com/D7641
2018-10-05 02:05:12 +00:00
Alexandre Poirot 2df2d40777 Bug 1397020 - Remove useless calls to TabTarget.attach r=yulia
TabTarget.attach is being called from the toolbox, before opening the tools,
so we do not have to call it from panel's open functions, nor code that is opening
a toolbox right after.

MozReview-Commit-ID: 77TZFbvOaFt

Differential Revision: https://phabricator.services.mozilla.com/D6668
2018-09-26 21:11:51 +00:00
Alexandre Poirot cce577ae01 Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D6161

MozReview-Commit-ID: KmFi1LIUBga
2018-09-24 09:52:57 -07:00
Alexandre Poirot 0ccb191bef Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D4078

MozReview-Commit-ID: JAwiySsBZBu
2018-09-24 09:52:55 -07:00
shindli dbbcc1c04f Backed out 9 changesets (bug 1485676) for failures in browser/tools/mozscreenshots/devtools/browser_devtools.js CLOSED TREE
Backed out changeset d358feec4ca1 (bug 1485676)
Backed out changeset ed554dbb062f (bug 1485676)
Backed out changeset 6e78058df94d (bug 1485676)
Backed out changeset 3a6f1b0e71f4 (bug 1485676)
Backed out changeset 16d2403aa787 (bug 1485676)
Backed out changeset 454eddf52157 (bug 1485676)
Backed out changeset 926f725f2183 (bug 1485676)
Backed out changeset fb03f174bd5f (bug 1485676)
Backed out changeset ceb93dd1799a (bug 1485676)
2018-09-24 15:27:27 +03:00
Alexandre Poirot 5502b1399b Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D6161

MozReview-Commit-ID: KmFi1LIUBga
2018-09-24 01:25:02 -07:00
Alexandre Poirot ded1511af6 Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D4078

MozReview-Commit-ID: JAwiySsBZBu
2018-09-24 01:25:01 -07:00