Commit Graph
275 Commits
Author SHA1 Message Date
yulia 1c18ac0dd0 Bug 1447490 - replace GCLI toolbox buttons with highlighters and appropriate actors; r=ochameau
GCLI has been handling the state of our buttons as well as managing shared highlighters.
Since the gcli removal, we no longer share the rulers and measure with any other UI, so a location
for shared state is no longer needed.

Differential Revision: https://phabricator.services.mozilla.com/D3506
2018-09-03 14:54:04 +00:00
yulia fe26bd7cbc Bug 1485374 - Update inspector front to use target.getFront
Summary: Update toolbox to use target.getFront to instantiate inspector

Reviewers: ochameau

Tags: #secure-revision

Bug #: 1485374

Differential Revision: https://phabricator.services.mozilla.com/D4579
2018-08-29 18:15:14 +02:00
yulia 60fec4d707 Bug 1485022 - use target.reconfigure to set paint flashing; r=ochameau
Set the targets paintflashing via the reconfigure on the target.

Differential Revision: https://phabricator.services.mozilla.com/D3897
2018-08-29 14:05:31 +00:00
Brendan Dahl 532fe1f6b0 Bug 1485426 - Use createXULElement instead of createElement in XUL docs. r=bgrins
Preparing for transitioning to XHTML.

MozReview-Commit-ID: JLlmUxsvhIB

Differential Revision: https://phabricator.services.mozilla.com/D4265
2018-08-25 00:16:27 +00:00
Alexandre Poirot 51584eeb03 Bug 1222047 - Manage performance fronts via target.getFront. r=yulia
Summary: Depends On D3318

Tags: #secure-revision

Bug #: 1222047

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

MozReview-Commit-ID: CzwJ138yY9s
2018-08-23 03:51:41 -07:00
Alexandre Poirot 453be37998 Bug 1222047 - Manage device and preference fronts via client.mainRoot.getFront. r=yulia
Summary: Depends On D3317

Tags: #secure-revision

Bug #: 1222047

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

MozReview-Commit-ID: 3jaFZbXVLuw
2018-08-23 03:51:40 -07:00
Alexandre Poirot c07c3a7dab Bug 1222047 - Manage StyleSheets fronts via target.getFront. r=yulia
Summary: Depends On D3316

Tags: #secure-revision

Bug #: 1222047

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

MozReview-Commit-ID: KMVHXrGlncU
2018-08-23 03:51:40 -07:00
Michael Ratcliffe a46b205a6b Bug 1478273 - When clicked on the side bar pane, it disappears r=gl
Differential Revision: https://phabricator.services.mozilla.com/D3505
2018-08-16 15:05:31 +00:00
Michael Ratcliffe 6f01e84f30 Bug 1480638 - Inspect Element is not reported into panel enter/exit events r=nchevobbe
Send `inspect_dom` properties from appropriate places.

Differential Revision: https://phabricator.services.mozilla.com/D3511
2018-08-20 06:11:31 +00:00
Belén Albeza 54936cb5e6 Bug 1476235 - Add telemetry for opening a custom element definition in the debugger. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D2836
2018-08-08 15:30:17 +00:00
Mantaroh Yoshinaga 6fb25cb49c Bug 1477367 - Close the popup menu before changing the panel to options panel. r=birtles
Pressing the F1 key make the toolbox panel to options panel, However, popup menu
doesn't closed at the moment. This patch will close the popup menu in this case.

Differential Revision: https://phabricator.services.mozilla.com/D2897
2018-08-08 02:13:38 +00:00
Michael Ratcliffe de1cc3f2d1 Bug 1466881 - Missing open events for some users r=nchevobbe
Changes:

- All files
  - Generally shuffled around telemetry events to fix issues with properties not been sent or being sent in the wrong order.
- devtools/client/framework/browser-menus.js
  - Added telemetry open event to missed codepath.
- devtools/startup/DevToolsShim.jsm
  - Added missing telemetry "shortcut" property.
- devtools/startup/devtools-startup.js
  - Added comment to sendEntryPointTelemetry().

MozReview-Commit-ID: ELldeyF32rG
2018-07-16 21:16:50 +01:00
Michael Ratcliffe 23e4b12f12 Bug 1474356 - Most other panel openings without panel_name r=nchevobbe
Changes:

Pretty much all files contain changes to the order of events and properties... these are to stop subtle issues with events not being logged because not all properties were sent and some events were sent in the wrong order.

-devtools/client/framework/test/browser_devtools_api.js
  - Renamed test-tool-1 and 2 because we need to include the panel names in Events.yaml and "-" is not allowed.
- devtools/client/framework/toolbox.js
  - Removed unneeded const REGEX_PANEL.
  - Generally shifted things around to ensure we send events from all codepaths.
- toolkit/components/telemetry/Events.yaml
  - Changed telemetry event `"devtools.main", "enter"` to include all built-in panel names including  "other."

MozReview-Commit-ID: 2G3Z9pzj1QC
2018-07-16 14:50:00 +01:00
Narcis Beleuzu 00512ea2f7 Backed out changeset 55739a1e4de9 (bug 1474356) for mochitest bc failures on browser_ext_devtools_panel.js. CLOSED TREE 2018-07-26 14:06:18 +03:00
Michael Ratcliffe 4a0f96c292 Bug 1474356 - Most other panel openings without panel_name r=nchevobbe
Changes:

Pretty much all files contain changes to the order of events and properties... these are to stop subtle issues with events not being logged because not all properties were sent and some events were sent in the wrong order.

-devtools/client/framework/test/browser_devtools_api.js
  - Renamed test-tool-1 and 2 because we need to include the panel names in Events.yaml and "-" is not allowed.
- devtools/client/framework/toolbox.js
  - Removed unneeded const REGEX_PANEL.
  - Generally shifted things around to ensure we send events from all codepaths.
- toolkit/components/telemetry/Events.yaml
  - Changed telemetry event `"devtools.main", "enter"` to include all built-in panel names including  "other."

MozReview-Commit-ID: 2G3Z9pzj1QC
2018-07-16 14:50:00 +01:00
Boris Zbarsky 3af9dccacb Bug 1476145 part 4. Stop using getInterface(nsIDOMWindowUtils) in devtools. r=bgrins 2018-07-24 19:47:41 -04:00
Ian Moody d1d42970ff Bug 1474379 - Match regex against the entire panel ID. r=miker,rpl
So panels provided by extensions with IDs that contain words like "inspector"
don't break.
Include test in existing panel creation test.

MozReview-Commit-ID: JerMCaKRgkl
2018-07-10 17:38:35 +01:00
Gurzau Raul 36a9e5f749 Backed out changeset d93abdc258e1 (bug 1474379) for failing at test/browser_toolbox_telemetry_enter.js on a CLOSED TREE 2018-07-13 18:43:14 +03:00
Ian Moody 189237fdf9 Bug 1474379 - Match regex against the entire panel ID. r=miker,rpl
So panels provided by extensions with IDs that contain words like "inspector"
don't break.
Include test in existing panel creation test.

MozReview-Commit-ID: JerMCaKRgkl
2018-07-10 17:38:35 +01:00
Alexandre Poirot 5d75619f59 Bug 1473418 - Improve exception message occuring during toolbox opening. r=jryans
MozReview-Commit-ID: HFXiyNzstGK
2018-07-04 15:13:07 -07:00
sreeise f430885da6 Bug 1368199 - Replaced uses of 'defer' with 'new Promise' in the devtools/client/framework directory. r=jryans
MozReview-Commit-ID: CA1XPx90jwW
2018-07-03 02:16:31 -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
Yura Zenevich 6badd76f86 Bug 1453093 - move accessible actor instantiation and panel tab highlighting into tool startup component. r=ochameau
MozReview-Commit-ID: F02RgSyupUQ
2018-06-08 13:24:20 -04:00
Ciure Andrei 205e72bd43 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-08 00:54:06 +03:00
Gabriel Luong eefb8f3a4a Bug 1192642 - Add a left host type for the toolbox. r=pbro 2018-06-07 12:45:53 -04:00
J. Ryan Stinnett c6fd8c950e Bug 1172897 - Rename TabActor to BrowsingContextTargetActor. r=ochameau
MozReview-Commit-ID: LPTEx2h4F1o
2018-05-25 18:20:28 -05: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 e13c761a90 Bug 1456984 - Instrument inspection of shortcut combination used for toolbox opening with event telemetry r=yulia
MozReview-Commit-ID: HA6Tasq2iZu
2018-05-23 13:14:25 +01:00
Jan Odvarko 5618abeaa4 Bug 1460841 - Console clean up: rename internal modules; r=nchevobbe
MozReview-Commit-ID: 7rDoXy8ROAe
2018-05-24 18:11:14 +02:00
Brian Birtles 1a4a722477 Bug 1463026 - Avoid unnecesarily setting the toolbox buttons when reloading the page; r=jryans
Changeset https://hg.mozilla.org/mozilla-central/rev/00c968ee4e0c from
bug 1451592 introduced a DAMP regression on several reload tests. This is
because upon reloading a page we get a series of frame-update messages which
tell us that we no longer have any iframes only to then tell us we do have
iframes after all. As a result we update the toolbar buttons to remove the
frames button only to re-add it again. This causes unnecessary updates and
flicker.

This patch mitigates this problem by introducing debouncing during
reloading/navigating so that we only update the toolbar buttons after some
timeout of inactivity if there has been a change in the frames button's state.

MozReview-Commit-ID: 3CpEjLfNjbC
2018-05-24 13:13:50 +09:00
J. Ryan Stinnett c6f7de5428 Bug 1463924 - Remove Dev. Edition promo doorhanger. r=nchevobbe
MozReview-Commit-ID: LIg6o35CvD2
2018-05-23 18:30:36 -05: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
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 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 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
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
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 49deb6c19b Bug 1458770 - Use the toolbox's Telemetry instance in the Inspector. r=miker 2018-05-04 09:36:11 -04:00
Dorel Luca ae3802e11b Backed out changeset 4a2622e9e2b4 (bug 1458745) for DevTools Failures on devtools/client/shared/test/browser_telemetry_button_eyedropper.js. CLOSED TREE 2018-05-03 19:09:57 +03:00
Gabriel Luong f929dc7d67 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
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
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