Граф коммитов

1567 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe 4c83c733c3 Bug 1451025 - Convert SymbolIteratorActor to protocol.js; r=ochameau.
MozReview-Commit-ID: E9xjaaV50mt

--HG--
extra : rebase_source : 52f34bcc9a9c54669c9b41494bf566915607fab9
2018-04-05 16:49:30 +02:00
Martin Balfanz 5e5059eb5c 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 b286bc10d9 Bug 1443379 - Stop pretending cacheKey can be anything other than uint32_t, r=smaug 2018-04-10 17:49:46 -04:00
Gurzau Raul 6bfadf95b4 Merge inbound to mozilla-central. a=merge 2018-04-10 19:54:34 +03:00
Razvan Caliman db34548a67 Bug 1435373 - Shapes editor: implementation to map shape value changes to rule. r=pbro
MozReview-Commit-ID: i20YChYAxd

--HG--
extra : histedit_source : a216ae1ff4cac1609d60465476f157876fcc526f
2018-04-10 13:59:00 +02:00
Razvan Caliman 7deb320c23 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

--HG--
extra : histedit_source : 13e21379bc3638c37810d62ed89287d462ac943c
2018-04-10 13:58:48 +02:00
Jason Laster 1c77b34e03 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 3ea27d2560 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 5fa2cdb9cb Bug 1432035 - Visualize the align-items in the flexbox highlighter. r=gl 2018-04-07 03:25:16 -04:00
Boris Zbarsky 9b3d37b936 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 56eef529a8 Bug 1451456 - Index documentation of JSMSG_EMPTY_ARRAY_REDUCE. r=fscholz 2018-04-05 11:53:02 +00:00
Noemi Erli ff466e94c1 Merge inbound to mozilla-central. a=merge 2018-04-05 13:02:11 +03:00
Patrick Brosset e9b33924a6 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

--HG--
extra : rebase_source : 6406571849afb1d3dcec176f68ef4d3d122a1abf
2018-03-30 11:24:45 +02:00
Narcis Beleuzu 58b4822076 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-05 01:09:42 +03:00
Julian Descottes 547614b6c5 Bug 1451037 - check if shadow host has children when fetching before/after pseudos;r=bgrins
MozReview-Commit-ID: KG6cRlLQiE1

--HG--
extra : rebase_source : 1b4a9d3da2f118f74c42db40b62c75e7aa04d0c8
2018-04-04 11:59:19 +02:00
Jason Laster 811f83e65e 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 fd2272eb89 Bug 1411664 - Check if property name is invalid in rule view and change warning icon title text accordingly. r=pbro
MozReview-Commit-ID: L64Ow4cLAg8

--HG--
extra : rebase_source : d21dd8c2fbd9d4c1fbae1222f8cac91efacd749a
2018-04-04 15:26:44 +02:00
Mark Banner 57f0cf24f4 Bug 1451378 - Enable ESLint rule no-undef for more test files in devtools. r=jdescottes
MozReview-Commit-ID: 6q43u1m0hLI

--HG--
extra : rebase_source : 02bf20a95994ac2fb13e3a69e3d504564fcc279d
2018-04-04 16:56:30 +01:00
Nicolas Chevobbe c2c2ef50c5 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

--HG--
rename : devtools/server/actors/object.js => devtools/server/actors/array-buffer.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/long-string.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/previewers.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/property-iterator.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/stringifiers.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/symbol-iterator.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/symbol.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/utils.js
extra : rebase_source : ae332d0a85d9d8bcc306d399fffbd0ec643db49c
2018-03-28 08:24:41 +02:00
Oriol Brufau dc2389178e Bug 1450541 - Show values of non-enumerable symbol properties in object inspector r=nchevobbe
MozReview-Commit-ID: Ai6q61YVzMk

--HG--
extra : rebase_source : 25b23bfd14ac717309f62cfb1548763ca3bf8aaf
2018-04-01 15:23:15 +02:00
Nicolas Chevobbe 11860028e9 Bug 1450193 - Remove old-event-emitter usage from devtools/shared/client; r=jryans.
MozReview-Commit-ID: 42hBgG1IU2B

--HG--
extra : rebase_source : 809665d1f829e81d0e666b96f67aaac0ef720fdd
2018-03-30 08:49:22 +02:00
Ciure Andrei 5d841a3421 Merge inbound to mozilla-central. a=merge 2018-03-30 01:06:18 +03:00
Makoto Kato 15eece8a65 Bug 1444796 - Part 3. Add test for parameters of startProfiler. r=gregtatum
MozReview-Commit-ID: B2NucdBOXxb

--HG--
extra : rebase_source : a9a1c57631be68b02d63d977a60fbcfac5941688
2018-03-14 15:05:54 +09:00
Makoto Kato 344ae3712c 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

--HG--
extra : rebase_source : 836f67d2f161816c9947a47a18f912dad77728bf
2018-03-14 15:05:48 +09:00
J. Ryan Stinnett 7fef001d2a 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

--HG--
extra : rebase_source : 0429ae3655c30ccf79950cd33153ee0a9223c69c
2018-03-28 11:19:22 -05:00
Cosmin Sabou b25da47eb2 Merge inbound to mozilla-central. a=merge 2018-03-28 12:49:56 +03:00
Luca Greco c407f3ba17 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 c241a7059b 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

--HG--
extra : rebase_source : 6f2719b94ffa7a35615ed6a03ed94763da2bf507
2018-03-16 11:56:10 -04:00
Julian Descottes 4842bb9a9c 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

--HG--
extra : rebase_source : 041584543737c570957fc8b55148e5a824013f2f
2018-03-22 21:37:55 +01:00
Oriol Brufau 67d91bfded Bug 1448501 - Remove unsafe CPOWs in DevTools server tests r=jryans
MozReview-Commit-ID: 9uQGoj4LI8h

--HG--
extra : rebase_source : de4d6afd4c9e0cfe28fbca18d2c06e2406c7a888
2018-03-23 23:44:10 +01:00
Mark Banner 067bafd141 Bug 1447944 - Remove devtool's check_except helper function in favour of Assert.throws. r=jdescottes.
MozReview-Commit-ID: 8W0oZd2P505

--HG--
extra : rebase_source : 9a0a02ec693fc0aaf8f579e4632691cae188441b
2018-03-22 11:13:17 +00:00
Mark Banner f1ed0a2b70 Bug 1447944 - Enable ESLint rule no-undef for test files in devtools/server/tests/unit/. r=jdescottes
MozReview-Commit-ID: JBtDdAUraQ2

--HG--
extra : rebase_source : 544ada916f5d3fd41f57225b19897d6b21407425
2018-03-22 10:59:26 +00:00
Noemi Erli 1270a21724 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-23 01:00:18 +02:00
Jason Laster 2fef0dedc3 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 f79e46140a 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

--HG--
extra : rebase_source : 43036a69a3919cbc24658b06fb8888d855d005e5
2018-03-21 14:53:08 -04:00
arthur.iakab 5e8092339a Merge mozilla-central to inbound
--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
extra : rebase_source : 5801e95a945b54754f27571e7b211e1eac132d67
2018-03-21 22:27:21 +02:00
arthur.iakab abcb47d8cc Merge inbound to mozilla-central. a=merge 2018-03-21 21:13:11 +02:00
Mark Banner ca1d1c7f94 Bug 1443661 - Enable ESLint rule no-undef for test files in devtools/client/webconsole/new-console-output/. r=nchevobbe
MozReview-Commit-ID: 39cCKczUMQI

--HG--
extra : rebase_source : 95819adebef10c8db626bc75f985f75f9e39cad8
2018-03-06 22:50:58 +00:00
J. Ryan Stinnett c690e84914 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

--HG--
rename : devtools/server/worker.js => devtools/server/startup/worker.js
extra : rebase_source : e0b4600a0644e3e8ebb14f3da9c7dcea94d776ad
2018-03-19 22:14:08 -05:00
J. Ryan Stinnett aed6462de1 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

--HG--
rename : devtools/server/service-worker-child.js => devtools/server/actors/worker/service-worker-process.js
extra : rebase_source : 8319d60ab2f3ae10d93d063f8932057316325fc3
2018-03-19 21:53:24 -05:00
J. Ryan Stinnett 0cee298854 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

--HG--
rename : devtools/server/content-process-debugger-server.js => devtools/server/startup/content-process.js
rename : devtools/server/content-server.jsm => devtools/server/startup/content-process.jsm
extra : rebase_source : e077dd3dc915ec274f866d53d3539909f8440de1
2018-03-19 21:28:26 -05:00
J. Ryan Stinnett 1c5534b4d8 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

--HG--
rename : devtools/server/child.js => devtools/server/startup/frame.js
rename : devtools/server/tests/mochitest/test_connectToChild.html => devtools/server/tests/mochitest/test_connectToFrame.html
extra : rebase_source : 2735c53587257b215d720204cf7c4581088eba42
2018-03-19 18:53:46 -05:00
J. Ryan Stinnett c6636c8067 Bug 1446222 - Move websocket-server.js to socket dir. r=jdescottes
MozReview-Commit-ID: 9LZZXTKGCOb

--HG--
rename : devtools/server/tests/mochitest/test_websocket-server.html => devtools/server/socket/tests/test_websocket-server.html
rename : devtools/server/websocket-server.js => devtools/server/socket/websocket-server.js
extra : rebase_source : bc009ad0078394d2e24599fcd999ad6123ee094a
2018-03-19 18:06:44 -05:00
J. Ryan Stinnett d376d1e61d Bug 1446222 - Move CssLogic to Inspector actor dir. r=jdescottes
MozReview-Commit-ID: 8IWTgRyWXNQ

--HG--
rename : devtools/server/css-logic.js => devtools/server/actors/inspector/css-logic.js
extra : rebase_source : e88edd34f8150f15b9fb26130fd67c5c323a6d56
2018-03-19 17:39:11 -05:00
J. Ryan Stinnett c500f6e824 Bug 1446222 - Move event parsers to Inspector actor dir. r=jdescottes
MozReview-Commit-ID: LoMjO3v0bDN

--HG--
rename : devtools/server/event-parsers.js => devtools/server/actors/inspector/event-parsers.js
extra : rebase_source : 9465b9552aff0209225996e0766591fd33dd175b
2018-03-15 19:25:37 -05:00
J. Ryan Stinnett e66787688e Bug 1446222 - Move WebGL primitives to Canvas actor dir. r=jdescottes
MozReview-Commit-ID: 8Zv7cJFFG88

--HG--
rename : devtools/server/primitive.js => devtools/server/actors/canvas/primitive.js
extra : rebase_source : aa443931f43a54e2be127e099787cbaa6c6993b8
2018-03-15 19:20:32 -05:00
Margareta Eliza Balazs b29daa4644 Merge inbound to mozilla-central. a=merge 2018-03-20 18:49:59 +02:00
shindli ae7d662af6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-20 12:15:46 +02:00
Boris Zbarsky 837dc7eaaa Bug 1446711 part 8. Get rid of nsIDOMMouseEvent. r=qdot
MozReview-Commit-ID: 2FK1MA4LGZj
2018-03-20 00:16:07 -04:00
Boris Zbarsky 89ea512161 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