Commit Graph

1230 Commits

Author SHA1 Message Date
Towkir Ahmed
1d9469d0b7 Bug 1382171 - Remove MDN Docs widget. r=jdescottes 2017-10-03 09:13:00 -04: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
Nicolas Chevobbe
320161a4ad Bug 1403895 - split main.js in mulitple files; r=ochameau.
This patch keeps the main.js file so  we don't have to change
consumer code that uses objects fom this file.

MozReview-Commit-ID: KhFoPPApE2L

--HG--
rename : devtools/shared/client/main.js => devtools/shared/client/addon-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/array-buffer-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/breakpoint-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/constants.js
rename : devtools/shared/client/main.js => devtools/shared/client/debugger-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/environment-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/event-source.js
rename : devtools/shared/client/main.js => devtools/shared/client/long-string-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/object-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/property-iterator-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/root-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/source-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/symbol-iterator-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/tab-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/thread-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/trace-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/worker-client.js
extra : rebase_source : e5f6978cb3e543af7073e234320af1f3afde356d
2017-09-28 17:29:55 +02:00
Tom Tromey
762c2f58dd Bug 1403610 - update to source-map 0.6.1; r=bgrins
Import the source-map 0.6.1 bundle.

MozReview-Commit-ID: AkVLlBJRD1l

--HG--
extra : rebase_source : 882b2ef4b2c3b2eac8733f408a4ce7a6aaa403d2
2017-09-27 09:39:44 -06:00
J. Ryan Stinnett
efbf4624b2 Bug 1305777 - Clean up touch simulator after old RDM removal. r=ochameau
Only `simulator-core` is used by new RDM via the Emulation actor, so I've moved
this server side and renamed it to `touch-simulator`.

MozReview-Commit-ID: 5YgpYNDwBvw

--HG--
rename : devtools/shared/touch/moz.build => devtools/server/actors/emulation/moz.build
rename : devtools/shared/touch/simulator-core.js => devtools/server/actors/emulation/touch-simulator.js
extra : rebase_source : d38f3fa09c8e187440be716e993d42c88a10da2a
2017-09-27 16:53:23 -05:00
Sebastian Hengst
87301165a8 Backed out changeset 0169ee5c78fb (bug 1305777)
--HG--
rename : devtools/server/actors/emulation/moz.build => devtools/shared/touch/moz.build
rename : devtools/server/actors/emulation/touch-simulator.js => devtools/shared/touch/simulator-core.js
2017-09-29 10:43:24 +02:00
J. Ryan Stinnett
ac9fd81122 Bug 1305777 - Clean up touch simulator after old RDM removal. r=ochameau
Only `simulator-core` is used by new RDM via the Emulation actor, so I've moved
this server side and renamed it to `touch-simulator`.

MozReview-Commit-ID: 5YgpYNDwBvw

--HG--
rename : devtools/shared/touch/moz.build => devtools/server/actors/emulation/moz.build
rename : devtools/shared/touch/simulator-core.js => devtools/server/actors/emulation/touch-simulator.js
extra : rebase_source : 1925070349e322aeff8673effe49079ea8c57530
2017-09-27 16:53:23 -05: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
Alexandre Poirot
47204c5723 Bug 1402779 - Force using privileged Promise in panels. r=tromey
MozReview-Commit-ID: IDAZeHlluH6

--HG--
extra : rebase_source : ce1381531a3c049ebff07da1730f2f2b2652e5e2
2017-09-24 22:45:16 +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
Wes Kocher
acf8913934 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsbKCdZU2Ui
2017-09-26 17:14:31 -07:00
Oriol Brufau
a5ca4b08cf Bug 1394559 - Better handling of inaccessible objects in the console. r=jimb 2017-09-22 11:54:00 -04:00
Wes Kocher
47b3660c80 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 8wTTCUkrY2i
2017-09-25 16:43:51 -07:00
Alexandre Poirot
b999952b4b Bug 1398061 - Remove simulators from WebIDE. r=jdescottes
MozReview-Commit-ID: 9si1X8k4JGt

--HG--
extra : rebase_source : e81f7de9a598a08d1448b73c1891ff1d80998d29
2017-09-25 11:37:18 +02:00
Oriol Brufau
f7588f7e26 Bug 1395276 - Make $ and $$ console commands throw errors created in the debuggee global. r=jimb 2017-08-30 11:50:00 -04:00
Alexandre Poirot
3fd18d75b4 Bug 1386535 - Remove all DevTools shims used to support legacy add-ons. r=jryans
MozReview-Commit-ID: GemkTPQHl0L

--HG--
extra : rebase_source : 7c66a883230a2de9cbbd6a66fee1c10e69a43f04
2017-09-26 10:56:53 +02:00
Markus Stange
2e951f24c1 Bug 1387594 - Add a chrome-only CSS property called -moz-font-smoothing-background-color. r=dbaron
This property accepts a color. It's inherited and defaults to transparent.
Its value is respected on macOS when rendering text into transparent pixels.
This property should be used for text that is placed on top of "vibrant"
-moz-appearances, in order to achieve high quality text rendering for such text.

In most cases, the property should be set to a named system color; an upcoming
patch in this patch series will add one such color for each vibrant
-moz-appearance value.
However, in some cases it can also be useful to use a custom color: If text
is rendered into an intermediate surface, for example because a mask is applied
to it, and the background color behind that intermediate surface is known, then
this property can be set to that background color in order to achieve subpixel
AA for the text inside the mask effect. In that case, the font smoothing
background color is respected because text is rendered into transparent pixels
*inside the intermediate surface*. At the moment, the only example of that use
case is the text of the active tab in the state where the text is overflowing.

MozReview-Commit-ID: D98qQnxoFaq
2017-09-14 23:09:46 +02:00
Alexandre Poirot
c1e85368f0 Bug 1397330 - Define all specs and fronts relying on implicit require. r=jdescottes
MozReview-Commit-ID: HzcEWauFKjz

--HG--
extra : rebase_source : 2ce93dd948997a2b82cf83cf055f14e7e7252a9a
2017-09-13 22:48:43 +02:00
Alexandre Poirot
6f86767a47 Bug 1397330 - Lazy load inspector spec and front modules. r=jdescottes,jryans
MozReview-Commit-ID: BbF40tQrzoF

--HG--
extra : rebase_source : 3eda0201cb363fad41fd428f8d4ddfc180f915b2
2017-09-13 00:55:00 +02:00
Jan Odvarko
74d658a4f8 Bug 1395834 - Implement theme loader; r=nchevobbe
MozReview-Commit-ID: 5AR0AX5tTnB

--HG--
extra : rebase_source : dcb5f41efa3cd17f88aa498c1ac53bac128310dd
2017-09-14 10:03:26 +02:00
Franziskus Kiefer
018c7a6e79 Bug 1397833 - don't assert on custom TLS key-exchange groups, r=keeler
MozReview-Commit-ID: 8oztPlzw3PB

--HG--
extra : rebase_source : f7f54d7d59baa3a3b1eed5a207f93b799d80da5e
2017-09-08 11:53:11 +02:00
ZER0
95da87767f Bug 1391014 - take in account the ancestor's transformation too for the current matrix; r=gl
MozReview-Commit-ID: Dc4DU3wPzU8

--HG--
extra : rebase_source : ba22fb39f0415a565167f2da21970acc4e78cdbc
2017-09-08 17:18:21 +02:00
Andrew McCreight
bfd580fb71 Bug 1186409 - Use Cu.getGlobalForObject when importing properties off a JSM global. r=kmag
With JSM global sharing, the object returned by Cu.import() is a
NonSyntacticVariablesObject, rather than a global. Various code tries
to use properties from a JSM global via an import.

Cu.importGlobalProperties can also be used in some places.

MozReview-Commit-ID: HudCXO2GKN0

--HG--
extra : rebase_source : 6b5fa6f5509397504cb461a761f6cc2399f18c40
2017-06-23 13:51:14 -07:00
J. Ryan Stinnett
18bbbd41b9 Bug 1397967 - Remove Style Editor support for ancient targets. r=gl
Style Editor has some ancient fronts and such to support pre-Firefox 29 targets.
This is well beyond what we attempt to support, so let's get rid of the extra
code.

MozReview-Commit-ID: 1OnGSYTyNsr

--HG--
extra : rebase_source : c60f129981a8c5e3d97de01d0d7f24cb858c0e22
2017-09-07 19:01:24 -05:00
Sebastian Hengst
9a6b5140c4 merge mozilla-central to autoland. r=merge a=merge 2017-09-08 11:03:59 +02:00
Sebastian Hengst
e52b8eb6e4 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: E6LQYNHgmiv
2017-09-08 10:53:26 +02:00
Julian Descottes
e3f444304a Bug 1397296 - remove mappings for gre/modules/commonjs in devtools loaders;r=ochameau
MozReview-Commit-ID: 2l3cJhGs24t

--HG--
extra : rebase_source : f4f21be37d9775929c7420574d5cca61ada4308b
2017-09-06 16:42:48 +02:00
Emilio Cobos Álvarez
21231eaf77 Bug 1387410: Regenerate the properties database. r=heycam
MozReview-Commit-ID: 5iTjXLLruPJ
2017-09-08 10:10:12 +02:00
Alexandre Poirot
c228558347 Bug 1397343 - Lazy load dependencies from inspector front modules. r=pbro
MozReview-Commit-ID: JSabaxRYaeE

--HG--
extra : rebase_source : 110ca3fc402623f6d1167d39b5ef5edab9c443b2
2017-09-06 14:35:13 +02:00
Alexandre Poirot
bdfa9d2514 Bug 1396619 - Lazy load actor codebase related to the inspector. r=zer0
MozReview-Commit-ID: GCY1mqjoOkc

--HG--
extra : rebase_source : 2c1d4d1a573885f65c6c964b507d0f55e8c8376b
2017-09-04 17:46:26 +02:00
Tom Tromey
ad5ebc78b2 Bug 1224558 - change style editor to notice stylesheet additions; r=gl
This changes the stylesheets actor to use the tab actor's "windows"
getter to get the list of new windows.  It also changes the actor to
emit events, and changes the style editor to add new editors based on
events.

MozReview-Commit-ID: 3TkQY6XHY1I

--HG--
extra : rebase_source : 76098b08c95c7d4e7ee6bb2bd9ebae97a0c4b7ab
2017-08-15 12:46:55 -06:00
Alexandre Poirot
4a603969ef Bug 1396600 - Make some efforts to lazy load properties-db. r=tromey
MozReview-Commit-ID: LGgVb5kxN7X

--HG--
extra : rebase_source : e4acc31da93eb8d88f5dbc075036d1130511ceee
2017-09-06 18:54:07 +02:00
Julian Descottes
486b639aa9 Bug 1397287 - remove usage of addon-sdk node/os helper in devtools/shared/system;r=sole
MozReview-Commit-ID: 7JrIeSlmSuj

--HG--
extra : rebase_source : 3aa028a47b5d0e7f72e838d898e6c7b9c2353a0c
2017-09-06 16:35:11 +02:00
Alexandre Poirot
e113bfb7cf Bug 1392602 - Simplify SDK loader to only match DevTools needs. r=jdescottes
MozReview-Commit-ID: 5MUEmCW6AJM

--HG--
extra : rebase_source : ea4a9f9332cadbc950f2151ffab5f70ee7529cbc
2017-08-28 14:52:07 +02:00
Alexandre Poirot
ad55cacf0b Bug 1392602 - Stop using unnecessary const in Devtools loader. r=jdescottes
MozReview-Commit-ID: GMn8eoGUxkb

--HG--
extra : rebase_source : 1295fc2882603dc0a9b6286300b8a971458c27c9
2017-08-28 14:23:57 +02:00
Alexandre Poirot
f55f10299c Bug 1392602 - Remove descriptor helper in DevTools loader. r=jdescottes
MozReview-Commit-ID: JHC0s0cMyZG

--HG--
extra : rebase_source : d4ad7492fbcd5491117912be27a7770b50c8eb49
2017-08-28 14:10:18 +02:00
Alexandre Poirot
43910cc65b Bug 1392602 - Remove override helper in DevTools loader. r=jdescottes
MozReview-Commit-ID: E2dNIMoa2wz

Also get rid of shared global blocklist as this isn't used by DevTools.

--HG--
extra : rebase_source : 99522f4e804e59a233f51c4710645ec24de9eb2e
2017-08-28 14:05:37 +02:00
Alexandre Poirot
eade6d9e6f Bug 1392602 - Instanciate RegExp only once in DevTools loader. r=jdescottes
MozReview-Commit-ID: GGYMPKZwBsS

--HG--
extra : rebase_source : aa68104b99b3828f5a0d5eca1145dca32750b07f
2017-08-28 14:05:17 +02:00
Alexandre Poirot
d06ae85d9a Bug 1392602 - Remove evaluate function from DevTools loader. r=jdescottes
MozReview-Commit-ID: MGXxIWUxWF

--HG--
extra : rebase_source : fae52f6759784dc40d16f7b6a4f042cfa05b259a
2017-08-28 14:01:34 +02:00
Alexandre Poirot
65256569b0 Bug 1392602 - Stop freezing everything in DevTools loader. r=jdescottes
MozReview-Commit-ID: ANdgiYjfV6N

--HG--
extra : rebase_source : 057cab2fff7302c948426a80793a5d7b5a6fee0b
2017-08-28 11:43:43 +02:00
Alexandre Poirot
3541b824e8 Bug 1392602 - Remove jetpack specifics from DevTools loader. r=jdescottes
* Remove notion of "main" module
* Remove notion of "isNative" and only use Loader.resolve algorithm

MozReview-Commit-ID: 7GOJELAh375

--HG--
extra : rebase_source : 4dc2499626ddcdeb6848584ff679c8e48994b11b
2017-08-28 11:27:07 +02:00
Alexandre Poirot
71e4f1790c Bug 1392602 - Remove module boilerplate from DevTools loader. r=jdescottes
This file is now only loaded as a JSM.
Expose symbols directly instead of putting them on `Loader` symbol.
No longer exports it as a fake 'toolkit/loader' module and always import it as JSM.

MozReview-Commit-ID: 6J3IxHpk9ct

--HG--
extra : rebase_source : f6ef6aef6d8682f18950a9b22d259347644250f2
2017-08-29 10:49:43 +02:00
Alexandre Poirot
67e0287de3 Bug 1392602 - Copy SDK Loader to devtools. r=jdescottes
MozReview-Commit-ID: 6INu38Wqvt

--HG--
extra : rebase_source : b140f8932bf141abae29f42a13dc4eef58a84d6f
2017-08-24 15:17:33 +02:00
Julian Descottes
1b9823bc9c Bug 1391228 - remove unused devtools profiler actor, specs and front;r=gregtatum,mstange
MozReview-Commit-ID: 82R4C3NFolu

--HG--
extra : rebase_source : 373dda6065397f5226531c123ab3b4b39b88b0eb
2017-08-18 17:27:56 +02:00
Yura Zenevich
c97121629f Bug 1151468 - add accessibility spec/actor/front to devtools. r=pbro
MozReview-Commit-ID: Ln1R8e04mGR
2017-08-31 23:11:23 -04:00
Wes Kocher
e9c837e8b6 Merge inbound to central, a=merge
MozReview-Commit-ID: FBt5lm2sDFe
2017-08-31 16:26:40 -07:00
Sebastian Hengst
2b41ef3155 merge mozilla-central to autoland. r=merge a=merge 2017-08-31 14:37:58 +02:00
Sebastian Hengst
030c11d7dd merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4IUksc3Mn9i
2017-08-31 14:36:51 +02:00
Tom Tromey
dffd9ec2a9 Bug 1395262 - use plain console.error in devtools promise catches; r=bgrins
MozReview-Commit-ID: C8IhVPckQJ7

--HG--
extra : rebase_source : bd5f46a0bdff992cc0334250a16557eb710af5de
2017-08-30 12:05:41 -06:00
Franziskus Kiefer
6aa0aa4140 Bug 1304923 - adding key exchange group and signature scheme details to devtools view, r=keeler, Honza
This patch adds the group used for TLS key exchange and the siganture scheme of the certificate to SSLStatus and displays it in devtools.

MozReview-Commit-ID: 7aTj0U5GIvo

--HG--
extra : rebase_source : 7afe39dcf2a13d9ca9e35e45c333a1bcba424729
2017-08-28 15:29:19 +02:00