Граф коммитов

35 Коммитов

Автор SHA1 Сообщение Дата
Belén Albeza 093db49ea0 Bug 1467256 - Temporarily disable the test. r=nchevobbe
MozReview-Commit-ID: sWZLg7PCvt

--HG--
extra : rebase_source : 47bf53b4ca4238aa2c2016a3dd58d779c4d999a8
2018-07-11 15:14:42 +02:00
Julian Descottes c02cc66b8b Bug 1467256 - Wait until about:debugging UI in browser_application_panel_open-links.js;r=ladybenko
MozReview-Commit-ID: 323WvitlWcy

--HG--
extra : rebase_source : cef5ccdcc3742cb1a26c2ec6fc0cedb69f4e8f15
2018-07-05 09:34:48 +02:00
Alexandre Poirot b18ae66a40 Bug 1471152 - Package all panel scripts under resource://devtools/ instead of chrome://devtools/. r=jdescottes
MozReview-Commit-ID: 72iggFSZswN

--HG--
extra : rebase_source : 9e6192682deb3c7ecd162515a2a5ac6b391f9674
2018-06-25 12:59:22 -07:00
J. Ryan Stinnett fa78307d48 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

--HG--
extra : rebase_source : 61a1d471d6792d148932488e854e16de60dea44b
2018-06-11 23:42:19 -07:00
J. Ryan Stinnett e2438e6bb8 Bug 1172897 - Rename WorkerActor to WorkerTargetActor. r=ochameau
MozReview-Commit-ID: 2Qakr1PHKNZ

--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_WorkerActor.attach.js => devtools/client/debugger/test/mochitest/browser_dbg_WorkerTargetActor.attach.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_WorkerActor.attachThread.js => devtools/client/debugger/test/mochitest/browser_dbg_WorkerTargetActor.attachThread.js
rename : devtools/client/debugger/test/mochitest/code_WorkerActor.attach-worker1.js => devtools/client/debugger/test/mochitest/code_WorkerTargetActor.attach-worker1.js
rename : devtools/client/debugger/test/mochitest/code_WorkerActor.attach-worker2.js => devtools/client/debugger/test/mochitest/code_WorkerTargetActor.attach-worker2.js
rename : devtools/client/debugger/test/mochitest/code_WorkerActor.attachThread-worker.js => devtools/client/debugger/test/mochitest/code_WorkerTargetActor.attachThread-worker.js
rename : devtools/client/debugger/test/mochitest/doc_WorkerActor.attach-tab1.html => devtools/client/debugger/test/mochitest/doc_WorkerTargetActor.attach-tab1.html
rename : devtools/client/debugger/test/mochitest/doc_WorkerActor.attach-tab2.html => devtools/client/debugger/test/mochitest/doc_WorkerTargetActor.attach-tab2.html
rename : devtools/client/debugger/test/mochitest/doc_WorkerActor.attachThread-tab.html => devtools/client/debugger/test/mochitest/doc_WorkerTargetActor.attachThread-tab.html
rename : devtools/server/actors/worker.js => devtools/server/actors/targets/worker.js
rename : devtools/shared/specs/worker/worker.js => devtools/shared/specs/targets/worker.js
extra : rebase_source : cc94b13a2e50db862bad9d7c518619052cc6e5b4
2018-06-01 15:59:24 -05:00
Belén Albeza c44baa0cf5 Bug 1465717 - Missing test for opening links when devtools are in a separate window. r=jdescottes
MozReview-Commit-ID: 2yK63fjjXvs

--HG--
extra : rebase_source : 0f05eec2f013bb038673a77399d59b0bfd3f213c
2018-05-24 18:01:39 +02:00
Julian Descottes 7fdc2c153f Bug 1454696 - Fix leftover issues for prefer-const;r=yulia
MozReview-Commit-ID: JwOXoqw2mks

--HG--
extra : rebase_source : a3f07665a42c2779a85b7901a07206266a9d1616
extra : source : ae946f375e0d0f4f0f0fc859c54040fef42cbc2c
2018-06-01 12:19:35 +02:00
Julian Descottes 640fe52298 Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4

--HG--
extra : rebase_source : 65de1b0aba412d9044b5196115f74276caa058f2
2018-06-01 12:36:09 +02:00
Julian Descottes 6e87465913 Bug 1450071 - Use fluent-react to localize application panel;r=flod,ladybenko,stas
MozReview-Commit-ID: 8zWePxv6i33

--HG--
extra : rebase_source : 555f1e54bd08e386d593ab3b5f97a0e67205f60b
2018-05-28 10:51:58 +02:00
Belén Albeza a0e9f9ed3e Bug 1462232 - Links don't work if devtools are in a separate window. r=nchevobbe
MozReview-Commit-ID: 2yK63fjjXvs

--HG--
extra : rebase_source : c7d1219ba158b152922a7eea9973236243deebfe
2018-05-24 18:01:39 +02:00
Julian Descottes 8273389914 Bug 1462237 - Prevent text selection in application panel;r=ladybenko
MozReview-Commit-ID: HwDlHZp0Po4

--HG--
extra : rebase_source : b7a6f60558f4536a670888cea15e069019cd8402
2018-05-25 15:45:57 +02:00
Julian Descottes 423f59b61e Bug 1460209 - Use theme colors for links in application panel;r=ladybenko
MozReview-Commit-ID: 69kfQ4137WA

--HG--
extra : rebase_source : b7d77c1d3893255627c0ba1e9e9b51bc6b88545c
2018-05-25 11:43:59 +02:00
Julian Descottes 0bd6a4a494 Bug 1462236 - Application panel empty screen polish;r=ladybenko
MozReview-Commit-ID: ENd72iKrw8U

--HG--
extra : rebase_source : 4d0695668607a7eb80d3815140d9ee09dae60dca
2018-05-25 11:12:47 +02:00
Belén Albeza 89264089dc Bug 1450067 - Show last update timestamp for a sw. r=nchevobbe
MozReview-Commit-ID: rul88NKcHZ

--HG--
extra : rebase_source : 27a82b144b9e10b4b2ad315558a3f2a103fd3701
2018-05-24 12:04:54 +02:00
Julian Descottes 3507464317 Bug 1458808 - add test to debug serviceworker from application panel;r=jlast,ladybenko
MozReview-Commit-ID: EXQAnjycyco

--HG--
extra : rebase_source : fcfdf8af92188213ae9ffe823148d70aef60437d
2018-04-17 19:16:56 +02:00
Belén Albeza 5a6e7b299b 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

--HG--
extra : rebase_source : bdd2ef73b62427ee81a53b2c82ddc256966cbe33
2018-05-09 16:39:55 +02:00
Belén Albeza 03d031315e 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

--HG--
extra : rebase_source : 68f0a2df08f8c1c1c958f17096bf12fbca8f6f62
2018-05-08 17:24:52 +02:00
Julian Descottes 81f4fb8148 Bug 1459605 - Wait for all workers to have registrationActors before unregistering;r=ladybenko
MozReview-Commit-ID: 729BNJ1hWxC

--HG--
extra : rebase_source : f77bacdc0de245587ae1309fce64b4706e8671cb
2018-05-10 03:48:31 +02:00
Belén Albeza cdf60b83ca Bug 1451737 - add GA parameters to outgoing links in application panel. r=Harald,jdescottes
MozReview-Commit-ID: GxYQomUH5CE

--HG--
extra : rebase_source : b4f919589e613896798907261f29561f81faf30c
2018-05-02 17:37:27 +02:00
Belén Albeza 0807ecb5f0 Bug 1459604 - Missing file in tests. r=jdescottes
MozReview-Commit-ID: KHaDl73JRKe

--HG--
extra : rebase_source : cac9e7609c0d33a258ed6f7b4bc68c793d4a1590
2018-05-07 15:49:16 +02:00
Belén Albeza eb90fd57a0 Bug 1458483 - Application panel: display Unicode instead of encoded/punycode in URLs and filenames. r=jdescottes
MozReview-Commit-ID: LFydikQP4uZ

--HG--
extra : rebase_source : 8706c7d3fbc28f640daab3d4105daa48c71889e7
2018-05-04 18:43:00 +02:00
Belén Albeza 44f4694ad0 Bug 1457407 - Application panel: common api for tests to unregister all workers. r=jdescottes
MozReview-Commit-ID: 71D0Qqd4xW7

--HG--
extra : rebase_source : e3dcffbffd1d9265d71e417001ef3ab7b4e52c9b
2018-05-04 11:56:00 +02:00
Michael Ratcliffe 764c4c8578 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

--HG--
extra : rebase_source : cd1214d01bd11908f69167839975cd93ecb83421
2018-05-01 18:06:14 +01:00
Belén Albeza 94d83df939 Bug 1450064 - Add test for showing service workers from the current domain only. r=jdescottes
MozReview-Commit-ID: 6aulfLwLjR6

--HG--
extra : rebase_source : 9a2f3fb16bd90355fb4fbf92cca9f1ef89814610
2018-04-27 12:21:04 +02:00
Belén Albeza 3cf4b3e268 Bug 1450064 - Show only service workers for current domain. r=jdescottes
MozReview-Commit-ID: CTULmSRUgHG

--HG--
extra : rebase_source : 59de18544a2826ae0d947420ba1db0e78a38a80c
2018-04-25 09:49:13 +02:00
Julian Descottes cbcb31d0c1 Bug 1450073 - Add integration tests for the application panel;r=ladybenko,nchevobbe
MozReview-Commit-ID: 5rkFr7Fvshz

--HG--
extra : rebase_source : f5ef3aeb11cb35ed868ea1e5797f3ab1a5d296c6
2018-04-16 23:22:16 +02:00
Julian Descottes 302d577066 Bug 1454931 - Display help screen when no service worker is available;r=sole
MozReview-Commit-ID: JDPX45YIkrB

--HG--
extra : rebase_source : 73e5f73be441e11a160276344fcd14cc6b379149
2018-03-19 18:55:22 +01:00
Julian Descottes 4ca0c8f5e9 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

--HG--
extra : rebase_source : 835294eb76b49ee696030ab6fa6ba45c4bcdedef
2018-04-05 21:39:10 +02:00
Julian Descottes ee27225940 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

--HG--
extra : rebase_source : 0ec04569b6050cfb1f7549aa042551879a22a842
2018-03-14 21:21:02 +01:00
Ciure Andrei 319ba4c0d1 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 e7bee1a48e 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

--HG--
extra : rebase_source : 9eec21b64d5c7b7bd4372d3cf6bb561092af7c08
2018-04-05 21:39:10 +02:00
Julian Descottes 6aa4422873 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

--HG--
extra : rebase_source : 465dd27241e81ee2f35794ce01cf0d06939e58f6
2018-03-14 21:21:02 +01:00
Andreea Pavel f970070b39 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 9ad67f4c0e 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

--HG--
extra : rebase_source : 63195bbd49a306c2ede41db1de1a691be4eeb5f3
2018-04-05 21:39:10 +02:00
Julian Descottes d8d3951cb5 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

--HG--
extra : rebase_source : 465dd27241e81ee2f35794ce01cf0d06939e58f6
2018-03-14 21:21:02 +01:00