Commit Graph
111 Commits
Author SHA1 Message Date
Gabriel Luong 4257ef4e0c Bug 1500701 - Lazy load async-storage in manager.js. r=mtigley 2018-10-22 12:21:40 -04: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
Gabriel Luong 9559624b8a Bug 1248619 - Part 3: Restore the previous viewport size, user agent, display pixel ratio and touch simultation properties. r=rcaliman
We also provided reasonable defaults to all our SErvices.prefs getter in case an user's profile
is somehow missing those prefs.
2018-10-09 14:53:29 -04:00
Bogdan Tara c9a287c885 Backed out 2 changesets (bug 1248619) for devtools/client/responsive.html/test/unit/test_change_device.js failures
Backed out changeset fb2a9e0b7538 (bug 1248619)
Backed out changeset ae15dbcedd8a (bug 1248619)
2018-10-09 22:43:50 +03:00
Gabriel Luong ed1412e182 Bug 1248619 - Part 3: Restore the previous viewport size, user agent, display pixel ratio and touch simultation properties. r=rcaliman
We also provided reasonable defaults to all our SErvices.prefs getter in case an user's profile
is somehow missing those prefs.
2018-10-09 14:53:29 -04:00
yulia 90336559cb Bug 1488380 - update RDM emulation front instantiation with comments, move to getFront elsewhere; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8006
2018-10-09 10:16:38 +00:00
Brad Werth de46931aca Bug 1290420 Part 5: Change test function waitForViewportResizeTo to check viewport size. r=gl
Several tests of RDM use the helper function waitForViewportResizeTo. This patch changes that function to check the viewport size, not the content size, and to wait on either the content-resized event or the newly-defined viewport-resized event, which is fired on resize when viewport override is active.

Differential Revision: https://phabricator.services.mozilla.com/D7202
2018-10-04 13:16:52 +00:00
Botond Ballo daa1f8023e Bug 1290420 Part 3: Set the metaViewportOverride flag when viewing a device with touch event support in Responsive Design Mode. r=gl
Depends on D3375

Differential Revision: https://phabricator.services.mozilla.com/D3376
2018-10-04 00:19:41 +00:00
Michael Ratcliffe 81596860ae Bug 1491879 - Fix telemetry support for multiple tabs / windows r=nchevobbe
- Various telemetry methods now need an object to be passed in in order to keep them seperate e.g. if the inspector is opened in tab 1 a timer is started. If an inspector is opened in tab 2 the same timer is restarted. Closing tab 2 would then erase the timing event invalidating the timer in tab 1.
- We no longer need to preface telemetry calls with category "devtools.main" because this is the only category we will be using.
- There are some changes to `devtools/client/debugger/new/dist/vendors.js` and `devtools/client/debugger/new/src/utils/telemetry.js` that need to be ported to the debugger at the same time as landing this.

Differential Revision: https://phabricator.services.mozilla.com/D6137
2018-09-25 12:57:13 +00:00
Alexandre Poirot 3e4c0febbd Bug 1485676 - Tweak RDM manage to support new async forTab. r=yulia
Summary:
Fetching any target is now asynchronous. But RDM setup/destroy codepath is very fragile
and introduce many low level exception when trying to restore the original browser element
if any timing changes.
So this patch prevents trying to fetch the target object if a toolbox isn't already opened.
The target object is being used only for Telemetry purpose for now.

Depends On D4538

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D4540

MozReview-Commit-ID: 2QDUNqentMP
2018-09-24 09:52:51 -07:00
shindli dbbcc1c04f Backed out 9 changesets (bug 1485676) for failures in browser/tools/mozscreenshots/devtools/browser_devtools.js CLOSED TREE
Backed out changeset d358feec4ca1 (bug 1485676)
Backed out changeset ed554dbb062f (bug 1485676)
Backed out changeset 6e78058df94d (bug 1485676)
Backed out changeset 3a6f1b0e71f4 (bug 1485676)
Backed out changeset 16d2403aa787 (bug 1485676)
Backed out changeset 454eddf52157 (bug 1485676)
Backed out changeset 926f725f2183 (bug 1485676)
Backed out changeset fb03f174bd5f (bug 1485676)
Backed out changeset ceb93dd1799a (bug 1485676)
2018-09-24 15:27:27 +03:00
Alexandre Poirot 10e4cad114 Bug 1485676 - Tweak RDM manage to support new async forTab. r=yulia
Summary:
Fetching any target is now asynchronous. But RDM setup/destroy codepath is very fragile
and introduce many low level exception when trying to restore the original browser element
if any timing changes.
So this patch prevents trying to fetch the target object if a toolbox isn't already opened.
The target object is being used only for Telemetry purpose for now.

Depends On D4538

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D4540

MozReview-Commit-ID: 2QDUNqentMP
2018-09-24 01:24:59 -07:00
Gurzau Raul a532c08398 Backed out 9 changesets (bug 1485676) for failing at damp inspector/cold-open.js on a CLOSED TREE
Backed out changeset 4de2e71debfe (bug 1485676)
Backed out changeset e63025150c7a (bug 1485676)
Backed out changeset f9ef30ae3f7f (bug 1485676)
Backed out changeset a83636fab16a (bug 1485676)
Backed out changeset b1fd24929e09 (bug 1485676)
Backed out changeset acb27b915742 (bug 1485676)
Backed out changeset ba2157632772 (bug 1485676)
Backed out changeset d1d6b9bc2372 (bug 1485676)
Backed out changeset d7646ea8640b (bug 1485676)
2018-09-22 19:42:04 +03:00
Alexandre Poirot 166a3eba0a Bug 1485676 - Tweak RDM manage to support new async forTab. r=yulia
Summary:
Fetching any target is now asynchronous. But RDM setup/destroy codepath is very fragile
and introduce many low level exception when trying to restore the original browser element
if any timing changes.
So this patch prevents trying to fetch the target object if a toolbox isn't already opened.
The target object is being used only for Telemetry purpose for now.

Depends On D4538

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D4540

MozReview-Commit-ID: 2QDUNqentMP
2018-09-22 08:34:19 -07:00
arthur.iakab 12a839773f Backed out 9 changesets (bug 1485676)for perma failures in devtools/client/canvasdebugger/test/browser_canvas-actor-test-01.js CLOSED TREE
Backed out changeset 9f5ec2aa7109 (bug 1485676)
Backed out changeset 0d530c1316a4 (bug 1485676)
Backed out changeset 03278e6fe685 (bug 1485676)
Backed out changeset 275463260056 (bug 1485676)
Backed out changeset 4c5a956b33f7 (bug 1485676)
Backed out changeset d8fe80bb0e3c (bug 1485676)
Backed out changeset 56240996921f (bug 1485676)
Backed out changeset ec0a322f5cc9 (bug 1485676)
Backed out changeset f0f4f9407970 (bug 1485676)
2018-09-21 12:48:48 +03:00
Alexandre Poirot a5e719e6c8 Bug 1485676 - Tweak RDM manage to support new async forTab. r=yulia
Fetching any target is now asynchronous. But RDM setup/destroy codepath is very fragile
and introduce many low level exception when trying to restore the original browser element
if any timing changes.
So this patch prevents trying to fetch the target object if a toolbox isn't already opened.
The target object is being used only for Telemetry purpose for now.

Depends On D4538

Differential Revision: https://phabricator.services.mozilla.com/D4540
2018-09-21 08:11:48 +00:00
Gabriel Luong 053972912f Bug 1297431 - Add a custom user agent input in responsive design mode. r=rcaliman 2018-09-12 22:44:23 -04:00
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