Commit Graph
914 Commits
Author SHA1 Message Date
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
Michael Ratcliffe dc812076c4 Bug 1296723 - Remove logOncePerBrowserVersion telemetry functions and probes r=jryans
MozReview-Commit-ID: AvUuzTgoEhz
2018-05-09 12:01:35 +01:00
Michael Ratcliffe 84b2422f95 Bug 1458206 - telemetry.js: Cleanup toolOpened/toolClosed r=jdescottes
The methods have been improved and now live in telemetry.js again.

We use these methods for tools that at least require timing.

MozReview-Commit-ID: 2CqBCA9j3XU
2018-05-04 18:00:04 +01:00
Alexandre Poirot a1be154564 Bug 1461970 - Removing DeveloperToolbar, its menu, its pref and everything using gDevToolsBrowser.getDeveloperToolbar. r=jryans
MozReview-Commit-ID: Es7uUfcWTXu
2018-03-21 08:43:51 -07:00
Michael Ratcliffe 0399e4f8e0 Bug 1458204 - telemetry.js: Rename startTimer/stopTimer r=jdescottes
MozReview-Commit-ID: HAgOaVka0Qk
2018-05-04 14:14:43 +01:00
Michael Ratcliffe dafd5fc80d Bug 1458203 - telemetry.js: Rename all log* methods r=jdescottes
MozReview-Commit-ID: 9QcRGkXCq71
2018-05-09 09:53:49 +01:00
Mantaroh Yoshinaga b2558f6f8d Bug 1455462 - Part 6. Add test of confirming the position of 'all menu' popup. r=jdescottes
The accessing all menu button will be shown to the inspector, so this test will
use inspector's this button. This button didn't have an id, so this patch will
add id for testing.

MozReview-Commit-ID: 2xFXYKwpQoe
2018-05-11 11:07:00 +09:00
Mantaroh Yoshinaga b309084887 Bug 1455462 - Part 5. Add toolbox's menu position test. r=jdescottes
This test will check that popup menu of toolbox will be displayed under the
menu button. This test tolerates an error since some platform (like macOS)
will add the offset value. (i.e. eIntID_ContextMenuOffsetHorizontal and
eIntID_ContextMenuOffsetVertical)

MozReview-Commit-ID: 5TaM5JiNhdk
2018-05-11 09:31:58 +09:00
Mantaroh Yoshinaga eba12dc476 Bug 1455462 - Part 4. Use the async_task in devtool's zoom test. r=jdescottes
This patch will change test to use the async_task before touching this tests and
use the first decimal place when checking a result.

MozReview-Commit-ID: DBkvLtEmEa3
2018-05-11 09:08:09 +09:00
Mantaroh Yoshinaga 134a1468ca Bug 1455462 - Part 3. Use zoom value when showing popup menu. r=jdescottes
The openPopupAtScreen() use the zoomed css coordinate value as position value,
devtools's caller of this function use css pixel value without zoom. So position
of popup will missaligned if zooming out/in the devtool panel.

MozReview-Commit-ID: 4vvEssO41bO
2018-05-11 09:08:09 +09:00
Daisuke Akatsuka 9cb16dc943 Bug 1457067 - Part 2: Add test whether options panel toggled by key event and Settings on the meatball menu. r=jdescottes
MozReview-Commit-ID: 4bSeh8kkTx6
2018-05-11 07:35:26 +09:00
Daisuke Akatsuka e13c159c05 Bug 1457067 - Part 1: Implement so as to toggle the options panel if click 'Settings' on the meatball menu. r=jdescottes
MozReview-Commit-ID: 3ST6EtMuA2F
2018-05-11 07:35:22 +09:00
Jason Laster 83c5cd5b3d Bug 1460056 - Update Debugger Frontend v50. r=jdescottes
MozReview-Commit-ID: DEBZJPz2YlK
2018-05-09 19:35:36 -04:00
Julian Descottes ebb512e659 Bug 1456069 - Always show frame button if user is on options panel;r=birtles,jryans
MozReview-Commit-ID: CqwcVlxrQMd
2018-04-23 11:20:12 +02:00
Julian Descottes ee2096e32b Bug 1456069 - Remove inaccurate comment in toolbox controller;r=jryans
MozReview-Commit-ID: 7YiWSZ4h39S
2018-04-23 09:54:33 +02:00
Mantaroh Yoshinaga 6d884ca7d9 Bug 1457066 - Add consumeoutsideclicks attribute to menu popup. r=jdescottes
Popup manager will eat click event when clicking outside of popup only if macOS
and Linux. This patch will add consumeoutesideclicks attribute to this popup in
order to prevent to react click event listener of a button which accessing to
this popup on all platform.

MozReview-Commit-ID: Sv3Hv9Olhn
2018-05-08 10:59:19 +09:00
Miguel Useche 93f930f18c Bug 1452060 - CamelCase all React component inside client framework folder. r=jdescottes 2018-05-06 14:16:17 -04:00
Gabriel Luong c57ee8224f Bug 1458745 - Only get the notification box in the inspector for the debugger warning only if the debugger is paused. r=pbro 2018-05-03 07:05:58 -04:00
Gabriel Luong 017de1b363 Bug 1458749 - Remove checks for old traits in the inspector. r=pbro 2018-05-04 17:37:28 -04:00
Cosmin Sabou fecab7ed33 Merge inbound to mozilla-central. a=merge 2018-05-04 20:37:47 +03:00
Gabriel Luong 49deb6c19b Bug 1458770 - Use the toolbox's Telemetry instance in the Inspector. r=miker 2018-05-04 09:36:11 -04: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
Alexandre Poirot 0c001b1af8 Bug 1456194 - Fix toolbox startup telemetry measurement when using more than one top level window. r=jryans
MozReview-Commit-ID: Ic1qw8amjki
2018-04-25 03:01:13 -07:00
Daisuke Akatsuka 0eb79d3c4a Bug 1456551: Add telemetry for tabs reordering. r=jdescottes
MozReview-Commit-ID: GY0jQmMO1Su
2018-05-02 13:15:02 +09:00
Julian Descottes 955839009b Bug 1458591 - remove unused toolbar propType;r=jryans
MozReview-Commit-ID: 8e85Fw4PLNQ
2018-05-02 20:52:41 +02:00
Julian Descottes a6379e59da Bug 1458591 - Use most recent chrome window for DevTools link helper;r=jryans
MozReview-Commit-ID: 8n5tT8qbAiU
2018-05-02 20:23:53 +02:00
Brian Grinstead 3d564a4a36 Bug 1457278 - Show the accessibility tool in the default tool set in the Browser Toolbox;r=pbro
This is a new tool that will be better found if it is in the default set.

MozReview-Commit-ID: 5Q9ypEU1JzZ
2018-04-30 09:22:17 -07:00
Brian Grinstead c12efe186e Bug 1457278 - Remove the performance tool from the default tool set in the Browser Toolbox;r=pbro
The performance tool for browser chrome has been replaced by Gecko Profiler and perf-html,
so declutter the toolbar by removing it by default.

MozReview-Commit-ID: 88yFNLnZPXJ
2018-04-30 09:22:14 -07:00
Brian Grinstead ce7eabfaf4 Bug 1457278 - Stop putting scratchpad in the default tool set in the Browser Toolbox;r=pbro
We currently overflow the toolbar menu in a clean profile in the Browser Toolbox.
Scratchpad can be accessed from the parent process by opening the Scratchpad window
and targeting chrome, so this patch removes it from the default set.

MozReview-Commit-ID: 6esMvDCt6Um
2018-04-30 09:22:11 -07:00
Michael Ratcliffe 9e44b893f6 Bug 1456923 - can't switch to dev-tools add-on that is loaded temporarily r=pbro
MozReview-Commit-ID: EOw2S34zqPa
2018-04-30 15:57:39 +01:00
Daisuke Akatsuka c1abf45e4a Bug 1456849 - Part 2: Add test whether the tool tabs are re-arranged when the visibility of toolbox button were changed. r=jdescottes
MozReview-Commit-ID: 7e3txrVhB9D
2018-04-29 10:52:14 +09:00
Daisuke Akatsuka 88db160207 Bug 1456849 - Part 1: Re-arrange the tool tabs if the visibility of command tools are changed. r=jdescottes
MozReview-Commit-ID: EzUfqRUdK6I
2018-04-29 10:52:10 +09:00
Daisuke Akatsuka f3f21b47e4 Bug 1455573 - Part 4: Add test for reordering with an extensions. r=jdescottes,rpl
MozReview-Commit-ID: GUX2otL3hSd
2018-04-27 06:29:05 +09:00
Daisuke Akatsuka 513407a606 Bug 1455573 - Part 3: Save the reordering preference when destroying. r=jdescottes
MozReview-Commit-ID: AEmnzVkEs9T
2018-04-27 06:29:05 +09:00
Daisuke Akatsuka bc37f9f468 Bug 1455573 - Part 2: Correspond to the extension tool tab. r=jdescottes
MozReview-Commit-ID: 34Qm2CENXiV
2018-04-27 06:29:04 +09:00
Michael Ratcliffe 240dfd4925 Bug 1456103 - Create tests for devtools.main.deactivate telemetry event r=yulia
MozReview-Commit-ID: 5x6XHS11x1C
2018-04-26 10:16:11 +01:00
Michael Ratcliffe 51f6cfe431 Bug 1456098 - Create tests for devtools.main.activate telemetry event r=yulia
MozReview-Commit-ID: III7oI427vr
2018-04-25 18:04:35 +01:00
Michael Ratcliffe 951f94cd83 Bug 1456087 - Create tests for devtools.main.exit telemetry event r=yulia
MozReview-Commit-ID: J2PgWMEfE5C
2018-04-25 17:18:58 +01:00
Michael Ratcliffe a22744da4a Bug 1456073 - Create tests for devtools.main.enter telemetry event r=yulia
MozReview-Commit-ID: G9IE1LZlGnh
2018-04-24 10:12:19 +01:00
Michael Ratcliffe eff323f2df Bug 1456772 - Fix web console message_count reporting r=yulia
MozReview-Commit-ID: 4DoChJ5AtCG
2018-04-25 10:20:30 +01: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
Andreea Pavel 2901ed2bdb Merge mozilla-inbound to mozilla-central. a=merge 2018-04-26 09:04:59 +03:00
Brian Birtles 16f90b712f Bug 1454298 - Add utm_source and utm_medium parameters to DevTools menu links; r=jryans
MozReview-Commit-ID: BVn1DXBdaMY
2018-04-25 10:01:52 +09:00
J. Ryan Stinnett 9d99c07722 Bug 1456274 - Add target.makeRemote in several tests. r=ochameau
Navigation events now require a "remoted" target.  Add `makeRemote` calls to a
tests which make use of these features.

MozReview-Commit-ID: GJsleBWryCd
2018-04-23 19:18:59 -05:00
J. Ryan Stinnett b9825765ba Bug 1456274 - Rewrite browser_target_events in async style. r=ochameau
MozReview-Commit-ID: 8gF9T6qeYR3
2018-04-23 19:17:20 -05:00
J. Ryan Stinnett 1eeead19ba Bug 1456274 - Remove local progress listener in DevTools target. r=ochameau
DevTools targets have used a local progress listener for a long time to track
tab navigation.  However, this is redundant with server side code that does the
same thing.

Removing this from the target reduces differences between local and remote
debugging.  It also simplifies one piece of the target, which is a massively
twisted module.

MozReview-Commit-ID: E7lm4GUFZQO
2018-04-23 19:09:40 -05:00
Dorel Luca 1ea59491fe Backed out 3 changesets (bug 1456274) for Linting failure. CLOSED TREE
Backed out changeset 707d5e397407 (bug 1456274)
Backed out changeset 97e8882d0343 (bug 1456274)
Backed out changeset 7cf34fe2036e (bug 1456274)
2018-04-26 01:28:33 +03:00
J. Ryan Stinnett ed06ce3ca9 Bug 1456274 - Add target.makeRemote in several tests. r=ochameau
Navigation events now require a "remoted" target.  Add `makeRemote` calls to a
tests which make use of these features.

MozReview-Commit-ID: GJsleBWryCd
2018-04-23 19:18:59 -05:00
J. Ryan Stinnett c5ea7164c3 Bug 1456274 - Rewrite browser_target_events in async style. r=ochameau
MozReview-Commit-ID: 8gF9T6qeYR3
2018-04-23 19:17:20 -05:00
J. Ryan Stinnett a8afafadf3 Bug 1456274 - Remove local progress listener in DevTools target. r=ochameau
DevTools targets have used a local progress listener for a long time to track
tab navigation.  However, this is redundant with server side code that does the
same thing.

Removing this from the target reduces differences between local and remote
debugging.  It also simplifies one piece of the target, which is a massively
twisted module.

MozReview-Commit-ID: E7lm4GUFZQO
2018-04-23 19:09:40 -05:00