Commit Graph
100 Commits
Author SHA1 Message Date
Alexandre Poirot 2b6df33bde Bug 1503628 - Rename TabTarget to Target. r=yulia
MozReview-Commit-ID: BpmiEm05QIF

Depends on D11015

Differential Revision: https://phabricator.services.mozilla.com/D11016
2018-11-08 10:30:59 +00: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
yulia d54936c19b Bug 1488381 - Use target.getFront to instantiate WebExtensionInspectedWindowFront; r=ochameau
Depends on D6768

Differential Revision: https://phabricator.services.mozilla.com/D7063
2018-09-28 17:52:26 +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 0ccb191bef Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: JAwiySsBZBu
2018-09-24 09:52:55 -07:00
Alexandre Poirot 973385106e Bug 1485676 - Adapt gDevTools.createTargetForTab to new TabTarget class. r=yulia
Summary: Depends On D4536

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: E3AIMyFgL5m
2018-09-24 09:52:50 -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 ded1511af6 Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: JAwiySsBZBu
2018-09-24 01:25:01 -07:00
Alexandre Poirot 82a879cabb Bug 1485676 - Adapt gDevTools.createTargetForTab to new TabTarget class. r=yulia
Summary: Depends On D4536

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: E3AIMyFgL5m
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 a9337c9d24 Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: JAwiySsBZBu
2018-09-22 08:34:20 -07:00
Alexandre Poirot f577f996e8 Bug 1485676 - Adapt gDevTools.createTargetForTab to new TabTarget class. r=yulia
Summary: Depends On D4536

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: E3AIMyFgL5m
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 6bdb907e8d Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D4078
2018-09-21 08:07:48 +00:00
Alexandre Poirot be570809b7 Bug 1485676 - Adapt gDevTools.createTargetForTab to new TabTarget class. r=yulia
Depends On D4536

Differential Revision: https://phabricator.services.mozilla.com/D4537
2018-09-21 08:11:53 +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
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
Julian Descottes 6cb16f3d8f Bug 1449968 - Add support for Inspect Element in Shadow DOM;r=bgrins
MozReview-Commit-ID: HhwyDMyZe1k
2018-07-05 18:48:24 +02: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 3b10cc3277 Bug 1172897 - Move DevTools addon modules to subdir. r=ochameau
MozReview-Commit-ID: D61WJnoYQe3
2018-06-04 18:12:11 -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 dafd5fc80d Bug 1458203 - telemetry.js: Rename all log* methods r=jdescottes
MozReview-Commit-ID: 9QcRGkXCq71
2018-05-09 09:53:49 +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
Michael Ratcliffe 2cd66f01bc Bug 1441070 - Instrument toolbox panel navigation with event telemetry r=yulia
This is pretty simple... finding the best locations for the probes was the
struggle here.

In order to land these probes before the freeze the test for these events will
be created as part of bug 1456073.

MozReview-Commit-ID: 7hIfbD3wQ1I
2018-04-19 12:09:28 +01:00
Yura Zenevich 0c45d991f9 Bug 1447302 - add telemetry probes for accessibility inspector Developer Tool panel. r=jdescottes
MozReview-Commit-ID: 6tcGHq86goa
2018-04-16 21:17:26 -04:00
Gurzau Raul b5d76706a3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-10 19:58:05 +03:00
Yura Zenevich 609137e0f4 Bug 1428427 - add 'Inspect Accessibility Properties' context menu item when right clicking on content element. r=jdescottes, mixedpuppy
MozReview-Commit-ID: 4aav1f6eslQ
2018-04-10 10:52:58 -04:00
Julian Descottes fd6c4d35a8 Bug 1451014 - Remove iterator to list toolboxes on gDevTools;r=ochameau
MozReview-Commit-ID: 5ZaePP4p5Eb
2018-04-06 12:41:43 +02:00
Luca Greco a13a516851 Bug 1394750 - Keep track of the active and enabled devtools webextensions. r=jdescottes
MozReview-Commit-ID: 4KUQCls8CPe
2018-01-22 22:42:35 +01:00
Tiberius Oros b39b7b45f2 Backed out 2 changesets (bug 1416024) for failures on browser/base/content/test/performance/browser_startup.js a=backout on a CLOSED TREE
Backed out changeset ca1744840f1a (bug 1416024)
Backed out changeset 0c25684c9948 (bug 1416024)
2018-04-05 12:40:08 +03:00
Mike Ratcliffe cf733b6b31 Bug 1416024 - Patch 1: Record event for toolbox open/close r=yulia
MozReview-Commit-ID: 9YI0Bv6Q8gG
2018-03-22 16:54:15 +00:00
Julian Descottes 00231e7711 Bug 1053898 - Update framework/selection setNodeFront signature to use object argument;r=gl
Both reason and isSlotted arguments of setNodeFront are optional, switching to an
object argument avoids weird calls such as setNodeFront(front, null, true) in favor
of a more explicit setNodeFront(front, { isSlotted: true });

MozReview-Commit-ID: A6nziH3QQYe
2018-03-05 14:15:57 +01:00
J. Ryan Stinnett f94ae509d7 Bug 1446572 - Adjust node inspection for toolbox's selected frame. r=pbro
When inspecting a node with the toolbox focused on an inner frame, we need to
adjust the selectors used to remove hidden parent frames.

MozReview-Commit-ID: CXwb3FmnJFO
2018-03-28 19:54:43 -05:00
J. Ryan Stinnett 5588756477 Bug 1446572 - Record node inspection selectors starting with root. r=pbro
Reverse the array of node inspection selectors, so that are a bit more naturally
human-readable by starting from the root document and moving inwards.

MozReview-Commit-ID: BYXryJg7iR9
2018-03-28 14:30:12 -05:00
Julian Descottes e78279fdf9 Bug 1444926 - Remove mentions of DevTools addon or DevTools moving to GitHub;r=ochameau
MozReview-Commit-ID: GZwMXU9n0k
2018-03-20 15:52:54 +01:00
Julian Descottes 60b399b826 Bug 1444926 - Move devtools/shim to devtools/startup;r=ochameau
MozReview-Commit-ID: K9WuJuTdYHS
2018-03-12 14:41:48 +01:00
Nicolas Chevobbe f50726549e Bug 1382581 - Remove old-event-emitter usage from devtools/client/framework; r=bgrins.
MozReview-Commit-ID: 4oQJ3391H9S
2018-03-14 17:31:12 +01:00
Michael Ratcliffe ec7ed48b6b Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV
2018-03-09 15:36:45 +00:00
Dorel Luca 3533489bdf Backed out changeset ae1924aff61b (bug 1443457) as requested by developer 2018-03-14 12:35:38 +02:00
Michael Ratcliffe b37dad2dfb Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV
2018-03-09 15:36:45 +00:00
Coroiu Cristina a1647fc116 Backed out changeset 2c8540f7800f (bug 1443457) for ESlint failure at /builds/worker/checkouts/gecko/devtools/server/tests/mochitest/test_getProcess.html 2018-03-14 11:41:12 +02:00
Michael Ratcliffe 433c9dfe42 Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV
2018-03-09 15:36:45 +00:00
Mike Ratcliffe d512f89f82 Bug 1416024 - Patch 1: Record event for toolbox open/close r=yulia
MozReview-Commit-ID: 9YI0Bv6Q8gG
2018-03-22 16:54:15 +00:00
Alexandre Poirot 22e91d7acd Bug 1440321 - Convert Task.jsm to async/await in devtools/client. r=jryans
MozReview-Commit-ID: HaGOC5cn3JD
2018-03-12 19:46:35 -05:00
J. Ryan Stinnett 8d1c817851 Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Brian Grinstead 4a8db086aa Bug 1438487 - Restore the Browser Toolbox using session store;r=jryans
MozReview-Commit-ID: JUbafbthojm
2018-02-21 15:47:36 -08:00
Alexandre Poirot 13e5d4f0f5 Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
MozReview-Commit-ID: 7YyLu5q23Hs
2018-02-07 01:37:36 -08:00
Florian Quèze c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Julian Descottes 2d1b7163e8 Bug 1386979 - register about-devtools-toolbox on browser startup;r=ochameau
MozReview-Commit-ID: GUBEyzg2qCw
2017-11-21 20:32:51 +01:00