Commit Graph
94 Commits
Author SHA1 Message Date
yulia 1de07c7b75 Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

Differential Revision: https://phabricator.services.mozilla.com/D3618
2018-09-06 11:42:57 +00:00
arthur.iakab f3a400f189 Backed out changeset 5e21be5fdf9d (bug 1429421)for build busteges CLOSED TREE 2018-09-06 12:12:40 +03:00
yulia d6ccb9ca41 Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

Differential Revision: https://phabricator.services.mozilla.com/D3618
2018-09-06 08:55:50 +00:00
Gabriel Luong 3c1e459365 Bug 1488114 - Refactor the reducers in RDM. r=rcaliman 2018-09-04 10:47:41 -04:00
Narcis Beleuzu 2d68169fc3 Backed out changeset 7ffb06278c4c (bug 1488114) for xpcshell failures on test_change_pixel_ratio.js. CLOSED TREE 2018-09-04 19:24:12 +03:00
Gabriel Luong c04f5aee7d Bug 1488114 - Refactor the reducers in RDM. r=rcaliman 2018-09-04 10:47:41 -04:00
Gabriel Luong 2644493479 Bug 1467572 - Part 18: Show an onboarding tooltip for the setting menu button in RDM. r=jdescottes
Design https://mozilla.invisionapp.com/d/main#/console/12408235/300479943/preview
2018-08-15 17:27:57 -04:00
Csoregi Natalia df9db8ee3d Backed out 19 changesets (bug 1467572) for devtools failures on browser_net_telemetry_throttle_changed.js. CLOSED TREE
Backed out changeset 39123899178c (bug 1467572)
Backed out changeset 62fcbe25665c (bug 1467572)
Backed out changeset 5ef6c1c42747 (bug 1467572)
Backed out changeset e295be61276e (bug 1467572)
Backed out changeset 41d85a6f8a2a (bug 1467572)
Backed out changeset 4e6b95a6c506 (bug 1467572)
Backed out changeset 36d459a24020 (bug 1467572)
Backed out changeset abb52c2c68ab (bug 1467572)
Backed out changeset 470b9ce4ba0f (bug 1467572)
Backed out changeset 37609995dc8f (bug 1467572)
Backed out changeset 636bf5ce96f7 (bug 1467572)
Backed out changeset 5880a55d2ee8 (bug 1467572)
Backed out changeset 0f19f84bb2ed (bug 1467572)
Backed out changeset e83526778ccd (bug 1467572)
Backed out changeset c42448ca6e4a (bug 1467572)
Backed out changeset 934fb24dad26 (bug 1467572)
Backed out changeset 6102b9ef805b (bug 1467572)
Backed out changeset 7aaea1245d27 (bug 1467572)
Backed out changeset 7793f8a2b14f (bug 1467572)
2018-08-16 03:43:41 +03:00
Gabriel Luong 3bdc9d891d Bug 1467572 - Part 18: Show an onboarding tooltip for the setting menu button in RDM. r=jdescottes
Design https://mozilla.invisionapp.com/d/main#/console/12408235/300479943/preview
2018-08-15 17:27:57 -04:00
Michael Ratcliffe 4cdcaa9765 Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n
2018-06-29 16:36:24 +01:00
Coroiu Cristina 6768c68fe4 Backed out changeset 57c6388be227 (bug 1466880) for devtools failures at devtools/client/responsive.html/test/browser/browser_telemetry_activate_rdm.js on a CLOSED TREE 2018-06-29 20:42:35 +03:00
Michael Ratcliffe a2bf2cce74 Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n
2018-06-29 16:36:24 +01:00
Ciure Andrei 98a9298be7 Backed out 1 changesets (bug 1466880) for devtools perfails browser_exit_button.js CLOSED TREE
Backed out changeset e52c11b8f8ec (bug 1466880)
2018-06-28 01:52:52 +03:00
Michael Ratcliffe 7cd40111d4 Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n
2018-06-22 14:08:47 +01:00
J. Ryan Stinnett b51df0a45f Bug 1306975 - Support containers in RDM. r=gl
This adds support for container tabs / contextual identity in Responsive Design
Mode.  Tabs in non-default contexts can now be opened in RDM just like regular
tabs.

MozReview-Commit-ID: BofTgrowjGV
2018-02-23 17:33:55 -06: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
Michael Ratcliffe 7f89c7dafc Bug 1458208 - telemetry.js: DevTools code should always go through telemetry.js r=jdescottes
MozReview-Commit-ID: 9cUGY2CjjZG
2018-05-10 15:14:01 +01:00
Jan Odvarko 3d7ed908f8 Bug 1349559 - Introduce UI for network throttling in the Net panel; r=jryans
MozReview-Commit-ID: Ad0ABzf0YuY
2018-05-01 11:07:18 +02:00
Ciure Andrei 6ad6be1da6 Backed out changeset daac5f4217b6 (bug 1349559) for failing devtools/client/responsive.html/test/unit/test_change_network_throttling.js CLOSED TREE 2018-05-01 09:58:59 +03:00
Jan Odvarko 65dcf95fd2 Bug 1349559 - Introduce UI for network throttling in the Net panel; r=jryans
MozReview-Commit-ID: 8CvBHckNSpZ
2018-05-01 07:42:52 +02:00
Michael Ratcliffe 84db7e3427 Bug 1455275 - Instrument deactivation of RDM and Split Console with event telemetry r=yulia
This bounced because I was trying to access the toolbox after the ui was destroyed, which fails in tests. I will do a try run this time to make sure there are no issues.

MozReview-Commit-ID: 2iHpPLmm9lY
2018-04-23 13:50:53 +01:00
shindli 565062cdc8 Backed out changeset 6e691c7ff5dd (bug 1455275) for dt failures in devtools/client/responsive.html/test/browser/browser_exit_button.js on a CLOSED TREE 2018-04-24 16:01:29 +03:00
Michael Ratcliffe 20048ba3bc Bug 1455275 - Instrument deactivation of RDM and Split Console with event telemetry r=yulia
Another simple one... tests will be in bug 1456103.

MozReview-Commit-ID: 2iHpPLmm9lY
2018-04-23 13:50:53 +01:00
Michael Ratcliffe 6bf097aba3 Bug 1455273 - Instrument activation of RDM and Split Console with event telemetry r=yulia
Another simple one... tests will be in bug 1456098.

MozReview-Commit-ID: LFgxlceCakC
2018-04-23 13:33:39 +01:00
Nicolas Chevobbe 4ba01056aa Bug 1449170 - Remove old-event-emitter usage from responsive.html; r=jryans.
MozReview-Commit-ID: KREEQYpIVh6
2018-03-27 15:46:41 +02:00
J. Ryan Stinnett 946bb8f169 Bug 1444497 - Track UI entry point for RDM. r=jdescottes
MozReview-Commit-ID: Jc8uXAXlGVf
2018-03-13 14:52:34 -05:00
J. Ryan Stinnett 0d29b7e253 Bug 1444497 - Track whether toolbox is opened before RDM. r=jdescottes
MozReview-Commit-ID: H3LpXVPv4w1
2018-03-12 19:24:37 -05:00
J. Ryan Stinnett d2fd9c272e Bug 1428816 - Show reload help on first RDM open. r=ochameau
The first time RDM is opened after this, show a notification explaining that a
reload is needed to apply certain emulation features.

MozReview-Commit-ID: 26GMbhT5MUo
2018-02-08 18:43:23 -06:00
J. Ryan Stinnett 827f994b52 Bug 1428816 - Add RDM UI to control whether we reload. r=ochameau
This adds a menu to the RDM global toolbar to allow the user to control whether
the page reloads in response to various state changes.

This also changes the default behavior to _not_ reload, so that we avoid losing
changes that might have been made in DevTools.

MozReview-Commit-ID: 86h5cB5dify
2018-02-08 15:20:17 -06:00
arthur.iakab 0aee7a567a Backed out 3 changesets (bug 1428816) for Browser Chrome failures on browser/base/content/test/static/browser_misused_characters_in_strings.js on a CLOSED TREE
Backed out changeset 31e12673218b (bug 1428816)
Backed out changeset a6e7a7b21cf3 (bug 1428816)
Backed out changeset 0d00eabc8b83 (bug 1428816)
2018-02-22 19:26:58 +02:00
J. Ryan Stinnett 670c3b40ae Bug 1428816 - Show reload help on first RDM open. r=ochameau
The first time RDM is opened after this, show a notification explaining that a
reload is needed to apply certain emulation features.

MozReview-Commit-ID: 26GMbhT5MUo
2018-02-08 18:43:23 -06:00
J. Ryan Stinnett f272cc495d Bug 1428816 - Add RDM UI to control whether we reload. r=ochameau
This adds a menu to the RDM global toolbar to allow the user to control whether
the page reloads in response to various state changes.

This also changes the default behavior to _not_ reload, so that we avoid losing
changes that might have been made in DevTools.

MozReview-Commit-ID: 86h5cB5dify
2018-02-08 15:20:17 -06:00
J. Ryan Stinnett 2b0adfdfca Bug 1429121 - Manual cleanup of RDM for async / await. r=ochameau
MozReview-Commit-ID: JMaMDw6D8iK
2018-01-09 17:03:48 -06:00
J. Ryan Stinnett ecee41e6e9 Bug 1429121 - Automated conversion of RDM to async / await. r=ochameau
MozReview-Commit-ID: BdzxQW6TbEK
2018-01-09 10:08:35 -06:00
J. Ryan Stinnett 6ebe3aa4bd Bug 1381463 - Reload to clear UA when exiting RDM. r=ochameau
When exiting RDM with a device applied, we clear the UA override, but we did not
force a refresh of the page.  This means that the customized UA was still
accessible via `navigator.userAgent` and the page might have a non-default
layout if it tests the UA value.

To ensure there's no chance of confusion after exiting RDM, force a reload if
clearing emulation values determines it is needed.

MozReview-Commit-ID: Fkji12Utmis
2018-01-04 21:04:17 -06:00
Julian Descottes 21b6d9f77b Bug 1416711 - Add registerAllActors API;r=ochameau
Most of the codebase that needs to create a debugger server
can use a server with all actors registered.

Define an additional method registerAllActors to do that.

By previous implementations, all the call sites that were
using browser: true were indirectly using tab & root: true
as well. So all the call sites using browser: true have been
migrated to registerAllActors and the specific behavior of
the browser: true case has been removed. Passing browser:true
to registerActors now only registers browser specific actors.

MozReview-Commit-ID: F3sx71eGrdG
2017-11-13 21:22:15 +01:00
Julian Descottes 6e8668e849 Bug 1416711 - Stop guarding consumer calls to DebuggerServer.init();r=ochameau
DebuggerServer.init() already bails out if it was previously initialized
so we could avoid guarding the calls to init() with it everywhere.

Registering an actor module several times is also a noop as the Server
keeps a map of all the already registered modules and will bail out if
the module is already known.

MozReview-Commit-ID: 4ONLlx9253i
2017-11-13 21:04:43 +01:00
Julian Descottes 2c1ef484ef Bug 1416711 - Migrate addBrowser/TabActors to registerActors;r=ochameau
DebuggerServer has old APIs addBrowserActors & addTabActors that can be
replaced by calls to registerActors.

MozReview-Commit-ID: KpYJpbSHM8I
2017-11-13 20:29:55 +01:00
J. Ryan Stinnett b9adc04a44 Bug 1412359 - Clarify test event as device-association-removed. r=gl
MozReview-Commit-ID: 6GXTO4rtIQL
2017-10-27 18:52:31 -05:00
J. Ryan Stinnett 38cd37baa4 Bug 1407830 - Add diagnostics to RDM swap. r=ochameau
Add some (disabled by default) logging to the RDM swap process to speed up
future investigations.

MozReview-Commit-ID: ICuH7i5Nsq5
2017-10-13 20:07:24 -05:00
Nicolas Chevobbe fee723d060 Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.

MozReview-Commit-ID: 2uWjTnAMAU0
2017-09-29 15:24:14 +02:00
J. Ryan Stinnett 76f60288f6 Bug 1305777 - Move RDM GCLI commands to new RDM. r=ochameau
MozReview-Commit-ID: Eyz90kT6Tdx
2017-09-26 18:47:12 -05:00
J. Ryan Stinnett c1db9fa094 Bug 1305777 - Remove RDM manager switch and pref. r=ochameau
This removes the switching based on the RDM.html pref and the pref itself.

Some files in old RDM are updated for completeness, but they are about to be
removed anyway.

MozReview-Commit-ID: JnTC7ZF3UCC
2017-09-26 18:39:16 -05:00
Sebastian Hengst df027e0355 Backed out changeset 6ae05de7437d (bug 1305777) 2017-09-29 10:43:48 +02:00
Sebastian Hengst 46113dc42d Backed out changeset 776ad30a20db (bug 1305777) 2017-09-29 10:43:42 +02:00
J. Ryan Stinnett db63e439ba Bug 1305777 - Move RDM GCLI commands to new RDM. r=ochameau
MozReview-Commit-ID: Eyz90kT6Tdx
2017-09-26 18:47:12 -05:00
J. Ryan Stinnett 9a5225cae4 Bug 1305777 - Remove RDM manager switch and pref. r=ochameau
This removes the switching based on the RDM.html pref and the pref itself.

Some files in old RDM are updated for completeness, but they are about to be
removed anyway.

MozReview-Commit-ID: JnTC7ZF3UCC
2017-09-26 18:39:16 -05:00
Alexandre Poirot 0318982e17 Bug 1399090 - Lazy load responsive design manager modules. r=jryans
MozReview-Commit-ID: IzldMjDwG8M
2017-09-12 14:50:24 +02:00
J. Ryan Stinnett e7197f354c Bug 1398297 - Reload RDM when disabling touch. r=gl
MozReview-Commit-ID: ILdfxs5SXfH
2017-09-08 15:09:22 -05:00
Tom Tromey 2c4ab81b95 Bug 1395262 - use plain console.error in devtools promise catches; r=bgrins
MozReview-Commit-ID: C8IhVPckQJ7
2017-08-30 12:05:41 -06:00