Commit Graph
27 Commits
Author SHA1 Message Date
Alexandre Poirot 18a41e4ec0 Bug 1651522 - [devtools] Implement server side Service Worker targets. r=devtools-reviewers,nchevobbe
Note that Service worker Target are no longer destroyed on navigation.
Not from the server side, nor the frontend.

I had to disable specialized Headers preview.
For some reason, the "Headers" global doesn't exist in the debugger module global scope.

Differential Revision: https://phabricator.services.mozilla.com/D166319
2023-11-21 09:17:31 +00:00
Sandor Molnar 4e996c2806 Backed out 4 changesets (bug 1651522) for causing dt failures on devtools/shared/commands/target/tests/browser_target_command_service_workers_navigation.js CLOSED TREE
Backed out changeset 81d3ee520ab6 (bug 1651522)
Backed out changeset 7871ba0badea (bug 1651522)
Backed out changeset f80194bc4d6c (bug 1651522)
Backed out changeset 9855542eb321 (bug 1651522)
2023-11-20 15:15:55 +02:00
Alexandre Poirot 52fe46fec7 Bug 1651522 - [devtools] Implement server side Service Worker targets. r=devtools-reviewers,nchevobbe
Note that Service worker Target are no longer destroyed on navigation.
Not from the server side, nor the frontend.

I had to disable specialized Headers preview.
For some reason, the "Headers" global doesn't exist in the debugger module global scope.

Differential Revision: https://phabricator.services.mozilla.com/D166319
2023-11-20 10:37:02 +00:00
Alexandre Poirot f082da3878 Bug 1792847 - [devtools] Use absolute URLs to import modules in devtools/client/application. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D158371
2022-09-30 15:17:35 +00:00
Alexandre Poirot 0f32f335e3 Bug 1789201 - [devtools] Expose Services as a global to all DevTools modules. r=perftest-reviewers,nchevobbe,julienw,AlexandruIonescu
This will help transition to ES Modules as this symbol is exposed to them.

$ sed -ie "/require(.Services.)/d" $(git grep -l 'require("Services")' devtools/)
$ sed -ie "/loader.lazyRequireGetter(this, .Services./d" $(git grep -l 'loader.lazyRequireGetter(this, "Services"' devtools/)
+ the edition of builtin-modules.js + eslintrc.js
+ manual eslint fixes
+ removal of devtools-services in the debugger, except for jest tests

Differential Revision: https://phabricator.services.mozilla.com/D156401
2022-09-09 07:22:51 +00:00
Ricky Stewart 31b8ca9716 Bug 1654103: Standardize on Black for Python code in mozilla-central.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara 612312a64c Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart 065d2eb893 Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 95b44c982f Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 43baed3c18 Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Nicolas Chevobbe 124ea2f1a0 Bug 1573779 - [devtools] Rename WorkerTarget to WorkerDescriptor. r=ochameau,jdescottes,devtools-backward-compat-reviewers.
This renames the current WorkerTargetActor which is actually a descriptor.
We also rename the existing `workerTargetFront` occurences to `workerDescriptorFront`
to avoid confusion when we do introduce the real worker fronts and actors.

Differential Revision: https://phabricator.services.mozilla.com/D91100
2020-09-29 14:30:24 +00:00
Dorel Luca 2767dba5fe Backed out 3 changesets (bug 1573779, bug 1662734) for Geckoview failures. CLOSED TREE
Backed out changeset 0adff4f08b28 (bug 1662734)
Backed out changeset c6bb84f2a032 (bug 1573779)
Backed out changeset 0c605800aa6b (bug 1573779)
2020-09-29 12:59:39 +03:00
Nicolas Chevobbe afff47ed89 Bug 1573779 - [devtools] Rename WorkerTarget to WorkerDescriptor. r=ochameau,jdescottes,devtools-backward-compat-reviewers.
This renames the current WorkerTargetActor which is actually a descriptor.
We also rename the existing `workerTargetFront` occurences to `workerDescriptorFront`
to avoid confusion when we do introduce the real worker fronts and actors.

Differential Revision: https://phabricator.services.mozilla.com/D91100
2020-09-28 12:27:22 +00:00
Belén Albeza a25e69d62c Bug 1653998 - View source of worker from the Application panel r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D86039
2020-08-07 12:47:34 +00:00
Belén Albeza 9c3652b5c4 Bug 1643253 - Part 1: Add telemetry middleware to record application panel events r=jdescottes,janerik
Differential Revision: https://phabricator.services.mozilla.com/D82044
2020-07-13 14:58:29 +00:00
Belén Albeza 22a7f47b5c Bug 1598629 - Part 1: Debug workers within the new threads panel in the debugger r=bhackett,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D54746
2019-12-10 15:29:27 +00:00
Mihai Alexandru Michis d524aefd60 Backed out 2 changesets (bug 1598629) for causing a high devtools failure rate in browser_application_panel_debug-service-worker.js
Backed out changeset 472f8d632630 (bug 1598629)
Backed out changeset 70bde5ea35f6 (bug 1598629)
2019-11-29 19:11:35 +02:00
Belén Albeza 03eae5a959 Bug 1598629 - Part 1: Debug workers within the new threads panel in the debugger r=bhackett,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D54746
2019-11-29 14:14:02 +00:00
Belén Albeza dc57e75bd9 Bug 1579795 - Part 1: Improve error handling when fetching the manifest r=jdescottes,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D49594
2019-10-21 10:47:40 +00:00
Oana Pop Rus acdded6218 Backed out 3 changesets (bug 1579795) for causing devtools node failures. on a CLOSED TREE
Backed out changeset 141f065f3788 (bug 1579795)
Backed out changeset eb0eaf505108 (bug 1579795)
Backed out changeset 193f93f381cd (bug 1579795)
2019-10-18 18:38:49 +03:00
Belén Albeza 87b4ddc4ea Bug 1579795 - Part 1: Improve error handling when fetching the manifest r=jdescottes,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D49594
2019-10-18 13:42:32 +00:00
Belén Albeza 3689f9d1a1 Bug 1566007 - Part 2 : Add ManifestLoader component r=Ola,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D41974
2019-08-19 08:27:20 +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
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
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