Commit Graph
112 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
Julian Descottes 4d981dcc40 Bug 1531349 - Rename multi-e10s-helper to service-workers-debug-helper r=ladybenko,yulia
Differential Revision: https://phabricator.services.mozilla.com/D38850
2019-07-29 12:59:25 +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
Belén Albeza 574d300089 Bug 1565571 - Switch components to PureComponent r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39003
2019-07-23 13:46:57 +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
Nicolas Chevobbe 9d703719af Bug 1564138 - Fix DevTools PropTypes errors when updating eslint. r=Ola.
Differential Revision: https://phabricator.services.mozilla.com/D38093
2019-07-17 10:35:44 +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
Belén Albeza 5977f33988 Bug 1553110 - Part 1: Share the workers-listener module between the new about debugging and application panel r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D33024
2019-06-04 13:59:39 +00:00
Belén Albeza 0877b1323e Bug 1554133 - Part 2: make app panel to use the shared fluent l10n module r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D32736
2019-06-04 14:50:39 +00:00
Bogdan Tara a59a03377d Backed out 2 changesets (bug 1554133) for package related build bustages CLOSED TREE
Backed out changeset 72ae1ac933ac (bug 1554133)
Backed out changeset c48321582c78 (bug 1554133)
2019-06-04 17:05:53 +03:00
Belén Albeza 527edfb32b Bug 1554133 - Part 2: make app panel to use the shared fluent l10n module r=jdescottes,Ola
Differential Revision: https://phabricator.services.mozilla.com/D32736
2019-06-03 12:16:27 +00:00
Florens Verschelde b97f9dc0f6 Bug 1543324 - Part 2: Rename --theme-body-color-* variables to --theme-text-color-*; r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D27107
2019-04-17 14:06:58 +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
Michael Ratcliffe 89a6aa6015 Bug 1531845 - Silence various React warnings to help clear up debug mode test logs r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D23115
2019-03-19 15:29:37 +00: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
Kris Maglione 856fa07b17 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750
2019-01-17 10:18:31 -08: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
Alexandre Poirot e1d0ca7c1b Bug 1506548 - Return WorkerTargetFront from listWorkers instead of form. r=yulia
MozReview-Commit-ID: 4CBQNwC8tKq

Depends on D11762

Differential Revision: https://phabricator.services.mozilla.com/D11763
2018-11-15 10:23:50 +00:00
Alexandre Poirot 71f2d60648 Bug 1485661 - Adapt serviceWorkerRegistrationListChanged to new front. r=yulia
MozReview-Commit-ID: 8LRQqXYXe9W

Depends on D8823

Differential Revision: https://phabricator.services.mozilla.com/D8824
2018-10-30 08:08:33 +00:00
Alexandre Poirot bc82440593 Bug 1485661 - Adapt processListChanged to new front. r=yulia
MozReview-Commit-ID: 1CSeNU9Nfll

Depends on D8821

Differential Revision: https://phabricator.services.mozilla.com/D8822
2018-10-30 08:08:29 +00:00
Zibi Braniecki 715693b1b7 Bug 1498960 - Update Fluent in Gecko to 0.9. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D8689
2018-10-20 16:35:50 +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