Commit Graph
1566 Commits
Author SHA1 Message Date
Martin Balfanz e7379b8606 Bug 1449528 - Don't rotate grid line number markers when close to the viewport edge. r=gl 2018-03-28 19:59:07 +02:00
Nika Layzell f614b85fbe Bug 1443379 - Stop pretending cacheKey can be anything other than uint32_t, r=smaug 2018-04-10 17:49:46 -04:00
Gurzau Raul 3501ab0447 Merge inbound to mozilla-central. a=merge 2018-04-10 19:54:34 +03:00
Razvan Caliman 794d47794b Bug 1435373 - Shapes editor: implementation to map shape value changes to rule. r=pbro
MozReview-Commit-ID: i20YChYAxd
2018-04-10 13:59:00 +02:00
Razvan Caliman 07391f3e67 Bug 1435373 - Minor refactor for shape output string guarding against empty this.geometryBox. Round values in getDistance() util function to avoid verbose precision.r=gl
MozReview-Commit-ID: IBB4mkvAu6h
2018-04-10 13:58:48 +02:00
Jason Laster 7989456b2a Bug 1450974 - Refactor the thread actor's stepping hooks. r=jimb
MozReview-Commit-ID: 7ST4wPnYHJR
2018-04-09 11:55:58 -04:00
Yura Zenevich 58cab30b35 Bug 1428441 - adding 'Show Accessibility Properties' context menu item for inspector markup view nodes. r=pbro
MozReview-Commit-ID: EEE6VaCgIza
2018-04-09 10:50:26 -04:00
Shuoyi Ma 4535858481 Bug 1432035 - Visualize the align-items in the flexbox highlighter. r=gl 2018-04-07 03:25:16 -04:00
Boris Zbarsky c35184d8f7 Bug 1452010 part 1. Remove uses of nsIDOMDOMException. r=qdot
MozReview-Commit-ID: K5zUjh25WJG
2018-04-06 23:27:56 -04:00
Nicolas B. Pierron ede41382ef Bug 1451456 - Index documentation of JSMSG_EMPTY_ARRAY_REDUCE. r=fscholz 2018-04-05 11:53:02 +00:00
Noemi Erli f8f0186c86 Merge inbound to mozilla-central. a=merge 2018-04-05 13:02:11 +03:00
Patrick Brosset 4f6f554ca0 Bug 1351081 - Always retrieve quads relatively to the top window, correctly; r=gl
Use the getBoxQuads's relativeTo option to avoid having to calculate the offset
due to frames.

Also reduce the precision of numbers used when checking if the highlighter is
correctly displayed.

Finally, for some strange reasons, this patch seems to cause a totally unrelated
events mutation event to be sent during the test. This polutes the mutations
received and made the test fail. So I filtered the list of mutations to only
preserve the ones we care about here.
I could not reproduce this extra mutation when running Firefox. Only during the
test. So I did not investigate further.

MozReview-Commit-ID: 1ZQ6FGULjHG
2018-03-30 11:24:45 +02:00
Narcis Beleuzu 0ae77e27f2 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-05 01:09:42 +03:00
Julian Descottes d5d3cc8e8b Bug 1451037 - check if shadow host has children when fetching before/after pseudos;r=bgrins
MozReview-Commit-ID: KG6cRlLQiE1
2018-04-04 11:59:19 +02:00
Jason Laster e467a3f892 Bug 1448431 - Don't pause on console expression exceptions. r=jimb
MozReview-Commit-ID: JrQjvtBy3LP
2018-04-04 15:03:35 -04:00
Razvan Caliman 810b681481 Bug 1411664 - Check if property name is invalid in rule view and change warning icon title text accordingly. r=pbro
MozReview-Commit-ID: L64Ow4cLAg8
2018-04-04 15:26:44 +02:00
Mark Banner 2c68dbbcb6 Bug 1451378 - Enable ESLint rule no-undef for more test files in devtools. r=jdescottes
MozReview-Commit-ID: 6q43u1m0hLI
2018-04-04 16:56:30 +01:00
Nicolas Chevobbe 4ec461ccd5 Bug 1449188 - Split devtools/server/actors/object.js in smaller files; r=ochameau.
We create one file per actor, and move the ones that are only used by the ObjectActor
into an object folder.
We also take this as an opportunity to extract utils function used in at least 2
different files into an object/utils.js file.
Furthermore, we extract stringifiers and previewers in their own files for readibility
sake, and rename DebuggerServer.ObjectActorPreviewers to previewers only, as
we don't make any use of putting those into DebuggerServer.

MozReview-Commit-ID: L9ajKrzkC4k
2018-03-28 08:24:41 +02:00
Oriol Brufau 32f71c15c6 Bug 1450541 - Show values of non-enumerable symbol properties in object inspector r=nchevobbe
MozReview-Commit-ID: Ai6q61YVzMk
2018-04-01 15:23:15 +02:00
Nicolas Chevobbe 959e3db023 Bug 1450193 - Remove old-event-emitter usage from devtools/shared/client; r=jryans.
MozReview-Commit-ID: 42hBgG1IU2B
2018-03-30 08:49:22 +02:00
Ciure Andrei eda43f7240 Merge inbound to mozilla-central. a=merge 2018-03-30 01:06:18 +03:00
Makoto Kato a02e5c047b Bug 1444796 - Part 3. Add test for parameters of startProfiler. r=gregtatum
MozReview-Commit-ID: B2NucdBOXxb
2018-03-14 15:05:54 +09:00
Makoto Kato 63b3388b8d Bug 1444796 - Part 1. Add options to startProfiler to customize profiler parameter from remote. r=gregtatum
New remote profiler protocol uses perfActor, but startProfiler doesn't support
parameters such as interval, So perfActor should support parameters for
startProfiler.

nsIProfiler emit profiler-started event with parameters, but perfActor doesn't
set the parameter yet.  For unit test, we should set parameter on
profiler-started event.

MozReview-Commit-ID: 3QiNunLyhnf
2018-03-14 15:05:48 +09:00
J. Ryan Stinnett d06758ac83 Bug 1449610 - Remove event loop lag in DevTools. r=ochameau
Bug 962511 added event loop lag info in DevTools for use via a "jank watcher"
tool on Firefox OS devices.

With the removal of Firefox OS, this is now dead code that can be removed.

MozReview-Commit-ID: IHRozqCviuQ
2018-03-28 11:19:22 -05:00
Cosmin Sabou 60829caa7f Merge inbound to mozilla-central. a=merge 2018-03-28 12:49:56 +03:00
Luca Greco 3a666a3d88 Bug 1425197 - Add additional checks of the target URL in the inspectedWindow devtools actor. r=kmag, r=ochameau 2018-03-16 21:20:52 +01:00
Erica Wright b3218d0705 Bug 1439512 - Correctly find stacked lines to ensure grid and numbers do no disappear when changing grid-row values. r=pbro
MozReview-Commit-ID: 7HkXaylZiMO
2018-03-16 11:56:10 -04:00
Julian Descottes 166192a00c Bug 1448178 - include actorId in unknown error packet from DevTools server;r=jryans
This will allow client code to catch errors occuring on the server side when
interacting with old-style actors. Before that change, the call from the client
would just never resume.

MozReview-Commit-ID: Ar6q5KapsDy
2018-03-22 21:37:55 +01:00
Oriol Brufau cdf90e0b7e Bug 1448501 - Remove unsafe CPOWs in DevTools server tests r=jryans
MozReview-Commit-ID: 9uQGoj4LI8h
2018-03-23 23:44:10 +01:00
Mark Banner 0f0bf6f793 Bug 1447944 - Remove devtool's check_except helper function in favour of Assert.throws. r=jdescottes.
MozReview-Commit-ID: 8W0oZd2P505
2018-03-22 11:13:17 +00:00
Mark Banner 79c0d941fb Bug 1447944 - Enable ESLint rule no-undef for test files in devtools/server/tests/unit/. r=jdescottes
MozReview-Commit-ID: JBtDdAUraQ2
2018-03-22 10:59:26 +00:00
Noemi Erli 9e897d6278 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-23 01:00:18 +02:00
Jason Laster cd6df82c8a Bug 1447316 - The debugger should use pausePoints to decide where to stop. r=jimb
MozReview-Commit-ID: 4Sxz0VIKB3j
2018-03-22 18:32:36 -04:00
Erica Wright 585df74fc4 Bug 1386047 - Grid and Flexbox inspector cross hash that fills the grid gap and flex container stays 45deg to the bounding lines on rotations. r=pbro
MozReview-Commit-ID: 1tDTGHEixCS
2018-03-21 14:53:08 -04:00
arthur.iakab 0911dedf1a Merge mozilla-central to inbound 2018-03-21 22:27:21 +02:00
arthur.iakab 6e006c34b4 Merge inbound to mozilla-central. a=merge 2018-03-21 21:13:11 +02:00
Mark Banner 3fa2dbe9ae Bug 1443661 - Enable ESLint rule no-undef for test files in devtools/client/webconsole/new-console-output/. r=nchevobbe
MozReview-Commit-ID: 39cCKczUMQI
2018-03-06 22:50:58 +00:00
J. Ryan Stinnett 00a56b52f1 Bug 1446222 - Move DevTools worker startup to new dir. r=jdescottes
Move and rename the server's worker debugger script that starts DevTools for a
worker from `worker.js` to `startup/worker.js`.

These code paths will likely change more as Site Isolation work continues, but
for now, we have this light cleanup to gather startup-related paths together.

MozReview-Commit-ID: EvzDSGnG1vU
2018-03-19 22:14:08 -05:00
J. Ryan Stinnett 8c6201e5f4 Bug 1446222 - Move DevTools service worker control script to worker actor dir. r=jdescottes
The `service-worker-child.js` process script is used by actors to control
service workers as needed.  This moves it to helper directory near the actors
that make use of it.

MozReview-Commit-ID: LIq1zcU6fBc
2018-03-19 21:53:24 -05:00
J. Ryan Stinnett eb6c5c216b Bug 1446222 - Move DevTools content process startup to new dir. r=jdescottes
Move and rename the server's process script (and accompanying JSM) that starts
DevTools for an entire content process from `content-process-debugger-server.js`
to `startup/content-process.js`.  `connectToContent` also becomes the more
specific `connectToContentProcess`.

These code paths will likely change more as Site Isolation work continues, but
for now, we have this light cleanup to gather startup-related paths together.

MozReview-Commit-ID: 1evbZMB8T7r
2018-03-19 21:28:26 -05:00
J. Ryan Stinnett fe86270713 Bug 1446222 - Move DevTools frame startup to new dir. r=jdescottes
Move and rename the server's frame script that starts DevTools in remote frames
from `child.js` to `startup/frame.js`.  `connectToChild` also becomes the more
generic `connectToFrame`.  A few b2g-isms like "app" are also removed.

These code paths will likely change more as Site Isolation work continues, but
for now, we have this light cleanup to gather startup-related paths together.

MozReview-Commit-ID: El8a0OE99gZ
2018-03-19 18:53:46 -05:00
J. Ryan Stinnett 223d3200c1 Bug 1446222 - Move websocket-server.js to socket dir. r=jdescottes
MozReview-Commit-ID: 9LZZXTKGCOb
2018-03-19 18:06:44 -05:00
J. Ryan Stinnett d53ca1ae45 Bug 1446222 - Move CssLogic to Inspector actor dir. r=jdescottes
MozReview-Commit-ID: 8IWTgRyWXNQ
2018-03-19 17:39:11 -05:00
J. Ryan Stinnett 3c1e73ffdc Bug 1446222 - Move event parsers to Inspector actor dir. r=jdescottes
MozReview-Commit-ID: LoMjO3v0bDN
2018-03-15 19:25:37 -05:00
J. Ryan Stinnett e62372fb2e Bug 1446222 - Move WebGL primitives to Canvas actor dir. r=jdescottes
MozReview-Commit-ID: 8Zv7cJFFG88
2018-03-15 19:20:32 -05:00
Margareta Eliza Balazs f1a18ad02c Merge inbound to mozilla-central. a=merge 2018-03-20 18:49:59 +02:00
shindli 3d9528c591 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-20 12:15:46 +02:00
Boris Zbarsky aec275fadf Bug 1446711 part 8. Get rid of nsIDOMMouseEvent. r=qdot
MozReview-Commit-ID: 2FK1MA4LGZj
2018-03-20 00:16:07 -04:00
Boris Zbarsky 72b3558850 Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot
We can't include MouseEventBinding.h in MouseEvents.h because that produces
this include loop:

MouseEventBinding.h -> UIEventBinding.h ->
nsGlobalWindow.h -> nsGlobalWindowInner.h -> nsRefreshDriver.h ->
AnimationEventDispatcher.h -> AnimationComparator.h -> Animation.h ->
EffectCompositor.h -> PseudoElementHashEntry.h -> Element.h ->
PointerEventHandler.h -> MouseEvents.h -> MouseEventBinding.h

MozReview-Commit-ID: 6FNksGil7uD
2018-03-20 00:16:06 -04:00
Michael Ratcliffe 5d6a395b0b Bug 1428264 - Do not show chrome urls in storage inspector r=pbro
On investigation it turns out that no storage types are supported for chrome:// urls.

MozReview-Commit-ID: JZcQg5FvfvN
2018-03-16 14:33:24 +00:00