Commit Graph
35 Commits
Author SHA1 Message Date
Belén Albeza bfbe1756ea Bug 1467256 - Temporarily disable the test. r=nchevobbe
MozReview-Commit-ID: sWZLg7PCvt
2018-07-11 15:14:42 +02:00
Julian Descottes 796ac4929d Bug 1467256 - Wait until about:debugging UI in browser_application_panel_open-links.js;r=ladybenko
MozReview-Commit-ID: 323WvitlWcy
2018-07-05 09:34:48 +02:00
Alexandre Poirot 11b017ffdd Bug 1471152 - Package all panel scripts under resource://devtools/ instead of chrome://devtools/. r=jdescottes
MozReview-Commit-ID: 72iggFSZswN
2018-06-25 12:59:22 -07:00
J. Ryan Stinnett 969d6f83ae Bug 1466534 - Centralize DevTools link handling. r=jdescottes
This adds a `openContentLink` helper meant for any link controlled by web
content.  If there is an associated toolbox open, the toolbox's tab is used to
supply a triggering principal for the link.

MozReview-Commit-ID: 45l5yAPGpZr
2018-06-11 23:42:19 -07:00
J. Ryan Stinnett 0cae81b452 Bug 1172897 - Rename WorkerActor to WorkerTargetActor. r=ochameau
MozReview-Commit-ID: 2Qakr1PHKNZ
2018-06-01 15:59:24 -05:00
Belén Albeza c40f290d5a Bug 1465717 - Missing test for opening links when devtools are in a separate window. r=jdescottes
MozReview-Commit-ID: 2yK63fjjXvs
2018-05-24 18:01:39 +02:00
Julian Descottes 9456167901 Bug 1454696 - Fix leftover issues for prefer-const;r=yulia
MozReview-Commit-ID: JwOXoqw2mks
2018-06-01 12:19:35 +02:00
Julian Descottes 82711b9a8f Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4
2018-06-01 12:36:09 +02:00
Julian Descottes 2955d4cdfe Bug 1450071 - Use fluent-react to localize application panel;r=flod,ladybenko,stas
MozReview-Commit-ID: 8zWePxv6i33
2018-05-28 10:51:58 +02:00
Belén Albeza 38e7d17986 Bug 1462232 - Links don't work if devtools are in a separate window. r=nchevobbe
MozReview-Commit-ID: 2yK63fjjXvs
2018-05-24 18:01:39 +02:00
Julian Descottes 3e0706a3b6 Bug 1462237 - Prevent text selection in application panel;r=ladybenko
MozReview-Commit-ID: HwDlHZp0Po4
2018-05-25 15:45:57 +02:00
Julian Descottes 5e72d4fb7b Bug 1460209 - Use theme colors for links in application panel;r=ladybenko
MozReview-Commit-ID: 69kfQ4137WA
2018-05-25 11:43:59 +02:00
Julian Descottes 534ec68eeb Bug 1462236 - Application panel empty screen polish;r=ladybenko
MozReview-Commit-ID: ENd72iKrw8U
2018-05-25 11:12:47 +02:00
Belén Albeza 06c1724edc Bug 1450067 - Show last update timestamp for a sw. r=nchevobbe
MozReview-Commit-ID: rul88NKcHZ
2018-05-24 12:04:54 +02:00
Julian Descottes 73c95e71eb Bug 1458808 - add test to debug serviceworker from application panel;r=jlast,ladybenko
MozReview-Commit-ID: EXQAnjycyco
2018-04-17 19:16:56 +02:00
Belén Albeza 97a839dce0 Bug 1459146 - Wait for workers to load before rendering the UI. r=nchevobbe
Also fixed some CSS related to the "no workers" empty screen:

- Fixed vertical misalignment.
- Made the "You need to register a service worker" text bigger.
- Refactored some CSS rules and removed unneeded styles.

MozReview-Commit-ID: JVduSXIxcV7
2018-05-09 16:39:55 +02:00
Belén Albeza 312ce89d72 Bug 1459581 - CSS and class names refactor, and fix UI glitch when sw scope is too long. r=jdescottes
This was a good time to revamp of the CSS layout we were using in the
Worker component. Changes that have been made:

- Use CSS Grid to layout the Worker component
- Rename classes to use BEM style (this is compatible with the current
  CSS guidelines for the DevTools).
- Use classes with the js- prefix for JS hooks
- Rename classes / use js- class names for hooks in other components,
  so everything is consistent.
- Some HTML markup has been fixed, where it wasn't in conflict with
  the current styling.

MozReview-Commit-ID: Doyd9mBLOMd
2018-05-08 17:24:52 +02:00
Julian Descottes 7ddf7d3e78 Bug 1459605 - Wait for all workers to have registrationActors before unregistering;r=ladybenko
MozReview-Commit-ID: 729BNJ1hWxC
2018-05-10 03:48:31 +02:00
Belén Albeza ee750455c9 Bug 1451737 - add GA parameters to outgoing links in application panel. r=Harald,jdescottes
MozReview-Commit-ID: GxYQomUH5CE
2018-05-02 17:37:27 +02:00
Belén Albeza eccac668a4 Bug 1459604 - Missing file in tests. r=jdescottes
MozReview-Commit-ID: KHaDl73JRKe
2018-05-07 15:49:16 +02:00
Belén Albeza 5980c9a915 Bug 1458483 - Application panel: display Unicode instead of encoded/punycode in URLs and filenames. r=jdescottes
MozReview-Commit-ID: LFydikQP4uZ
2018-05-04 18:43:00 +02:00
Belén Albeza fc5ac82dea Bug 1457407 - Application panel: common api for tests to unregister all workers. r=jdescottes
MozReview-Commit-ID: 71D0Qqd4xW7
2018-05-04 11:56:00 +02:00
Michael Ratcliffe a4ac391ae6 Bug 1098374 - Telemetry: Stop all monkey patching in devtools telemetry tests r=yulia
Changes and notes:
  - Created `devtools/client/shared/test/telemetry-test-helpers.js`, which
    contains test helpers to aid in creating and running telemetry tests.
  - Removed any telemetry monkeypatching as it is not dependable and no longer
    needed (there is some left in GCLI but the test is now disabled because
    we are removing GCLI soon anyhow).
  - Because `telemetry-test-helpers.js` is imported by `shared-head.js` I
    have had to make it available everywhere that shared-head.js is used.
  - All telemetry tests have been rewritten to use the new helper.
  - shared-head.js cannot be imported by tests inside
    `devtools/client/performance/test/` because perf have custom `once` and
    `waitFor` implementations that act differently from the ones inside
    `shared-head.js`. This means I had to import the telemetry helpers into
    `devtools/client/performance/test/head.js`
  - Created `devtools/client/shared/test/browser_telemetry_misc.js` to be sure
    to catch `DEVTOOLS_SCREEN_RESOLUTION_ENUMERATED_PER_USER` (we catch a few
    others to be thorough).
  - Disabled `browser_inspector_menu-02-copy-items.js`, which was failing to
    test some expired scalars. I also corrected the way the scalars are logged
    because it was completely wrong.

MozReview-Commit-ID: JjQEGM6hT61
2018-05-01 18:06:14 +01:00
Belén Albeza 260d414b7b Bug 1450064 - Add test for showing service workers from the current domain only. r=jdescottes
MozReview-Commit-ID: 6aulfLwLjR6
2018-04-27 12:21:04 +02:00
Belén Albeza 97d0f451bc Bug 1450064 - Show only service workers for current domain. r=jdescottes
MozReview-Commit-ID: CTULmSRUgHG
2018-04-25 09:49:13 +02:00
Julian Descottes 25ef22539c Bug 1450073 - Add integration tests for the application panel;r=ladybenko,nchevobbe
MozReview-Commit-ID: 5rkFr7Fvshz
2018-04-16 23:22:16 +02:00
Julian Descottes 9811d3c82f Bug 1454931 - Display help screen when no service worker is available;r=sole
MozReview-Commit-ID: JDPX45YIkrB
2018-03-19 18:55:22 +01:00
Julian Descottes 96cf5f7268 Bug 1445197 - part 4: Implement application panel UI to display all workers;r=Honza,nchevobbe,sole
Add redux, a store, listen to events that can lead to a change in the workers
list to update the store.

MozReview-Commit-ID: Fo0jn7Cldep
2018-04-05 21:39:10 +02:00
Julian Descottes 748e834254 Bug 1445197 - part 1: Create an application panel for DevTools;r=Honza,nchevobbe,sole
Register a new application panel, disabled by default, with no icon, no shortcut
and hidden from the devtools options.

Set devtools.application.enabled to true to enable it.

MozReview-Commit-ID: L5PXZVDCRlF
2018-03-14 21:21:02 +01:00
Ciure Andrei 7d0d7e8fbb Backed out 4 changesets (bug 1445197)for ESlint failure, on a CLOSED TREE a=backout
Backed out changeset 422bbd33b4e3 (bug 1445197)
Backed out changeset 086638cc851c (bug 1445197)
Backed out changeset 11f5214dc193 (bug 1445197)
Backed out changeset eae47509bc27 (bug 1445197)
2018-04-18 23:50:12 +03:00
Julian Descottes fcfba43290 Bug 1445197 - part 4: Implement application panel UI to display all workers;r=Honza,nchevobbe,sole
Add redux, a store, listen to events that can lead to a change in the workers
list to update the store.

MozReview-Commit-ID: Fo0jn7Cldep
2018-04-05 21:39:10 +02:00
Julian Descottes c2f7b254c8 Bug 1445197 - part 1: Create an application panel for DevTools;r=Honza,nchevobbe,sole
Register a new application panel, disabled by default, with no icon, no shortcut
and hidden from the devtools options.

Set devtools.application.enabled to true to enable it.

MozReview-Commit-ID: L5PXZVDCRlF
2018-03-14 21:21:02 +01:00
Andreea Pavel 9f90c53976 Backed out 4 changesets (bug 1445197) for failing mochitest devtools on multiple files e.g. devtools/client/aboutdebugging/test/browser_service_workers.js on a CLOSED TREE
Backed out changeset 4b6f77cfd686 (bug 1445197)
Backed out changeset ba9ffea6d216 (bug 1445197)
Backed out changeset a0345830e1cf (bug 1445197)
Backed out changeset 3e9acd2c8bd3 (bug 1445197)
2018-04-18 20:19:34 +03:00
Julian Descottes 8d4ac6587e Bug 1445197 - part 4: Implement application panel UI to display all workers;r=Honza,nchevobbe,sole
Add redux, a store, listen to events that can lead to a change in the workers
list to update the store.

MozReview-Commit-ID: Fo0jn7Cldep
2018-04-05 21:39:10 +02:00
Julian Descottes ff853b32e5 Bug 1445197 - part 1: Create an application panel for DevTools;r=Honza,nchevobbe,sole
Register a new application panel, disabled by default, with no icon, no shortcut
and hidden from the devtools options.

Set devtools.application.enabled to true to enable it.

MozReview-Commit-ID: L5PXZVDCRlF
2018-03-14 21:21:02 +01:00