Kris Maglione
e930b89c34
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Mark Banner
ceaeb93550
Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D8389
--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Julian Descottes
640fe52298
Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
...
MozReview-Commit-ID: F6xUXCgdRE4
--HG--
extra : rebase_source : 65de1b0aba412d9044b5196115f74276caa058f2
2018-06-01 12:36:09 +02:00
Jan Odvarko
d0bf801d95
Bug 1436665 - Do not fire events on window, update tests; r=ochameau
...
MozReview-Commit-ID: BbZJQiipg3K
--HG--
extra : rebase_source : d5ac5c6edd0aa8d247a0bc5b114a4e0466217114
2018-04-17 14:38:25 +02:00
Jan Odvarko
d322d234a9
Bug 1436665 - Expose Net panel API without the UI; r=ochameau
...
MozReview-Commit-ID: 31ceGL3zWzl
--HG--
extra : rebase_source : a12867ede1928ec2592d1516cdf0b95991850413
2018-04-17 14:09:34 +02:00
Narcis Beleuzu
2e31fed279
Backed out 3 changesets (bug 1436665) for talos damp failures on toolbox/panels-in-background.js. CLOSED TREE
...
Backed out changeset 2120b4c84746 (bug 1436665)
Backed out changeset b3702a775b16 (bug 1436665)
Backed out changeset 3ddbbd0330a1 (bug 1436665)
2018-04-17 15:09:29 +03:00
Jan Odvarko
15c71ac569
Bug 1436665 - Do not fire events on window, update tests; r=ochameau
...
MozReview-Commit-ID: 2iwybUcHOri
--HG--
extra : rebase_source : 3cfd435f140141c5bb7ab9b56ab8c69913fed714
2018-04-17 13:14:31 +02:00
Jan Odvarko
ab8d1a48b0
Bug 1436665 - Expose Net panel API without the UI; r=ochameau
...
MozReview-Commit-ID: 7oJMjsC8K9x
--HG--
extra : rebase_source : cd4a6e05df7bac4a9156534f3b972b02744bb4c9
2018-04-17 12:59:06 +02:00
Cosmin Sabou
c1f14b1d28
Backed out 3 changesets (bug 1436665) for talos damp failures on netmonitor/simple.js. CLOSED TREE
...
Backed out changeset 09030f59fbea (bug 1436665)
Backed out changeset 513c72b05382 (bug 1436665)
Backed out changeset 4b8fe40857db (bug 1436665)
2018-04-17 13:05:42 +03:00
Jan Odvarko
eb13ce7ceb
Bug 1436665 - Do not fire events on window, update tests; r=ochameau
...
MozReview-Commit-ID: K5xd0UmyKb
--HG--
extra : rebase_source : 12fc4bb979684dd6bbc266c1483a735b04733e32
2018-04-13 15:51:03 +02:00
Jan Odvarko
f92b1ab722
Bug 1436665 - Expose Net panel API without the UI; r=ochameau
...
MozReview-Commit-ID: 2Nuk6OZVk4Z
--HG--
extra : rebase_source : 0e9f646a460baf7346cd31a9b9945a7c62e62055
2018-04-13 15:49:08 +02:00
Jonathan Kingston
bbb3623c41
Bug 1374741 - Within devtools/ make openUILinkIn() provide the correct triggeringPrincipal. r=jryans
...
MozReview-Commit-ID: KecQcZWeU6a
--HG--
extra : rebase_source : edbcbd607ee7209b5c137d4f7af9daf5eaeffab6
2018-02-21 16:01:03 +00:00
Jan Odvarko
d09f31367c
Bug 1448288 - Make devtools.network.getHAR API compatible with Chrome; r=rpl
...
MozReview-Commit-ID: 7woAf8iVC3B
--HG--
extra : rebase_source : 11ad0b8b67c4ce0aef1ee7e5ee4e356e66ea7134
2018-03-23 14:38:32 +01:00
yulia
1a41241d13
Bug 1382602 - update devtools/client/netmonitor to use new event emitter. r=Honza,nchevobbe
...
MozReview-Commit-ID: 6cEqHUGaMlM
--HG--
extra : rebase_source : 518365d906e9c9bdce31b1b2003a6242d214ff0f
2018-03-14 14:58:24 +01:00
J. Ryan Stinnett
23ff4cc75d
Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes
...
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Jan Odvarko
da22fde827
Bug 1434855 - Refactor HAR builder options; r=ochameau
...
MozReview-Commit-ID: FRcxp4XPFdf
--HG--
extra : rebase_source : 4b88ddf3b5c14b0d9f1cb8f71018cd556ebbe353
2018-03-08 10:07:45 +01:00
Sebastian Hengst
4c67c6ae21
Backed out 2 changesets (bug 1434855) for failing browser-chrome's browser/components/extensions/test/browser/browser_ext_devtools_network.js. CLOSED TREE
...
Backed out changeset ceea3f9776b1 (bug 1434855)
Backed out changeset a87683b49741 (bug 1434855)
2018-03-07 20:21:55 +02:00
Jan Odvarko
4f22af99ae
Bug 1434855 - Refactor HAR builder options; r=ochameau
...
MozReview-Commit-ID: A6wd5LvD19J
--HG--
extra : rebase_source : d55b93b9713cb3b32c0e534e0e0414721ea781bc
2018-03-07 13:33:19 +01:00
Jan Odvarko
fe0cebfc8b
Bug 1419350 - Stop doing React updates while netmonitor is in background; r=ochameau
...
MozReview-Commit-ID: FvKFDiM8xNB
--HG--
rename : devtools/client/netmonitor/src/utils/create-store.js => devtools/client/netmonitor/src/create-store.js
extra : rebase_source : 4e2c4d9cc66e2ae4e8c03f5419922903d717f858
2018-03-01 10:48:26 +01:00
Narcis Beleuzu
290ceafa18
Backed out 2 changesets (bug 1419350) for devtools failures on browser_webconsole_network_messages_expand.js. CLOSED TREE
...
Backed out changeset 0fc7db6c6c56 (bug 1419350)
Backed out changeset b0d6b6657a6e (bug 1419350)
--HG--
rename : devtools/client/netmonitor/src/create-store.js => devtools/client/netmonitor/src/utils/create-store.js
2018-03-01 03:49:49 +02:00
Jan Odvarko
47c94c540a
Bug 1419350 - Stop doing React updates while netmonitor is in background; r=ochameau
...
MozReview-Commit-ID: J0z0ALxQqC0
--HG--
rename : devtools/client/netmonitor/src/utils/create-store.js => devtools/client/netmonitor/src/create-store.js
extra : rebase_source : fabf26000f0bde4bbc53098f44413874cf46c6ff
2018-02-28 17:29:45 +01:00
Jan Odvarko
bce1a3def1
Bug 1434333 - Import an existing HAR file; r=ochameau
...
MozReview-Commit-ID: Gmzy25yOfAc
--HG--
extra : rebase_source : 781d860f0424f78fa9690a65479057c394d87700
2018-02-07 15:05:43 +01:00
Jan Odvarko
96233200ee
Bug 1311171 - Implement the devtools.network.onRequestFinished API event; r=jdescottes,rpl
...
MozReview-Commit-ID: IymuzcUg0VN
--HG--
extra : rebase_source : 5c262babe60132c9a73acc7dadf3b38f30133ecc
2018-02-14 11:32:10 +01:00
Jan Odvarko
da4956859b
Bug 1174091 - Output 'load' and 'DOMContentLoaded' event to HAR; r=ochameau
...
MozReview-Commit-ID: 9bWXf9At2DC
--HG--
extra : rebase_source : a87efc202c76dbe4e7bb307a524ae39ab691038c
2018-02-01 16:37:06 +01:00
Kris Maglione
918ed6c474
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178
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
6476f95b13
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb
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
c276bb9375
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Jan Odvarko
c59f2d5676
Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
...
MozReview-Commit-ID: gUtGjbr0FQ
--HG--
extra : rebase_source : 78f837101f83d5ad455fc7e2d1f53db054cec4cc
2018-01-22 18:30:46 +01:00
Margareta Eliza Balazs
9ba236fd80
Backed out changeset 32daec7fd5b6 (bug 1311177) for bc5 failures in browser/components/extensions/test/browser/test-oop-extensions/browser_ext_devtools_network.js on a CLOSED TREE
2018-01-19 11:54:43 +02:00
Jan Odvarko
e1114707d4
Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
...
MozReview-Commit-ID: I9F4tGSwBrt
--HG--
extra : rebase_source : ce3adb6ce47e62302b29651a05276d13621679cb
2018-01-17 13:32:42 +01:00
Jan Odvarko
e7980cdf03
Bug 1428777 - Rename index files; r=gasolin
...
MozReview-Commit-ID: EI18B77FKJL
--HG--
rename : devtools/client/netmonitor/index.js => devtools/client/netmonitor/launchpad.js
extra : rebase_source : b8122054a1f909ea3043c0528e9a14cc1b05b6cf
2018-01-10 17:16:37 +01:00