Commit Graph
48 Commits
Author SHA1 Message Date
Mark Banner 91fde42f7b Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Alexandre Poirot fb1494f232 Bug 1792847 - [devtools] Use absolute URLs to import modules in devtools/client/memory. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D158376
2022-09-30 15:17:37 +00:00
Mark Banner 6d03c63e2d Bug 1330099 - Enable object-shorthand eslint rule. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D153567
2022-08-03 14:57:05 +00:00
Alexandre Poirot 96997f4d74 Bug 1729500 - [devtools] Fix stack recording in the memory panel. r=jdescottes
Without this, server side target were breaking stack record in the memory panel.
We have to ensure toggling stack record ON before the page starts loading.

Differential Revision: https://phabricator.services.mozilla.com/D124823
2021-09-14 12:46:48 +00:00
Daisuke Akatsuka a5877b5376 Bug 1603176: Install target-switing mechanism. r=jdescottes
Depends on D61347

Differential Revision: https://phabricator.services.mozilla.com/D61348
2020-02-24 20:15:27 +00:00
Daisuke Akatsuka 995c79844c Bug 1603176: Introduce updateMemoryFront action. r=jdescottes
Depends on D61346

Differential Revision: https://phabricator.services.mozilla.com/D61347
2020-02-24 14:07:15 +00:00
Razvan Maries fc2727b3e7 Backed out 4 changesets (bug 1603176) for perma failures on browser_toolbox_tool_ready.js and browser_memory_fission_switch_target.js. CLOSED TREE
Backed out changeset 1d69574fa593 (bug 1603176)
Backed out changeset 635851b79924 (bug 1603176)
Backed out changeset 2485f2115890 (bug 1603176)
Backed out changeset 7b47a4c77243 (bug 1603176)
2020-02-20 16:08:55 +02:00
Daisuke Akatsuka 0cecc25b59 Bug 1603176: Install target-switing mechanism. r=jdescottes
Depends on D61347

Differential Revision: https://phabricator.services.mozilla.com/D61348
2020-02-20 12:31:54 +00:00
Daisuke Akatsuka 683f5b7b5c Bug 1603176: Introduce updateMemoryFront action. r=jdescottes
Depends on D61346

Differential Revision: https://phabricator.services.mozilla.com/D61347
2020-02-17 10:15:26 +00:00
Alexandre Poirot c064d5eeb9 Bug 1569676 - Make memory panel's destroy synchronous. r=jdescottes
The memory actor is a target scoped one and they are all destroyed
when the toolbox closes. So memory actor's destroy method is called.
It then calls bridge's destroy, which also detach the actor if it was
attached.

Differential Revision: https://phabricator.services.mozilla.com/D39710
2019-08-12 13:47:15 +00:00
Bogdan Tara abdde2e418 Backed out 8 changesets (bug 1569676) for failures on browser_toolbox_tool_ready.js CLOSED TREE
Backed out changeset 997ad11003a3 (bug 1569676)
Backed out changeset 2dab5e2243d0 (bug 1569676)
Backed out changeset 59660e3e2e53 (bug 1569676)
Backed out changeset c0b0e0410a66 (bug 1569676)
Backed out changeset 1bc927ef181a (bug 1569676)
Backed out changeset 5227c89295f4 (bug 1569676)
Backed out changeset 8365fc01396b (bug 1569676)
Backed out changeset 996c40dbc9e2 (bug 1569676)
2019-08-05 22:00:23 +03:00
Alexandre Poirot f020540940 Bug 1569676 - Make memory panel's destroy synchronous. r=jdescottes
The memory actor is a target scoped one and they are all destroyed
when the toolbox closes. So memory actor's destroy method is called.
It then calls bridge's destroy, which also detach the actor if it was
attached.

Differential Revision: https://phabricator.services.mozilla.com/D39710
2019-08-05 10:46:54 +00:00
Victor Porof b7732ae890 Bug 1561435 - Format devtools/client/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35884
2019-07-05 11:24:38 +02: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
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
Julian Descottes 846d751b43 Bug 1455226 - Load memory/initializer.js via browserRequire instead of a script tag;r=ochameau
"async" methods defined in scripts loaded via a <script> tag seem
to indirectly use the document's Promise, which is not usable after
the DOM of the document has been destroyed.

This is an issue if we invoke this code during the destroy of the
toolbox.

MozReview-Commit-ID: C8juQqJlVDN
2018-04-19 19:12:18 +02: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
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
Andrew McCreight 272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Alexandre Poirot 0acfa676ff Bug 1402779 - Force using privileged Promise in panels. r=tromey
MozReview-Commit-ID: IDAZeHlluH6
2017-09-24 22:45:16 +02:00
tdraebing 860f51f12d Bug 1251728 - Make devtools/client/memory/ eslint clean. r=ntim
MozReview-Commit-ID: KlM4HF81imy
2016-12-21 15:21:24 +01:00
Alexandre Poirot e689948770 Bug 1303288 - Pass the window object instead of current scope to prevent wrapper issues when using the devtools reload addon. r=jlongster
If we happen to pass the current scope (`this`), the browser-loader codebase fails
when passing it as sandboxPrototype. It only works when passing an xray wrapper.
The document scope happen to not be an xray when using the addon, whereas `window`
always is no matter if we are using the addon or not.

MozReview-Commit-ID: GjYHkaCGBDd
2016-09-21 08:07:02 -07:00
Tom Tromey 86974842a1 Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Jordan Santell 9632efd3fe Bug 1251033 - Part 1 - BrowserLoader now has an option to only load shared components and not require an additional directory. r=jryans 2016-03-08 19:19:09 -08:00
J. Ryan Stinnett de2f55cad7 Bug 1253125 - Stop duplicating telemetry from inside tools. r=mratcliffe
MozReview-Commit-ID: IRidYhLsJpy
2016-03-03 16:16:39 -06:00
Jordan Santell 801d3d096e Bug 1231943 - Add basic telemetry for memory tool. r=fitzgen 2015-12-11 07:36:00 +01:00
James Long 88e34e57fd Bug 1219304 - add react-dom and use it in the devtools to render react r=jsantell 2015-10-30 10:06:52 -04:00
Nick Fitzgerald 53f5f3ff42 Bug 1218560 - Part 2: Add an integration test for allocation stack breakdowns; r=jsantell 2015-10-28 22:46:25 -07:00
Jordan Santell fb6ac75f16 Bug 1218679 - Add integration/smoke-screen tests for memory tool. r=fitzgen 2015-10-28 22:46:25 -07:00
Jordan Santell 24d35cb49a Bug 1219073 - part 2 - Add styling and link to the debugger of SavedFrames in memory tool tree. r=fitzgen 2015-10-28 22:16:13 -07:00
Jordan Santell 0783e2d223 Bug 1217969 - Highlight the memory tool tab when recording allocations. r=fitzgen 2015-10-28 13:10:31 -07:00
Carsten "Tomcat" Book d0b1d0fdb5 Backed out changeset 5f17f4325f31 (bug 1218679) for memory leaks on a CLOSED TREE 2015-10-28 13:09:57 +01:00
Carsten "Tomcat" Book 9f98f967d8 Backed out changeset 2e2f56672850 (bug 1218560) 2015-10-28 13:09:38 +01:00
Nick Fitzgerald 6ad9719d8d Bug 1218560 - Part 2: Add an integration test for allocation stack breakdowns; r=jsantell 2015-10-28 02:11:06 -07:00
Jordan Santell 6e7f53a358 Bug 1218679 - Add integration/smoke-screen tests for memory tool. r=fitzgen 2015-10-28 02:11:06 -07:00
Phil Ringnalda ee52d81943 Back out 2 changesets (bug 1217500, bug 1218560) for devtools leaks
Backed out changeset 15acea2927e2 (bug 1218560)
Backed out changeset e3b623fd16bf (bug 1217500)
2015-10-26 18:28:24 -07:00
Nick Fitzgerald b54f5700d8 Bug 1218560 - Fix heap tree view item rendering when using an allocation stack breakdown; r=jsantell 2015-10-26 14:58:03 -07:00
J. Ryan Stinnett 687866dde2 Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Jordan Santell 67e1c5f570 Bug 1214800 - Add MPL 2.0 licensing information to all memory tool files. r=fitzgen 2015-10-21 07:57:10 -07:00
Jordan Santell 484a86ad0f Bug 1214872 - Set up state changes in the memory tool. r=fitzgen 2015-10-16 15:16:55 -07:00
Jordan Santell 886d08db89 Bug 1213137 - Initial react app for memory tool with its snapshot list view. r=jlong 2015-10-14 11:31:59 -07:00
Carsten "Tomcat" Book 036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book 12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo 474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Jordan Santell a4aa5dd033 Bug 1201949 - Initial redux-style controllers for front end memory tool heap snapshot. r=jlongster 2015-09-25 20:09:58 -07:00
Carsten "Tomcat" Book 311b1128a2 Backed out 1 changesets (bug 1201949) for bc7 test failures
Backed out changeset f03e855428e7 (bug 1201949)
2015-09-25 11:03:26 +02:00
Jordan Santell 0d38b1e857 Bug 1201949 - Initial redux-style controllers for front end memory tool heap snapshot. r=jlongster 2015-09-24 15:41:38 -07:00