Commit Graph

1249 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
a70fdbfb6e Bug 1399314 - Introdue CssLogic.getCSSStyleRules to get style rules for ::before and ::after pseudo elements handy. r=bgrins
For pseudo elements, inIDOMUtils.getCSSStyleRules needs to take the parent
element of the pseudo element and pseudo name. This new function wraps
inIDOMUtils.getCSSStyleRules so that we can get style rules for pseudo elements
handy.

MozReview-Commit-ID: LRQBdiizoL7

--HG--
extra : rebase_source : ca409443da52d25630f52052aabf508ee79a6bd1
2017-10-13 07:19:54 +09:00
Hiroyuki Ikezoe
9b8c1dff66 Bug 1399314 - Move getBindingElementAndPseudo into shared/inspector/css-logic.js. r=ochameau
MozReview-Commit-ID: 4Ka61REglh

--HG--
extra : rebase_source : a48319dd7614ae79cdda1ba1b06d1558cc371fe4
2017-10-13 07:19:54 +09:00
Mike Hommey
b1f7830bc2 Bug 1407838 - Replace UniquePtr<T, NSFreePolicy> with UniqueFreePtr. r=njn
--HG--
extra : rebase_source : 0d356b71443896579dedd98cbd08dfe1acb4a34d
2017-10-12 11:22:05 +09:00
Mike Hommey
404ef7af3e Bug 1407838 - Remove the remains of NS_Alloc/NS_Realloc/NS_Free. r=njn
Bug 1134923 removed the use of those functions in gecko, and left some
for the XPCOM standalone glue. The XPCOM standalone glue was severely
stripped down in bug 1306327, with the effect of removing the
implementation for those functions.

The remains in nsXPCOM.h are:
XPCOM_API(void*) NS_Alloc(size_t aSize);
XPCOM_API(void*) NS_Realloc(void* aPtr, size_t aSize);
XPCOM_API(void) NS_Free(void* aPtr);

With no implementation left, the first arm is never actually used, and
the second arm means every remaining use of those functions in the tree
is a macro expansion to one of moz_xmalloc, moz_xrealloc or free.

--HG--
extra : rebase_source : fd1669abc5a25d8edbd5c3a8522e22a5c3f558e2
2017-10-12 11:08:44 +09:00
sole
799345fd87 Bug 1391738 - Screenshot with filename fails with unknown error in Linux. r=jwalker
MozReview-Commit-ID: 7XLXyNkL4Le

--HG--
extra : rebase_source : 3acb676de8ae1b5393dc66a9b8aea092efde75b6
2017-10-09 16:57:06 +01:00
Sebastian Hengst
c2d6023454 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 36L7JL73CzG
2017-10-09 23:52:04 +02:00
Ben Kelly
caf912a42a Bug 1391693 P10 Don't expect extraneous console message from service worker any more. r=bgrins 2017-10-09 10:03:41 -07:00
Ben Kelly
f3f0b978e0 Bug 1391693 P9 Make nsHttpChannel redirect to InterceptedHttpChannel to fire a ServiceWorker FetchEvent. r=asuth r=valentin 2017-10-09 10:03:41 -07:00
Kyle Machulis
2090426dc0 Bug 1405792 - Remove nsIDOMHTMLIFrameElement r=bz
MozReview-Commit-ID: 1u9C66X8j59

--HG--
extra : rebase_source : 5d87fe933170e32fbb44e24ec843623e143164d2
2017-10-04 20:41:24 -07:00
Julian Descottes
84bf318644 Bug 1399886 - remove unnecessary invertable CSS classes on devtools icons;r=gl
Using fill instead of filter we don't need to define each icon as
invertable or not. If the icon is a SVG and supports fill="context-fill"
then it will be inverted/highlighted etc... as expected.

If not then it won't be impacted by DevTools themes.

MozReview-Commit-ID: CLFprKMuCt9

--HG--
extra : rebase_source : 391f3567c2bdf319dcfd0a3b0c87f0479f85eabd
2017-10-04 21:13:48 +02:00
Nicolas Chevobbe
67326f6d79 Bug 1403106 - Use absolute path to not have issues with webpack aliasing; r=Honza
MozReview-Commit-ID: 88NkFh8arI6

--HG--
extra : rebase_source : 1cb19f8f09919fb602782a27d5dd34cacf1e508b
2017-10-04 13:29:08 +02:00
Oriol Brufau
d34d21b241 Bug 1406660 - Remove all wrappers when checking if a getter is safe. r=jimb
MozReview-Commit-ID: KcTGDuwqFYu

--HG--
extra : rebase_source : c4441999986423cc9330e1084e80681795617003
2017-10-07 18:27:29 +02:00
Kyle Machulis
e54a4653ba Bug 1404079 - Remove nsIDOMHTMLFrameElement; r=bz
MozReview-Commit-ID: GSvMwRpl7g4

--HG--
extra : rebase_source : a5e8ee45bae90eaa9ecdcc6f0bac0c9dac0ce2c8
2017-09-28 19:06:14 -07:00
Alexandre Poirot
37bd611e02 Bug 1399589 - Move domnodelist, disconnectedNode and disconnectedNodeArray to node spec and front. r=jdescottes
MozReview-Commit-ID: B5l1X4pc2Kf

--HG--
extra : rebase_source : a45e07106582c999768065cddb93c38b692adfee
2017-10-03 17:19:56 +02:00
Alexandre Poirot
b5eb40769a Bug 1399589 - Move NodeFront to its own module. r=jdescottes
MozReview-Commit-ID: EVeaFmqAmKL

--HG--
rename : devtools/shared/fronts/inspector.js => devtools/shared/fronts/node.js
extra : rebase_source : 2791e99ca8e37f4b9e0ba6bd1bb4d0bb22601781
2017-10-02 17:14:38 +02:00
Alexandre Poirot
8951f31f9f Bug 1399589 - Remove unused performance-entries actor. r=jdescottes
MozReview-Commit-ID: LaGB7vP5Pj2

--HG--
extra : rebase_source : e10f76b13e18815a1b07295f72cd8902a262e314
2017-10-03 17:57:08 +02:00
Alexandre Poirot
76914dd9bc Bug 1399589 - Register all spec and front modules lazily in specs/index.js. r=jdescottes
MozReview-Commit-ID: 3U2D0PWivm2

--HG--
extra : rebase_source : bb087a66c0d946f684dbfa00e7dc96725d4eee30
2017-10-03 17:56:35 +02:00
Wes Kocher
f4358f1539 Merge inbound to central, a=merge
MozReview-Commit-ID: I1ge4dvWtTB
2017-10-03 14:37:35 -07:00
sole
b5e8924a44 Bug 1383037 - Use only one debounce function in devtools. r=pbro
MozReview-Commit-ID: J9t90N1U2XY

--HG--
extra : rebase_source : 8c8383729e8079a01f5b432a008839986cc2ebc8
2017-10-03 11:03:19 +01: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
Towkir Ahmed
1d9469d0b7 Bug 1382171 - Remove MDN Docs widget. r=jdescottes 2017-10-03 09:13:00 -04: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