Brindusan Cristian
dac48fe630
Backed out 8 changesets (bug 1485660) for damp failures on front.hasRequests. CLOSED TREE
...
Backed out changeset 7a2f29bbe2a8 (bug 1485660)
Backed out changeset 26e82fa62444 (bug 1485660)
Backed out changeset 9bb2f56f219d (bug 1485660)
Backed out changeset 40a3c2dd1b38 (bug 1485660)
Backed out changeset cfb160882db9 (bug 1485660)
Backed out changeset 3642f2d66777 (bug 1485660)
Backed out changeset 9026679753b2 (bug 1485660)
Backed out changeset dccca441b980 (bug 1485660)
2018-10-11 22:33:35 +03:00
Alexandre Poirot
db250517f9
Bug 1485660 - Switch from listening from DebuggerClient to TargetFront. r=jdescottes
...
* debugger-controller and events.js are special and require to support two cases because this is
the only production codepath that can have a TabTarget or a WorkerTarget.
Thus, leading to either TargetFront or WorkerClient on target.activeTab.
* webide.js doesn't need to listen for tabNavigated, this is redundant with tabListChanged.
* application's initializer. In case you are wondering this code can't be spawn against a WorkerTarget.
The application panel doesn't work in worker toolboxes.
* The code modified in target is in TabTarget, so we don't have to support the WorkerClient case, we always have a TargetFront here.
* I tried to update the doc file the best I can but this all feel outdated.
MozReview-Commit-ID: 2hGchebfIub
Depends on D7458
Differential Revision: https://phabricator.services.mozilla.com/D7459
2018-10-11 15:46:28 +00:00
Alexandre Poirot
9c0f99af1a
Bug 1494319 - Remove unused "newGlobal" event r=yulia
...
MozReview-Commit-ID: 4bQyjXYuN18
Depends on D6940
Differential Revision: https://phabricator.services.mozilla.com/D6941
2018-09-26 18:09:54 +00:00
Alexandre Poirot
aeb5f28349
Bug 1494305 - Refactor all tabClient usages to use promise API instead of callback style r=yulia
...
MozReview-Commit-ID: DZVG1X45sQV
Differential Revision: https://phabricator.services.mozilla.com/D6908
2018-09-26 18:02:45 +00:00
Julian Descottes
c035502db8
Bug 1479006 - Move old devtools tooltip widget to debugger folder;r=nchevobbe
...
MozReview-Commit-ID: ATHQoGbcX2b
2018-07-27 16:59:24 +02:00
Alexandre Poirot
ee08ebcd6e
Bug 1466691 - Replace callback style in favor of promise for TabClient methods. r=jryans
...
MozReview-Commit-ID: 6Is4O8KQhgY
2018-06-05 01:50:40 -07:00
J. Ryan Stinnett
0cae81b452
Bug 1172897 - Rename WorkerActor to WorkerTargetActor. r=ochameau
...
MozReview-Commit-ID: 2Qakr1PHKNZ
2018-06-01 15:59:24 -05: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
yulia
3fc3eddeb3
Bug 1382580 - remove old-event-emitter from old debugger; r=nchevobbe
...
MozReview-Commit-ID: G9DKt0kISg7
2018-05-03 12:49:06 +02:00
Jeff Walden
cc6052cb85
Bug 1436150 - Make debugger-controller.js properly handle watch expressions, containing syntax errors, where the error message for the syntax error contains U+0022 QUOTATION MARK within it. r=jimb
2018-02-06 02:08:55 -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
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
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
Kris Maglione
0bb74efdf1
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Vincent Lequertier
f091572140
Bug 1393464 - Remove Heritage from devtools helper view-helpers.js; r=pbro
...
Calling "devtools/shared/extend" instead.
MozReview-Commit-ID: HbonI7vq8Be
2018-01-04 18:54:52 +01:00
Nicolas Chevobbe
fd8ff6dda8
Bug 1383711 - Make addOneTimeListener return a Promise; r=ochameau.
...
Switch some calls to addOneTimeListener from callback-style to Promise.
MozReview-Commit-ID: F9AlSvK0MAH
2017-11-06 08:40:39 +01: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
ZER0
d78f1c54ef
Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
...
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher
aa1caed330
Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
...
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0
c91b128704
Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
...
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Yury Delendik
d60db968a3
Bug 1364535 - Devtools frontend WebAssembly support for wast. r=jlast
...
MozReview-Commit-ID: KEkXaAQCWYN
2017-06-06 20:11:00 -05:00
Tom Tromey
1976c3df85
Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
...
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher
20d9f9713d
Backed out 2 changesets (bug 1312041) for mass failures a=backout
...
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey
d1b2d82846
Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
...
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
J. Ryan Stinnett
9f27fd28fb
Bug 1311506 - Remove promise debugger. r=gl
...
MozReview-Commit-ID: 4xPoheUWZJc
2016-10-26 15:47:39 -05:00
Gabriel Luong
876454c8a9
Bug 1307481 - Part 1: Move Tooltip.js and HTMLTooltip.js into widgets/tooltip/ r=jdescottes
2016-10-04 22:48:49 -04:00
Gabriel Luong
5715007275
Bug 1307193 - Move swatch based tooltip editors into their individual file from Tooltip.js r=jdescottes
2016-10-04 10:22:47 -04:00
Julian Descottes
3479010529
Bug 1298012 - update references to devtools/client/shared/l10n -> devtools/shared/l10n;r=bgrins
...
MozReview-Commit-ID: 6p5ADjlbsHu
2016-08-25 17:02:50 +02:00
Julian Descottes
91ae3dcc39
Bug 1294220 - part5: Remove the "chrome://" protocol when using LocalizationHelper;r=tromey
...
MozReview-Commit-ID: JzT8RyPhHwA
2016-08-20 21:59:34 +02:00
Julian Descottes
156ceb6e2f
Bug 1294220 - part1: Move ellipsis character to a localized string in properties file;r=bgrins
...
The ellipsis character displayed by devtools is now relying on a localized string
in devtools/client/shared.properties instead of a complex preference.
The lazy loading of the ellipsis string has been removed, the ellipsis is retrieved
once when the client/shared/l10n.js file is loaded.
The ellipsis property on the LocalizationHelper instances has been removed in favor
of an ELLIPSIS export on the l10n.js module.
All the previous callers using either LocalizationHelper::ellipsis or retrieving the
intl.ellipsis preference have been migrated to rely on the ELLIPSIS export of l10n.js
MozReview-Commit-ID: 4JG0qbJGCw9
2016-08-20 22:09:03 +02:00
Julian Descottes
33d5d3a7b5
Bug 1287388 - wait for popupshown event in debugger conditional breakpoint tests;r=jlongster
...
MozReview-Commit-ID: CXCoUKSLiGb
2016-07-11 10:01:18 +02:00
James Long
f359c2b1a1
Bug 1273730 - remove pretty-print button if debugging workers because it doesn't work r=ejpbruel
2016-07-01 17:40:27 -04:00
Greg Tatum
69cf238eaf
Bug 1261477 - Make values of long watch expressions visible r=jlongster
2016-06-20 08:47:00 +02:00
J. Ryan Stinnett
169c44d5f6
Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
...
A few miscellaneous linting issues also addressed near the lines involved.
MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05: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
Alexandre Poirot
e39e7b8130
Bug 1266828 - Convert ViewHelpers.jsm into a module. r=tromey
2016-05-16 03:13:30 -07:00
Victor Porof
b84ba78eb0
Bug 1258309 - Update all occurences of ViewHelpers.Prefs to use the new module, r=jsantell
2016-03-22 10:17:21 +01:00
Victor Porof
bfccfa9153
Bug 1258305 - Update all occurences of ViewHelpers.L10N and MultiL10N to use the new module, r=jsantell
2016-03-22 10:17:21 +01: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
Eddy Bruel
9faad02c39
Bug 1119490 - Test for source maps in workers;r=jryans
2016-03-02 12:38:25 +01:00
Alexandre Poirot
c6cbca4e3b
Bug 1248609 - Fix debugger when reloading via the addon. r=jryans
2016-03-02 02:32:05 -08:00
Alexandre Poirot
bb787b541e
Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans
2016-02-27 04:51:10 -08:00
Julian Descottes
54eec9e545
Bug 1250933 - debugger: connect Workers controller only for TabActor targets;r=ejpbruel
...
MozReview-Commit-ID: 764nqW7V04N
2016-02-25 14:11:36 +01:00
Alexandre Poirot
87b305c208
Bug 1249049 - Fix gDevTools is undefined exception when debugging workers. r=ejpbruel
2016-02-18 02:30:12 -08:00
Shlomi Fish
237ba1ec4a
Bug 1205353 - Wrong result for string.replace with backslash-dollar (/\$/) inside JS debugger. r=vporof
2015-12-11 06:01:00 +00:00