Commit Graph

19 Commits

Author SHA1 Message Date
Nicolas Chevobbe
1467be06f3 Bug 1433123 - Fix console launchpad; r=Honza.
Updating to latest devtools-launchpad add adding the
disablePostCSS option fixes the postCSS errors.
Remove the netmonitor from babelExclude and add the
rewrite-lazy-getter loader fixes the issues about the use
of the object spread operator.

MozReview-Commit-ID: 4wRHuR4q7fz

--HG--
extra : rebase_source : c94063664063ba18d2bb466e99519e701707d6e6
2018-01-25 15:27:25 +01:00
Nicolas Chevobbe
a3cf21284c Bug 1403106 - Fix console launchpad for ObjectClient; r=Honza
This removes the fixtures for ObjectClient since it's now in its
own file, and add one for the DebuggerClient, because it's still
using non-web dependency (e.g. `Cu`).

MozReview-Commit-ID: 6OJM2HPwvOY

--HG--
extra : rebase_source : ba2836e8993c196151ba1ed9947c1cbba41e37b1
2017-10-04 13:32:44 +02:00
Nicolas Chevobbe
307f01eac7 Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.

MozReview-Commit-ID: 2uWjTnAMAU0

--HG--
extra : rebase_source : ebf75886fac79aaebfab16c03997f402e9f5a278
2017-09-29 15:24:14 +02:00
Julian Descottes
0702847ccf Bug 1403489 - remove special loader rule for devtools/shared/platform;r=tromey
MozReview-Commit-ID: HwhAXHm8ipq

--HG--
rename : devtools/shared/platform/content/.eslintrc.js => devtools/client/shared/webpack/shims/.eslintrc.js
rename : devtools/shared/platform/content/moz.build => devtools/client/shared/webpack/shims/moz.build
rename : devtools/shared/platform/content/clipboard.js => devtools/client/shared/webpack/shims/platform-clipboard-stub.js
rename : devtools/shared/platform/content/stack.js => devtools/client/shared/webpack/shims/platform-stack-stub.js
rename : devtools/shared/platform/content/test/.eslintrc.js => devtools/client/shared/webpack/shims/test/.eslintrc.js
rename : devtools/shared/platform/content/test/mochitest.ini => devtools/client/shared/webpack/shims/test/mochitest.ini
rename : devtools/shared/platform/content/test/test_clipboard.html => devtools/client/shared/webpack/shims/test/test_clipboard.html
rename : devtools/shared/platform/content/test/test_stack.js => devtools/client/shared/webpack/shims/test/test_stack.js
rename : devtools/shared/platform/content/test/xpcshell.ini => devtools/client/shared/webpack/shims/test/xpcshell.ini
rename : devtools/shared/platform/chrome/clipboard.js => devtools/shared/platform/clipboard.js
rename : devtools/shared/platform/chrome/stack.js => devtools/shared/platform/stack.js
extra : rebase_source : d233c0d5b4691f595ec61cae52167921f57ee942
2017-09-27 12:38:23 +02:00
Julian Descottes
ebb3f6a194 Bug 1403175 - move webpack shims to dedicated folder;r=Honza
MozReview-Commit-ID: 5oDee2Pb9ly

--HG--
rename : devtools/client/shims/devtools.js => devtools/client/shared/webpack/shims/framework-devtools-shim.js
rename : devtools/shared/shims/fronts/timeline.js => devtools/client/shared/webpack/shims/fronts-timeline-shim.js
rename : devtools/client/webconsole/local-dev/jsterm-stub.js => devtools/client/shared/webpack/shims/jsterm-stub.js
rename : devtools/client/webconsole/local-dev/system-stub.js => devtools/client/shared/webpack/shims/system-stub.js
extra : rebase_source : 5e13c726530671a49eb382c3a6dbb6cdd3b4dadf
2017-09-27 12:07:39 +02:00
Julian Descottes
11b6a22579 Bug 1403175 - webpack: simplify netmonitor & console aliases;r=Honza,nchevobbe
MozReview-Commit-ID: DcVNhKAgioC

--HG--
extra : rebase_source : 4b128f14b5c3f802c103e738efecbf475dce8a9b
2017-09-27 10:46:33 +02:00
Jan Odvarko
dbdcbb0d21 Bug 1395834 - Launchpad is broken; r=nchevobbe
MozReview-Commit-ID: CdeEvvE6ExB

--HG--
rename : devtools/client/webconsole/webpack/rewrite-raw.js => devtools/client/shared/webpack/rewrite-raw.js
extra : rebase_source : d833b3c6199b75bdd34e1a2f015e51da13450a80
2017-09-14 09:50:54 +02:00
Jan Odvarko
bedf86db56 Bug 1395515 - Introduce webpack aliases for netmonitor modules; r=nchevobbe
MozReview-Commit-ID: GH2lFglw67O

--HG--
extra : rebase_source : 5cfb937a6620b31a98e6b0e2de102ab072ed9cc4
2017-09-01 16:44:28 +02:00
Nicolas Chevobbe
45928f3459 Bug 1390815 - Fix console launchpad. r=bgrins,Honza,jdescottes
This updates devtools-launchpad to 0.0.96, and thus
makes the console launchpad uses Webpack 3.
Because of this version bump, the console launchpad
config needed some adjustments to keep working:
- Replace loaders with rules
- Pass the babelExclude property in the option argument for launchpad config
- Change the name of the svg filter to exclude
- Add a workaround "raw!" required-files (remove the "raw!" prefix in a loader).

An alias needed to be added as well for devtools/shim/locales.

MozReview-Commit-ID: 3cWXYw6gNc7

--HG--
extra : rebase_source : 5c651ca9e2b1d3061450965046222e3d1a7a5065
2017-08-29 09:46:49 +02:00
Jan Odvarko
f38bfdeedf Bug 1362036 - Implement tests; r=nchevobbe
MozReview-Commit-ID: KvvWrHUC8m6

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_network_messages_click.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_network_messages_openinnet.js
extra : rebase_source : 0043442a231d7b55734de83bf67486e3b99d2b87
2017-08-30 15:16:39 +02:00
ZER0
ba9681c84a Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8


--HG--
rename : devtools/shared/event-emitter.js => devtools/shared/old-event-emitter.js
2017-08-11 03:47:30 +02:00
Jan Odvarko
444b560b3e Bug 1388368 - Fix the Console panel in Launchpad; r=nchevobbe
MozReview-Commit-ID: BIHXp6tE32Q

--HG--
extra : rebase_source : a990bb0a79f254037ada58bbc7bd6f941fd26343
2017-08-10 10:00:35 +02:00
Sebastian Hengst
8dbb8d014f Backed out changeset d2e76a2d8794 (bug 1388368) for eslint failures in system-stub.js (should be Unix linebreaks, not the Windows' ones). r=backout 2017-08-09 17:22:51 +02:00
Jan Odvarko
b420ecaa95 Bug 1388368 - Fix the Console panel in Launchpad; r=nchevobbe
MozReview-Commit-ID: 4AAs8Mre3bt

--HG--
extra : rebase_source : 2719f5231656625b4ba9f9b408d774d04d6ea1f0
2017-08-09 15:28:42 +02:00
Jan Odvarko
466d5b6bd9 Bug 1375458 - New alias for debounce module; r=nchevobbe
MozReview-Commit-ID: CQ62g6ZnlGk

--HG--
extra : rebase_source : 80fe7191141b28dc0bf655f3308835b8119a05e0
2017-06-22 13:19:15 +02:00
Sebastian Hengst
05140da7d7 Backed out changeset 634b361b1b9d (bug 1364150) for scroll position failures in devtools' browser_webconsole_keyboard_accessibility.js. r=backout 2017-06-08 20:40:08 +02:00
Brian Grinstead
865c58e29c Bug 1364150 - Introduce debounce middleware; r=bgrins
MozReview-Commit-ID: Hu3rQ3iJHzP

--HG--
extra : rebase_source : c623b48d0055f4b0fb516c04ff5a1ec58961e7c5
2017-05-11 12:40:20 -07:00
Brian Grinstead
4897fac06f Bug 1364047 - Pull WebConsoleUtils.l10n into its own module;r=Honza
MozReview-Commit-ID: LI5Hrs33CVS

--HG--
extra : rebase_source : 5da9d9ac8acf90f2446d1068589f1a4d314c0695
2017-05-17 14:07:03 -07:00
Brian Grinstead
3a385c46db Bug 1359597 - Set up new console with devtools-launchpad;r=Honza
MozReview-Commit-ID: FxuwGLYef5v

--HG--
extra : rebase_source : e526562574050eba6b77b464f559e2c95d6c8c3a
2017-04-26 08:10:04 -07:00