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

1692 Коммитов

Автор SHA1 Сообщение Дата
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
Michael Ratcliffe 04ef7324c7 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

--HG--
extra : rebase_source : ea3ad83a5b81fb77fedf1ec4707294c45b6a5257
2018-03-16 14:33:24 +00:00
Andreea Pavel 7062e6b6a2 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-20 00:39:56 +02:00
Boris Zbarsky 4fa4d2a7f5 Bug 1446598 part 2. Get rid of nsIDOMComment. r=mystor
MozReview-Commit-ID: GGXPQnlwuUM
2018-03-19 15:15:39 -04:00
Boris Zbarsky ba095e218b Bug 1433566 part 2. Remove use of nsIDOMText from JS. r=mystor
MozReview-Commit-ID: LtAhn223y0s
2018-03-19 15:15:37 -04:00
Bogdan Tara 7eb4cdd58d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-17 12:34:09 +02:00
Bogdan Tara 4785e99532 Merge inbound to mozilla-central. a=merge 2018-03-17 12:29:57 +02:00
Adrian Wielgosik 87a72d3f51 Bug 1446515 - Remove nsIDOMFileList. r=bz
MozReview-Commit-ID: 4ab1e6NTcOB

--HG--
extra : rebase_source : 09388e531e2bcc6a133cc1ec76946a79ddf2bcb0
2018-03-16 20:55:32 +01:00
Kris Maglione 313b707b2e Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc

--HG--
extra : rebase_source : 765ddd5c62c9449c07ed050e44d86a3bd5c0ae64
extra : amend_source : 627a7694ac07182200f876901ded7a34721cd228
2018-03-07 19:31:28 -08:00
Yura Zenevich 2cfe591b90 Bug 1445251 - do not instantiate a11y service if it was already turned off when resetting accessible walker actor. r=pbro
MozReview-Commit-ID: 8H9xeRs4nR6
2018-03-16 13:07:42 -04:00
Peter Van der Beken f5754d679a Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Mark Banner 0f3ec963be Bug 1443093 - Update eslint-plugin-no-unsanitized to 3.0.0 / eslint to 4.18.2. r=mossop
Also change eslint-plugin-mozilla's globals.js to use eslint-scope rather than escope as
ESLint 4.x changed to eslint-scope. This avoids dependency issues that were masked by the
depedencies of eslint-plugin-no-unsanitized's previous version.

MozReview-Commit-ID: 6wLY7Oj0am3

--HG--
extra : rebase_source : 863313d7907e8246d1f5b0ee83164cc0f943f8f6
2018-03-05 10:34:38 +00:00
Jonathan Watt f6c1f57fe8 Bug 1397795 part 3 - Don't rely on opaque widgets not having overflow. r=mstange
MozReview-Commit-ID: GJNDwQUjfEr
2018-02-19 16:00:32 +00:00
Kris Maglione a4d72e2a38 Bug 1445551: Follow-up: Fix typo. r=emk DONTBUILD
MozReview-Commit-ID: BDJD4SvrIX9
2018-03-15 21:57:28 -07:00
shindli 306b2c76aa Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-15 12:17:25 +02:00
Kris Maglione 38156094a4 Bug 1445551: Part 5 - Remove add-on path service. r=aswan,mccr8
The path service was created to allow us to track resources that were part of
legacy add-ons, and to map URIs ponting to those resources to add-on IDs, so
that we could apply special behavior to them.

We have better ways to track resources belonging to WebExtensions, so this
code does not benefit them in any significant way.

The only remaining legacy extensions are system add-ons, which we control, and
do not need the path service in order to track.

MozReview-Commit-ID: BKXkcaM7jJx

--HG--
extra : rebase_source : c8cb0f7cec919b767bbcfe5433a6838523747676
2018-03-13 20:21:22 -07:00
Kris Maglione 83957914cc Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
MozReview-Commit-ID: 4ojwvjw9XGT

--HG--
extra : rebase_source : f7b79ad5998f1138266e89767ee1b434e4797b30
2018-03-14 14:35:05 -07:00
Andreea Pavel 41ec48d989 Backed out 2 changesets (bug 1435373) for devtools failures at devtools/client/shared/test/browser_telemetry_button_eyedropper.js and devtools/client/inspector/rules/test/browser_rules_eyedropper.js and devtools/client/inspector/test/browser_inspector_highlighter-cssshape_04.js on a CLOSED TREE
Backed out changeset 195379cf14f0 (bug 1435373)
Backed out changeset 14a22276dc53 (bug 1435373)
2018-03-15 01:50:45 +02:00
Andreea Pavel 363ad2007d Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-15 00:11:42 +02:00
Mike Ratcliffe cbae55792f Bug 1381590 - Make Storage Inspector work with file:// URLs r=pbro
MozReview-Commit-ID: I8QPDaovalG

--HG--
extra : rebase_source : f8b9578a9de89282dc0f14685e24b1f84ba008c8
2018-03-12 17:37:49 +00:00
Razvan Caliman d8bcd1e906 Bug 1435373 - Map changes from shape highlighter to correct CSS rules. r=pbro
- Emit shape change events from highlighter
- Wrap shape highlighter with in-context shape editor singleton
- Link text properties from Rule view into in-context shapes editor
- Write changes to corresponding rule instead of inline style
- Hide shape highlighter on node change or TextProperty disabled/overwritten
- Remove functionality to restore shape editor on refresh
- Refactor and consolidate shape point hover behaviour (still to do: internalize remaining logic for point hover from rules.js and highlighter-overlay.js)
- Update unit tests

MozReview-Commit-ID: JiMTqODgcjU

--HG--
extra : rebase_source : abcaaa220d7cfda839daf77af9b5c01d4444d781
extra : histedit_source : 19060681534b800fc9696cc94f995eca7587ee30
2018-02-19 17:45:06 +01:00
Razvan Caliman 369a3b985d 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 : rebase_source : b40e9c29a1ccef116fcfceb0d01dd28d31fec46c
extra : histedit_source : 0d59aad3dd327a550fac40e04e3a733158dd7577
2018-02-19 17:51:10 +01:00
sean-chen 33275e6ec3 Bug 1443786 - Fix CanvasDebugger crash due to a TypeError. r=jdescottes 2018-03-13 11:14:46 -07:00
Michael Ratcliffe eff23d6ce5 Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js
rename : devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/test/browser_console_devtools_loader_exception.js
extra : rebase_source : ff29ac3f0da6588af43e33944f7253bc840b6d3a
2018-03-09 15:36:45 +00:00
Dorel Luca 714a558c3e Backed out changeset ae1924aff61b (bug 1443457) as requested by developer
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js
rename : devtools/client/webconsole/test/browser_console_devtools_loader_exception.js => devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js
2018-03-14 12:35:38 +02:00
Michael Ratcliffe 0768cc918d Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js
rename : devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/test/browser_console_devtools_loader_exception.js
extra : rebase_source : 05383e5f371fd0618592370ee9429cfaab2509ff
2018-03-09 15:36:45 +00:00
Emilio Cobos Álvarez 48957d62c0 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
Michael Ratcliffe 81149f7410 Bug 1446310 - Remove CPOWs from browser_storage_updates.js r=jryans
MozReview-Commit-ID: DVeLEYIfl9A

--HG--
extra : rebase_source : 05d13aae50e886181f1d9385bba5febd3c6c67d9
2018-03-16 09:55:56 +00:00
Michael Ratcliffe 540eac7b3b Bug 1446037 - Remove CPOWs from browser_storage_dynamic_windows.js and simplify the test r=jryans
Try to comprehend exactly how the original test worked... I dare you!

MozReview-Commit-ID: 5EYOfhw3hVw

--HG--
extra : rebase_source : 4b5a7eb5f16c8ad1d0cca3f4642a87108b9da913
2018-03-15 17:17:53 +00:00
Michael Ratcliffe 0ca523aa2f Bug 1446320 - Remove uses-unsafe-cpows flag from browser_storage_listings.js r=jryans
browser_storage_listings.js doesn't use CPOWs and runs just fine with the flag removed.

I would r=me this if ReviewBoard would let me but I can't.

MozReview-Commit-ID: IHoY7qLR3k2

--HG--
extra : rebase_source : 7aa0d5111307e453b1bf17a8433d9b86d8424f73
2018-03-16 11:13:38 +00:00
Julian Descottes 57820cf88e Bug 1053898 - Update NodeActor with new properties to detect slotted nodes in markup-view;r=bgrins
Instead of filtering light DOM nodes in the actor, return enough information
for the markup-view to filter out the nodes itself. The nodes will be displayed
in a later changeset when the markup view can accommodate several containers
for a single nodeFront.

MozReview-Commit-ID: LFKYU24BLZB

--HG--
extra : rebase_source : 232795c1ee91a41ec667c8bcdc21eb73bcfcbf9a
2018-03-06 18:31:46 +01:00
Julian Descottes 8fe5897c42 Bug 1053898 - Update WalkerActor to return ::after,::before in children() of host element;r=bgrins
MozReview-Commit-ID: jCRQ49ZWa2

--HG--
extra : rebase_source : 31e8cb68519893a371504885fe34ee3e58372cfd
2018-03-07 12:38:54 +01:00
Julian Descottes 54ba16f026 Bug 1053898 - Update WalkerActor to return light DOM nodes as children of host element;r=bgrins
Light DOM nodes are now returned next to the shadow-root, however they are
skipped if they are found under a slot element, because the markup view
can not handle several containers for a single nodeFront yet.

MozReview-Commit-ID: 1df3VBPT2HX

--HG--
extra : rebase_source : bf3a2d42ddb07b5bac08fc95226e9751874c1f7a
2018-03-05 20:06:56 +01:00
Julian Descottes 0085fd1e68 Bug 1053898 - Update Walker and Node actors to observe mutations in shadow roots;r=bgrins
MozReview-Commit-ID: Djlo8ZC84Vm

--HG--
extra : rebase_source : b42b7e42c86d5ad1e4e3d435a3f2908dda08d1f1
2018-03-05 19:16:03 +01:00
Julian Descottes e6b58eca96 Bug 1053898 - Update Walker and Node actors to listen to slotchange events on shadow roots;r=bgrins
MozReview-Commit-ID: 9LfiR7EFq3I

--HG--
extra : rebase_source : d4f9698a772c1ac3bc749303e96ef132c247d850
2018-03-05 18:24:53 +01:00
Julian Descottes b43628611e Bug 1053898 - Update markup view to display shadow roots as #shadow-root;r=bgrins
MozReview-Commit-ID: 36Zr2P6j6W6

--HG--
extra : rebase_source : a71f90edb139122d0561b4a51ef42082e64e381e
2018-03-05 16:41:43 +01:00
Julian Descottes 77bf77e8cb Bug 1053898 - Update WalkerActor to return shadowRoot as child of host element;r=bgrins
This changeset allows to display a #document-fragment as the child of
a custom element that has a shadowRoot.

MozReview-Commit-ID: 59wbnjz40I3

--HG--
extra : rebase_source : 4e7c5c219e0c7db9324fd363f4597a653bcae109
2018-03-19 10:33:07 +01:00
Julian Descottes 4afbb03a9c Bug 1053898 - Update DocumentWalker constructor to support showAnonymousContent parameter;r=pbro
MozReview-Commit-ID: 6c7qlnbe5ND

--HG--
extra : rebase_source : b32b14c180d94082ae8ecdb6195daa6f44f40209
2018-03-05 14:27:45 +01:00
Julian Descottes ef13044e43 Bug 1053898 - Update DocumentWalker constructor to use optional object argument;r=pbro
MozReview-Commit-ID: I8AiM5rXPFd

--HG--
extra : rebase_source : 456a89d4c7026c9503544778d7b1a998056d88e8
2018-01-26 17:01:25 +01:00
Julian Descottes 06374c2d78 Bug 1053898 - Remove unused WalkerActor methods parents() and siblings;r=pbro
MozReview-Commit-ID: GEjFjslgK4J

--HG--
extra : rebase_source : 2b71203737cd0fa99f31528118cb6c9cf320a131
2018-03-07 22:49:48 +01:00
Alexandre Poirot 6c45419ff3 Bug 1438121: Change test_memory_allocations_01.html to use async functions instead of Task.jsm.
MozReview-Commit-ID: BCQjc5Q3yqd

--HG--
extra : rebase_source : e1cb747e8d5732ad42c4c54a6efc1dc866565637
2018-03-13 10:02:17 -07:00
Narcis Beleuzu 298d1d55b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-13 12:36:54 +02:00
Noemi Erli ac0a30f58c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-13 01:16:04 +02:00
Yura Zenevich f200bd41c5 Bug 1443831 - accessible highlighter: when picking accessilbe for a node, walk its ancestry until the first valid accessible object. r=pbro
MozReview-Commit-ID: 1NEaKOoAIhH
2018-03-12 14:21:07 -04:00
J. Ryan Stinnett ea98feda06 Bug 1442312 - Finish DevTools server conversion to DOM Promises. r=ochameau
Remove the last sync promises from the server.

This causes server replies to be sent later than before, potentially later
enough that the connection has since been closed.  We now throw errors in such
cases.

MozReview-Commit-ID: 2x213g7poH5

--HG--
extra : rebase_source : 2b83c32aa79e2365159ee20f4839a5ac645559b4
2018-03-07 16:52:51 -06:00
Luca Greco a7b7f06441 Bug 1435959 - Fix missing network requests in netmonitor panel for oop extensions. r=ochameau
MozReview-Commit-ID: F8jzwBveACm

--HG--
extra : rebase_source : d45591793484ad916c2e3312818700e9db628abe
2018-02-19 18:00:35 +01:00
Yura Zenevich 6c64f2f9fd Bug 1428430 - added enable, disable, highlighter, picker a11y functionality. r=pbro, ochameau
MozReview-Commit-ID: 7QsY75oJCtW
2018-03-09 10:01:55 -05:00
Patrick Brosset d5b6e21206 Bug 1444032 - Avoid clearing canvas when drawing justify-content areas; r=gl
So far, we are drawing the entire line area, and then cutting out the various
margin boxes from each item, in order to show where justify-content applies.
This is dangerous because that means clearing pixels in a canvas where we're
drawing tons of other stuff, and it's easy to accidentally clear unwanted
things.
Instead, now we just draw the justify-content where needed only.

MozReview-Commit-ID: LJN6Fl1by4l
2018-03-08 14:04:58 +01:00
J. Ryan Stinnett 23ff4cc75d Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Boris Zbarsky ba4b5f9979 Bug 1444919 part 2. Remove nsIDOMClipboardEvent. r=mystor
MozReview-Commit-ID: YmJ04OiqFo
2018-03-13 00:59:24 -04:00
Brindusan Cristian eb51abf4fb Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
Nicolas B. Pierron 5cd93573c4 Bug 1443909 - Index documentation of JSMSG_BAD_INSTANCEOF_RHS. r=fscholz 2018-03-08 13:24:26 +00:00
Cosmin Sabou aba9ad6f65 Merge inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/NavigationListenerTest.kt => mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/NavigationDelegateTest.kt
2018-03-08 05:59:30 +02:00
J. Ryan Stinnett 724f46419e Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl

--HG--
rename : devtools/client/framework/test/shared-head.js => devtools/client/shared/test/shared-head.js
rename : devtools/client/framework/test/shared-redux-head.js => devtools/client/shared/test/shared-redux-head.js
extra : rebase_source : c6f6cd75a9c1a5349f8406f337c9c39f2f755dab
2018-03-02 19:14:05 -06:00
Patrick Brosset 64f6d4eefa Bug 1435749 - Cut out justify-content areas using the correct flex items in the flexbox highlighter; r=gl
MozReview-Commit-ID: 6v9TrdRARlI

--HG--
extra : rebase_source : 67e1b6b331756a7beb7ee4db39678552a66ab38a
2018-03-07 09:19:30 +01:00
Gabriel Luong 5d8bd52394 Bug 1435749 - Get the correct flex items when rendering in the flexbox highlighter. r=pbro 2018-03-07 15:43:58 -05:00
Gabriel Luong 2065d0ece2 Bug 1432036 - Fix eslint error in flexbox.js. r=me 2018-03-07 14:50:33 -05:00
Shuoyi Ma 316ed4964f Bug 1432036 - Remove overlapping flex lines with the flex container in flexbox highlighter. r=gl 2018-03-07 14:45:18 -05:00
Nicolas Chevobbe 90c41237b2 Bug 1441864 - Fix ContentProcessForward data handling; r=bgrins.
In ContentProcessForward, we listen for console-api-log-event in order
to pass data to the Browser console and Browser toolbox.
But the data is modified and properties are cherry-picked from the original
event, missing some properties probably introduced later like `counter`,
`prefix`, `private`, …
The fix consists in cloning the original event data and only overriding what
needs to be overridden.

MozReview-Commit-ID: 6jSfiRxcHQa

--HG--
extra : rebase_source : 3a4c61c0eb14ccdf584630c508dc439b7718ee45
extra : source : d266983f9cdeba0381f11e00bb6b271ccda561c1
2018-03-01 10:23:58 +01:00
J. Ryan Stinnett 35faaa28aa Bug 1248498 - Check document cache status when loading HTML sources. r=jlast
When getting the source for inline scripts in documents, we generally try to use
the cache.  However, the toolbox allows you to disable the HTTP cache while open
if you wish.

If the toolbox has disabled the cache, using `fetchFromCache: true` will give
stale data (from the most recent cache-enabled request).

We can avoid stale data here by checking the document's cache state.

MozReview-Commit-ID: J5SJciSyQNj

--HG--
extra : rebase_source : f5fce653f7860b406aa4a580c32e7c15f9cdd0ce
2018-02-28 19:48:54 -06:00
Alexandre Poirot 659de18c8a Bug 1233890 - Remove unnecessary usages of deprecated sync promises in devtools/server. r=jryans
MozReview-Commit-ID: 2K7gxMz9w3y

--HG--
extra : rebase_source : 3531a45136bb8cdf6dccd253d66df2e9b781d7b5
2018-02-13 05:25:52 -08:00
Nicolas Chevobbe aca904dd7c Bug 1382609 - Remove old-event-emitter usage from devtools/server; r=pbro.
MozReview-Commit-ID: 3B3slS3EPYn

--HG--
extra : rebase_source : 60bf49cfd4f620ee20aa577fd15168db48b2ff2d
2018-02-27 09:06:56 +01:00
Dorel Luca 9d9f538a22 Backed out 2 changesets (bug 1428430) for devtools failure on /builds/worker/workspace/build/src/accessible/base/nsAccessibilityService.cpp:1045 a=backout
Backed out changeset 7d9813d8cb47 (bug 1428430)
Backed out changeset a638660a49fa (bug 1428430)

--HG--
extra : source : 533de41e4cb3c8356e254f662371c0e852ce18ca
2018-03-02 01:48:52 +02:00
Gabriel Luong 8bbbdc6337 Bug 1441622 - Expose the OpenType Font Variations data to the fonts redux store. r=pbro 2018-03-01 15:25:10 -05:00
Yura Zenevich e35979f190 Bug 1428430 - Fix for ESLint faiure in devtools/server/actors/accessibility.js.
MozReview-Commit-ID: 3PPmOMsQAr0
2018-03-01 10:39:40 -05:00
Yura Zenevich 8dccbf98a3 Bug 1428430 - added enable, disable, highlighter, picker a11y functionality. r=pbro, ochameau
MozReview-Commit-ID: 7QsY75oJCtW
2018-03-01 10:06:14 -05:00
Sebastian Hengst 3a10644021 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Florian Quèze f3ee8dd20b Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Florian Quèze c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Brian Grinstead 97119973ca Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.

MozReview-Commit-ID: 9ojFxtkpPId

--HG--
extra : rebase_source : 971bf99f709b8d2afe300f3693665724f747aa5e
2018-02-27 11:29:59 -08:00
Andreea Pavel fa0861e443 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-02-28 00:24:02 +02:00
Emilio Cobos Álvarez f3344c9f7b Bug 1425759: Update test expectations. r=smaug,xidorn
This is enough to get the stylo-enabled build green.

There's still some orange in WPT with stylo disabled (due to interfaces not
exposed and that) that I'll update tomorrow.

Will send a different patch on top of this for that, though I'll land together.

MozReview-Commit-ID: CsN5CM93RUz
2018-02-27 12:39:58 +01:00
Peter Van der Beken 6cf0e1c871 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : f6f781b04923f67f60718706a78b3c4de15eca94
2018-02-22 20:22:29 +01:00
Jason Orendorff 325c426c92 Bug 1432682 - Part 1: Remove the hack that causes the bad behavior. r=jimb.
The hack caused bytecode for block declaration instantiation to be assigned the
location of the first statement inside the block. Unfortunately it made the
source view of the debugger client seem out of sync with the Scopes panel: when
paused after hitting a breakpoint on that line or stepping there, the source
panel showed our location as being inside the block, but the Scopes panel did
not show a block scope.

Two server tests required fixes (also r=jimb, in a separate patch in the same
bug).

test_stepping-08.js assumes that stepping into a function stops at the first
statement in the function. This is usually true. However, now we are removing a
hack, such that our actual behavior for this *particular* function is to stop
at the opening curly brace. This causes the test to fail, without anything
really being broken.

The test is intended to test the interaction of stepping and breakpoints, so
the fix that stays truest to the purpose of the test is to change the debuggee
here to a function with no prologue instructions, so that we don't stop at the
opening brace.

test_blackboxing-01.js is a similar story.

--HG--
extra : rebase_source : 7afc6cc039f313889ee08cdd93ce114691efa1e9
extra : histedit_source : dc274b7cefbb96574c8207a78db05d80238d291d
2018-02-26 13:50:29 -06:00
Jason Laster 134c4753f6 Bug 1440093 - Breakpoints at the end of a line are missed. r=jimb 2018-02-22 12:28:00 +02:00
Jason Laster b741bb7d3c Bug 1439711 - Refactor debugger server stepping tests. r=tromey
MozReview-Commit-ID: HkiSr9NCc1A
2018-02-22 12:42:00 +02:00
Michael Ratcliffe 8a388f1428 Bug 1452929 - Fix eslint errors in devtools/server/tests/browser/browser_storage_browser_toolbox_indexeddb.js r=miker
MozReview-Commit-ID: B5hgHqMcKSQ

--HG--
extra : rebase_source : d0e72e001145e23c7449ec3344b7231fbf909301
2018-04-10 13:31:06 +01:00
Mike Ratcliffe 974963ab28 Bug 1448118 - Test for the storage inspector when running inside the browser toolbox r=nchevobbe
MozReview-Commit-ID: DrNrHwYVo8U

--HG--
extra : rebase_source : bcdf014b61ccd66516f420b325a19fbaa0e72ce5
2018-03-23 15:36:08 +00:00
Michael Ratcliffe 7a99d34d6b Bug 1445160 - Enable inspect indexedDBs inside JSMs via Storage Inspector in browser toolbox r=nchevobbe
Fixed added file: and moz-extension: to prefix regex.

MozReview-Commit-ID: JtCgzquybA4

--HG--
extra : rebase_source : 28ca717f96f71a8eb540fa21fe38c7567ddbf675
2018-03-21 16:09:57 +00:00
Andreea Pavel 108954cccc Backed out 2 changesets (bug 1435373) for patch failing to be applied on a CLOSED TREE
Backed out changeset 0ea578dacf23 (bug 1435373)
Backed out changeset c3b0f6497bb7 (bug 1435373)
2018-04-10 04:46:23 +03:00
Razvan Caliman 0292f7ce0b 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 : rebase_source : 85fadc5f52717a61a936ae1f6b9870d7d9a43cdd
extra : source : 8c0b9a89288353152e8409c53bbb41461240c317
2018-02-19 17:51:10 +01:00
Frederik Braun 24e2c2fe9b Bug 1433929 - Use createElement style with DevTools forms. r=jryans
MozReview-Commit-ID: K9RQyYUrdE8

--HG--
extra : rebase_source : a9f93b3924002927667c3d0196f59bac202a8659
2018-02-15 17:06:58 +01:00
Cosmin Sabou 0bc675f657 Backed out 4 changesets (bug 1436187) for mochitest devtools failures at browser_se_editors-error-gutter.js on a CLOSED TREE
Backed out changeset 253f74e28723 (bug 1436187)
Backed out changeset 9875771c9967 (bug 1436187)
Backed out changeset b2d808aa8c2e (bug 1436187)
Backed out changeset e747480f3cd2 (bug 1436187)

--HG--
rename : devtools/client/shared/test/shared-head.js => devtools/client/framework/test/shared-head.js
rename : devtools/client/shared/test/shared-redux-head.js => devtools/client/framework/test/shared-redux-head.js
rename : devtools/client/shared/test/frame-script-utils.js => devtools/client/shared/frame-script-utils.js
2018-03-07 22:04:35 +02:00
J. Ryan Stinnett 5ff93bf9fd Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl

--HG--
rename : devtools/client/framework/test/shared-head.js => devtools/client/shared/test/shared-head.js
rename : devtools/client/framework/test/shared-redux-head.js => devtools/client/shared/test/shared-redux-head.js
extra : rebase_source : 58e35632f0a82b0d7e880b0297306500097676e3
2018-03-02 19:14:05 -06:00
Kris Maglione 219ed0cc06 Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.

MozReview-Commit-ID: IE7B8Czv8DH

--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
extra : rebase_source : 03bca5aa69a7625a49b4455a6c96ce4c59de3a5a
2018-04-18 11:43:45 -07:00
Jan Odvarko d0c350329f Bug 1438482 - logErrorInPage should produce an error log; r=bgrins,jryans
MozReview-Commit-ID: Ly9kDNwGthG

--HG--
extra : rebase_source : e59e9c0fca83215dd834122ec4a38591a67c5b62
2018-02-20 15:48:56 +01:00
J. Ryan Stinnett e7811b0211 Bug 1438696 - Stop Inspector from rebooting on RDM toggle. r=ochameau
Currently, if you open the Inspector on some page, then enter RDM, the Inspector
will "reboot" (reload all panels) because it believes the document has reloaded.

However, it's not really true in this case.  Instead, it's an artifact of the
pagehide / pageshow events that are triggered when swapping frames like RDM
does.  Bug 1438697 adds a chrome-only property that we then use here to
distinguish this case.

MozReview-Commit-ID: Ks42QayVnij

--HG--
extra : rebase_source : 91739a5db2774073e723b1daf43bc5242755fc43
2018-02-16 15:02:24 -06:00
Dorel Luca 07d2af4219 Merge mozilla-inbound to mozilla-central. a=merge 2018-02-17 11:55:38 +02:00
Jason Laster 8d97ab038d Bug 1436151 - Breakpoints at the beginning of a line are missed. r=jimb 2018-02-16 16:24:08 -05:00
J. Ryan Stinnett 9f3541ff3f Bug 1439000 - Remove *-actor suffix from inspector actors. r=jdescottes
MozReview-Commit-ID: 9iOMZjmm9LR

--HG--
rename : devtools/server/actors/inspector/inspector-actor.js => devtools/server/actors/inspector/inspector.js
rename : devtools/server/actors/inspector/node-actor.js => devtools/server/actors/inspector/node.js
rename : devtools/server/actors/inspector/walker-actor.js => devtools/server/actors/inspector/walker.js
extra : rebase_source : 60d989ae565130c6182fadeb641ea064181e57e0
2018-02-16 15:47:32 -06:00
Narcis Beleuzu eeb962c7c9 Backed out changeset a8aa7e2af130 (bug 1436151) for xpcshell failures on /test_setBreakpoint-at-the-beginning-of-a-line.js. a=backout 2018-02-16 13:08:04 +02:00
Narcis Beleuzu 2d9816273c Merge inbound to mozilla-central. a=merge 2018-02-16 11:49:59 +02:00
Mark Banner 21e6e270a4 Bug 1438489 - Enable ESLint rule mozilla/use-services for devtools/. r=jdescottes
MozReview-Commit-ID: FZscEA6Q3Kb

--HG--
extra : rebase_source : b1b8699288a3595e52bcff3c7684bfe095f41dd1
2018-02-15 12:00:17 +00:00
Jason Laster 2e8b477080 Bug 1436151 - Breakpoints at the beginning of a line are missed. r=jimb
--HG--
extra : rebase_source : 247b33c30e746b81edc78a8e3bdcb99ae97f598e
2018-02-14 12:02:00 +02:00
Brian Birtles 22309e3203 Bug 1436659 - Use updatePlaybackRate in DevTools; r=daisuke
updatePlaybackRate provides a smoother update than setting playbackRate
directly.

MozReview-Commit-ID: 7AbJYuDADvg

--HG--
extra : rebase_source : cd9d23cec67ad9a1b523c8172f5d22eec9efbbaa
2018-02-13 15:04:18 +09:00
Dorel Luca dabf7b41ee Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 021950f3661e3b1d96e768155c5754b7af039f84
2018-02-15 00:35:45 +02:00
Gurzau Raul c550afcd80 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-14 12:49:32 +02:00
Noemi Erli 7699947685 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-13 11:52:53 +02:00
Yura Zenevich b796f50892 Bug 1428431 - added accessible highlighter classes for content and chrome docs. r=pbro
MozReview-Commit-ID: JeBMoiCvENV
2018-02-12 22:33:37 -05:00
J. Ryan Stinnett a17e3637e6 Bug 1430919 - Enable grid highlighter writing mode support. r=gl
As well as flipping the pref on, this also moves the pref to the common all.js
prefs file because the pref is used by DevTools server code.

MozReview-Commit-ID: GfkLfXg1EiR

--HG--
extra : rebase_source : 952dcc4bce3f9f2ae598a98be3b63a70ba4068b2
2018-02-12 12:49:22 -06:00
Ciure Andrei 72080bd73c Merge inbound to mozilla-central. a=merge 2018-02-13 00:08:37 +02:00
Tom Ritter c4edd2fe5c Bug 1435296 Address xpcshell test failures from increasing timer precision r=baku
See the comment on "Address test failures caused by bumping timer precision to 2 ms"
for more details.

MozReview-Commit-ID: LrsucEPdZIo

--HG--
extra : rebase_source : 8147c034f7dc93f678eebc80b0afabf55729d804
2018-02-12 11:41:38 -06:00
Tom Ritter aa82f54ab6 Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku
There are a few different reasons why tests needed updating (not an exhaustive list):

- Tests assume that successive operations take place at different times.
- Tests assume that an operation took a minimum amount of time.
- Tests hardcodes a specific delay.

In most cases we hardcode the preference off. In some cases this is the best approach,
in others, we would like to improve. The bug for tracking those improvements is Bug 1429648

An improvement that is present in some tests is to hardcode a specific precision reduction
that is acceptable based on the confides of the test. (Obviously this needs to be a fix for
the test framework and not a requirement on the feature being tested.)

In a few places, the test itself can be fixed, for example to no longer require the end
time of an operation to be strictly greater than the start time, and allows it to be equal
to it.

MozReview-Commit-ID: J59c7xQtZZJ

--HG--
extra : rebase_source : df8a03e76eaf9cdc9524dbb3eb9035af237e534b
2018-02-12 11:39:41 -06:00
Coroiu Cristina 0038490a71 Backed out changeset 42deb2563aa8 (bug 1426467) for ESlint failure at /devtools/server/tests/mochitest/suspendTimeouts_content.js on a CLOSED TREE 2018-02-12 18:14:49 +02:00
Jim Blandy d4700814c9 Bug 1426467: Re-enqueue messages from workers when debugger pause ends; don't run them immediately. r=bkelly
MozReview-Commit-ID: 1Yyjqz5S6tZ

--HG--
extra : rebase_source : 4f54bd6a6a3385ba4e424ac5ffe4354db4592b45
2018-01-18 11:49:34 -08:00
Zhenghong Qian 3b10fc3980 Bug 1432029 - Highlight the justify-content area in the flexbox highlighter. r=gl 2018-02-10 17:51:43 -05:00
Sebastian Hengst f5e840425b merge mozilla-inbound to mozilla-central. a=merge 2018-02-10 00:26:50 +02:00
Boris Zbarsky 55a170b415 Bug 1436508 part 15. Remove nsIDOMTransitionEvent. r=masayuki
MozReview-Commit-ID: EWWqk9HAwqp
2018-02-09 11:17:10 -05:00
Boris Zbarsky fce30e834b Bug 1436508 part 10. Remove use of nsIDOMKeyEvent in JS. r=masayuki
MozReview-Commit-ID: GGciORX62Yh
2018-02-09 11:17:09 -05:00
Boris Zbarsky 05de0574d2 Bug 1436508 part 1. Remove nsIDOMAnimationEvent. r=masayuki
MozReview-Commit-ID: GRZzt1xGGDc
2018-02-09 11:17:08 -05:00
Csoregi Natalia fca056426a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-09 18:54:37 +02:00
Csoregi Natalia 7f21ecd2bf Backed out 4 changesets (bug 1435296) for for failing devtools' browser_webconsole_check_stubs_console_api.js and mochitest's dom/smil/test/test_smilTimeEvents.xhtml. CLOSED TREE
Backed out changeset 1f07c08daa41 (bug 1435296)
Backed out changeset 89c121b45b30 (bug 1435296)
Backed out changeset be9496eff7b8 (bug 1435296)
Backed out changeset 2f94f155318e (bug 1435296)
2018-02-09 17:20:53 +02:00
Tom Ritter fa5021da77 Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku
This affects several tests, and in all but one case merely disables timer precision
reduction on those tests.

In the other singular test, it no longer requires the end time of an operation to
be strictly greater than the start time, and allows it to be equal to it.

MozReview-Commit-ID: J59c7xQtZZJ

--HG--
extra : rebase_source : c82310ce0269798a9c5bfffaec1f63a24ddc98e5
2018-02-06 15:11:56 -06:00
arthur.iakab 4139c1f914 Backed out 14 changesets (bug 1436659) for Eslint failures on devtools/server/actors/animation.js:876:12 on a CLOSED TREE
Backed out changeset a2890507d13a (bug 1436659)
Backed out changeset c653d7a1b3ef (bug 1436659)
Backed out changeset 4ae911f19aee (bug 1436659)
Backed out changeset e9381081ab6a (bug 1436659)
Backed out changeset 7301bfeeb65c (bug 1436659)
Backed out changeset 607dccfa8387 (bug 1436659)
Backed out changeset 8f61bf3de90a (bug 1436659)
Backed out changeset 920aa51ae3a2 (bug 1436659)
Backed out changeset bfa0d1a4bf1c (bug 1436659)
Backed out changeset 467dd218d3d3 (bug 1436659)
Backed out changeset 737ff1676ff0 (bug 1436659)
Backed out changeset 071666b6c7e9 (bug 1436659)
Backed out changeset c2932cd4839f (bug 1436659)
Backed out changeset a9777027b7ad (bug 1436659)

--HG--
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-playback-rate-of-an-animation.html => testing/web-platform/tests/web-animations/interfaces/Animation/playbackRate.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/the-current-time-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/current-time.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-start-time-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/set-the-animation-start-time.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-target-effect-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/set-the-target-effect-of-an-animation.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-timeline-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/set-the-timeline-of-an-animation.html
2018-02-14 22:40:07 +02:00
Razvan Caliman 9ba28cabad Bug 1435368 - Implement precision when rounding polygon coordinates on Shapes editor. r=gl,pbro
--HG--
extra : rebase_source : 6103596ed117bb34c97aa6e0713deff56ae7342b
2018-02-06 11:35:55 -05:00
Brian Birtles e923bbfcff Bug 1436659 - Use updatePlaybackRate in DevTools; r=daisuke
updatePlaybackRate provides a smoother update than setting playbackRate
directly.

MozReview-Commit-ID: 7AbJYuDADvg

--HG--
extra : rebase_source : 94125d751e73f82ecb973738d26f547405518d8b
2018-02-13 15:04:18 +09:00
Alexandre Poirot 793ced87e6 Bug 1436978 - Stop using Promise.jsm in devtools/server in favor of DOM Promises. r=jdescottes
MozReview-Commit-ID: Hv7uYZKZGIO

--HG--
extra : rebase_source : 95455a3c13b608d96f9a1f3c4a3071c04c7480f8
2018-02-13 02:31:14 -08:00
Gabriel Luong 9f8c11489e Bug 1432599 - Part 2: Display the current flex container element in the flexbox panel and allow for toggling of the flexbox highlighter. r=pbro 2018-02-07 15:57:46 -05:00
Alexandre Poirot e563788ea7 Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
MozReview-Commit-ID: 7YyLu5q23Hs

--HG--
extra : rebase_source : bb2805652c85d74a3e888326f4afa4b6857afa64
2018-02-07 01:37:36 -08:00
Alexandre Poirot 30e8a847a0 Bug 1434374 - Replace usages of Cu.import in modules (where ChromeUtils isn't defined) r=jdescottes
MozReview-Commit-ID: 8kw2H4R2VIZ

--HG--
extra : rebase_source : 7e870c31249a28dc97069c61ac73687e6ad1d98b
2018-02-05 08:43:50 -08:00
Ciure Andrei 8dd2a49ca4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-08 00:33:37 +02:00
Ciure Andrei ddcf44b20a Backed out changeset a4ae1745e9d4 (bug 1432599) for mochitest devtools failures, a=backout on a CLOSED TREE 2018-02-08 00:24:44 +02:00
Alexandre Poirot c1196409cb Bug 1435791 - Remove WebIDE monitor panel. r=jdescottes
MozReview-Commit-ID: 4Oz62CXGt0S

--HG--
extra : rebase_source : 84269b1282c822e21747a7196d0fa8482418aaa4
2018-02-06 01:05:59 -08:00
Gabriel Luong a2a3d02cd4 Bug 1432599 - Part 2: Display the current flex container element in the flexbox panel and allow for toggling of the flexbox highlighter. r=pbro 2018-02-07 15:57:46 -05:00
Gabriel Luong 756195eb25 Bug 1431900 - Add a display node to indicate the display value of an element in the markup view. r=pbro 2018-02-06 23:50:56 -05:00
Dorel Luca 890eb016d9 Merge mozilla-central to autoland. r=merge
--HG--
extra : rebase_source : f28e015c1411d7185cd69a272fea28620af062d9
2018-02-07 12:18:35 +02:00
Coroiu Cristina 1ecbdba719 Backed out 2 changesets (bug 1435791) for bustage at /tests/test_mozbuild_reading.py on a CLOSED TREE
Backed out changeset 88c8ba0ee51d (bug 1435791)
Backed out changeset 3d7cea225c57 (bug 1435791)
2018-02-07 12:04:33 +02:00
Gurzau Raul 772c8edfef Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-07 02:29:42 +02:00
Alexandre Poirot dc9ab39924 Bug 1435791 - Remove WebIDE monitor panel. r=jdescottes
MozReview-Commit-ID: 4Oz62CXGt0S

--HG--
extra : rebase_source : 9d4a66356f4da9d76b9579b803e6d4259f1db962
2018-02-06 01:05:59 -08:00
Cameron McCormack 234b89c117 Bug 1435666 - Part 3: Remove nsIDOMXPathResult. r=bz
MozReview-Commit-ID: 9j6dUlanNTi

--HG--
extra : rebase_source : 9a790516379441d4e048009bcacdd26e93fde6ae
2018-02-05 11:39:18 +08:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Jason Laster f805944739 Bug 1435187 - Refactor the script actor. r=jdescottes
- Extract paused scoped objects.
 - Extract event loop stack. r=jdescottes
 - Extract actor stores. r=jdescottes
 - Move script.js to actor.js. r=jdescottes

--HG--
rename : devtools/server/actors/script.js => devtools/server/actors/thread.js
2018-02-02 10:57:00 +02:00
Jason Orendorff cfd968f58d Bug 1431202 - Part 2: Fix weird debugger stepping behavior with nested functions. r=nbp, r=jlast.
FunctionDeclarations are instantiated when we enter a scope, before any of the
code in that block/script/function is evaluated. The spec calls this phase
"declaration instantiation"; sometimes it's informally called "hoisting".

Before this patch, stepping would show this. You would step into a function,
and hitting the Step Over button a few times would visit all the nested functions
in that function. Then you would jump back to the top of the outer function and
actually start running the statements. This is so confusing that we are
changing it; now opcodes that instantiate functions don't have location
information, so stepping doesn't stop on those opcodes.

--HG--
extra : rebase_source : d8de1fc50573b82bf76dc7464355bfba068eaa30
extra : source : b94db3c0c2c0752915e2f4401269a0d24cbef882
2018-02-06 10:58:03 -06:00
J. Ryan Stinnett c8aee8f9ba Bug 1430916 - Rotate grid line numbers for writing mode. r=pbro
Adjust grid highlighter line numbers to rotate to the expected position outside
the grid container even in the presence of writing mode and text direction.

This is also refactors and preserves the recently added behavior to flip line
numbers inside the container if they are near the viewport edge.

MozReview-Commit-ID: 4zFjJY4Iqdz

--HG--
extra : rebase_source : 131af55ca55c7ae7b3c42fbd6b77f68236259009
2018-01-30 23:31:42 -05:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Cosmin Sabou 7092b51729 Merge mozilla-central to autoland. a=merge on CLOSED TREE 2018-02-01 01:19:48 +02:00
Cosmin Sabou cbddf62d14 Merge inbound to mozilla-central. a=merge 2018-02-01 01:14:44 +02:00
Boris Zbarsky 2c472fbf65 Bug 1434399 part 12. Remove JS uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: HUK8ahBwG0e
2018-01-31 14:49:28 -05:00
Cosmin Sabou 94617f91cf Backed out 19 changesets (bug 1434399) for build bustages on nsXULPopupManager.cpp on a CLOSED TREE
Backed out changeset 499f6dffd9cb (bug 1434399)
Backed out changeset 018290612415 (bug 1434399)
Backed out changeset f4c3179f8e59 (bug 1434399)
Backed out changeset f3ce2826b857 (bug 1434399)
Backed out changeset 6d2391af01dd (bug 1434399)
Backed out changeset dc98ed8c609a (bug 1434399)
Backed out changeset 8eaa395d6200 (bug 1434399)
Backed out changeset 19b18f4a53be (bug 1434399)
Backed out changeset 8ff378a6e96a (bug 1434399)
Backed out changeset 60fe73be1a26 (bug 1434399)
Backed out changeset faefb2751fdc (bug 1434399)
Backed out changeset 55cdf8b3a959 (bug 1434399)
Backed out changeset b578cc8efb92 (bug 1434399)
Backed out changeset 54cc4cb2fca1 (bug 1434399)
Backed out changeset f5343ef34d6c (bug 1434399)
Backed out changeset 8fb30e066cbd (bug 1434399)
Backed out changeset 21341b656b0f (bug 1434399)
Backed out changeset fab1f8b087a2 (bug 1434399)
Backed out changeset 55250a54852a (bug 1434399)
2018-01-31 22:45:26 +02:00
Boris Zbarsky 05b8447eb6 Bug 1434399 part 12. Remove JS uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: HUK8ahBwG0e
2018-01-31 14:49:28 -05:00
Alexandre Poirot a23ef8c95c Bug 1426906 - Fix intermittent leak from test_websocket-server.html. r=jryans
MozReview-Commit-ID: HlPgPjCnA1q

--HG--
extra : rebase_source : 9201d146e757411e8cc6d795136ea0227eb75439
2018-01-30 07:10:26 -08:00
Alexandre Poirot a273cd43a5 Bug 1432803 - Prevent using timeline actor to get DOMContentLoaded and load timings. r=Honza
MozReview-Commit-ID: Kkn36gDFTKN

--HG--
extra : rebase_source : e52861432f5651b864cada0c70568d504d883c6c
2018-01-24 08:48:26 -08:00
Julian Descottes 7cb0ab74fe Bug 1434217 - remove walker actor methods deprecated in FF29;r=bgrins
MozReview-Commit-ID: 6ZxGTFNvOj4

--HG--
extra : rebase_source : 3dfdb2e40c95b0eb093f95cf4957343b4a993129
2018-01-30 11:58:30 +01:00
Julian Descottes 6683646ba1 Bug 1434217 - Remove unused inspector actor traits;r=bgrins
Inspector actor traits were used for backward compatibility, with
versions of Firefox older than 45. Our policy is to support servers
up to the last ESR version, which is 52 at the moment so these
should be safe to remove.

MozReview-Commit-ID: 6MwUp8vbW29

--HG--
extra : rebase_source : b36799130e66e4abdaee628d48ad1b056bc1afcd
2018-01-30 10:49:24 +01:00
Sebastian Hengst 732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Boris Zbarsky b9771573b3 Bug 1418085 part 4. Stop using nsIDOMHTMLElement in JS code. r=mystor
MozReview-Commit-ID: GsSnXNXGrHg
2018-01-30 00:25:36 -05:00
Boris Zbarsky 5d7b053f45 Bug 1418076 part 10. Get rid of JS uses of Ci.nsIDOMHTMLDocument. r=mystor
MozReview-Commit-ID: IT2OEbCODTX
2018-01-26 01:01:38 -05:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Julian Descottes 27a469d6a8 Bug 1102240 - rename actors/inspector/inspector.js to inspector-actor.js;r=pbro
MozReview-Commit-ID: dfzTyhZXez

--HG--
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/inspector-actor.js
extra : rebase_source : d316a0490cc68ac3ad342af5fbcb64f24f8d01dd
2018-01-26 13:15:06 +01:00
Julian Descottes 8cca58077e Bug 1102240 - split inspector actor in smaller files;r=ochameau,pbro
MozReview-Commit-ID: LgZav4dMQRR

--HG--
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/document-walker.js
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/node-actor.js
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/utils.js
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/walker-actor.js
extra : rebase_source : b57466d2e2dfb6f332dec3a38a03b12506eb4a30
2018-01-26 13:11:58 +01:00
Julian Descottes 8eb0574c63 Bug 1102240 - Move inspector actor to dedicated folder;r=pbro
MozReview-Commit-ID: LNgHweYJXcB

--HG--
rename : devtools/server/actors/inspector.js => devtools/server/actors/inspector/inspector.js
extra : rebase_source : 5f35db40dda61e7e476fae1153f10b3d580a6929
2018-01-26 11:49:48 +01:00
Patrick Brosset a8606678b7 Bug 1424880 - Size the font for grid area names after the smallest dimension; r=gl
MozReview-Commit-ID: 7dWo8Fw6gwf

--HG--
extra : rebase_source : 6515bc23c1b4e80399ad5564aee525f76a3afc4d
2018-01-28 16:40:32 +01:00
Julian Descottes 226dd89197 Bug 1272774 - rename actor/childtab.js to actor/content.js to match ContentActor;r=ochameau
MozReview-Commit-ID: BJ8zjFeiZPD

--HG--
rename : devtools/server/actors/childtab.js => devtools/server/actors/content.js
extra : rebase_source : 27d016532666641adf1c20f639c9521636324f53
2018-01-05 10:11:04 +01:00
Julian Descottes 4c806e5378 Bug 1272774 - remove irrelevant cleanup comment;r=ochameau
MozReview-Commit-ID: KsULTBH9bGL

--HG--
extra : rebase_source : 46cabf890de277e28a33af9df709e547bd36bdb1
2018-01-05 10:06:58 +01:00
Julian Descottes a649bddbb2 Bug 1272774 - remove unused update() method on tab actor;r=ochameau
MozReview-Commit-ID: FdrEAsIBsvj

--HG--
extra : rebase_source : 0e2166305f42b2487ce7558490a473eb9adec443
2018-01-05 09:57:03 +01:00
Julian Descottes 1d94b51b97 Bug 1272774 - allow listTabs to return favicon data from PlacesUtils;r=ochameau
MozReview-Commit-ID: 8bkn3mG6YkL

--HG--
extra : rebase_source : 9f514f1adbc4e79022c8c18c5195d3e1d1298062
2018-01-04 17:25:45 +01:00
Julian Descottes f714f056d0 Bug 1272774 - migrate all listTabs() callers to use promise;r=ochameau
MozReview-Commit-ID: 9PtRZHG5GuF

--HG--
extra : rebase_source : f4c7cfd5f8338eb22fa44dc79a1e8b7840dc4e2d
2018-01-15 18:38:34 +01:00
Luca Greco af1538b456 Bug 1403130 - Support result as value grip on WebExtension InspectorWindow actor eval method. r=ochameau
MozReview-Commit-ID: Efxhsm4bApu

--HG--
extra : rebase_source : 3c5b4ff02858b03c878a24089354914f557d4e9a
2017-10-11 15:06:27 +02:00
Brian Grinstead 2b9ff4e762 Bug 1432851 - Remove IsInFeedSubscribeLine assertion when loading xul.css in BindToTree;r=bz
The feedreaderUI binding was removed in Bug 1109714, so there's no need for this anymore.

MozReview-Commit-ID: G38fuS0zqOQ

--HG--
extra : rebase_source : f16b102fff01a5d61495687773d2c275f5007634
2018-01-24 09:33:54 -08:00
Shuoyi Ma 17e44403a2 Bug 1432033 - Change the line dashes for the flexbox container. r=gl 2018-01-24 09:47:20 -05:00
Andrew McCreight 9ae6a7f57d Bug 1432578 - Remove B2G shared global isms from server/main.js. r=jryans
B2G used to do shared globals in a weird way which required this, but
that is no longer used.

MozReview-Commit-ID: 9NTQS1NCVtu

--HG--
extra : rebase_source : 000e544a4486fc96b8467be6adc0c22833a14eab
2018-01-23 10:38:40 -08:00
Andreea Pavel 41add5ae12 Backed out changeset 5bd1a3505e22 (bug 1432578) for failing ESlint at /builds/worker/checkouts/gecko/testing/xpcshell/dbg-actors.js on a CLOSED TREE 2018-01-24 00:33:07 +02:00
Andrew McCreight 0c8b131e24 Bug 1432578 - Remove B2G shared global isms from server/main.js. r=jryans
B2G used to do shared globals in a weird way which required this, but
that is no longer used.

MozReview-Commit-ID: 9NTQS1NCVtu

--HG--
extra : rebase_source : e9160920f965c6e37157e99a021f25662f68ec75
2018-01-23 10:38:40 -08:00
J. Ryan Stinnett bc3b52e35a Bug 1430918 - Rotate grid outline for writing mode. r=gl
Adjust the grid outline in the Inspector's Layout panel as needed to match the
writing mode and text direction of the grid container.

MozReview-Commit-ID: Ggcp1e4ZipE

--HG--
extra : rebase_source : e9acadc8837ad3c05c038a2156272c9eff8c7330
2018-02-10 22:03:12 -06:00
Julian Descottes 46f8ae7efd Bug 1431758 - do not use netmonitor data to fetch stylesheets over 1MB;r=jryans
MozReview-Commit-ID: Gz6dRLiLREm

--HG--
extra : rebase_source : dc25347c977b7890231b7434622d171d217f7bc6
2018-01-20 00:24:41 +01:00
Narcis Beleuzu e449275782 Backed out changeset 41262016e149 (bug 1431758) for build bustage. on a CLOSED TREE 2018-01-22 18:42:13 +02:00
Julian Descottes 4fa078bd65 Bug 1431758 - do not use netmonitor data to fetch stylesheets over 1MB;r=jryans
MozReview-Commit-ID: Gz6dRLiLREm

--HG--
extra : rebase_source : 74d73ecd50cc1e56a66c6e45d43b1ca48f136cf2
2018-01-20 00:24:41 +01:00
Boris Zbarsky e338b5f525 Bug 1431964 part 9. Stop using nsIDOMAttr in JS. r=mccr8
MozReview-Commit-ID: 59TspEgvNRF
2018-01-21 12:07:31 -05:00
Boris Zbarsky e38dec29f4 Bug 1431964 part 8. Remove nsIDOMMozNamedAttrMap. r=mccr8
MozReview-Commit-ID: C7z0hcjC0Tg
2018-01-20 20:57:26 -05:00
Zhenghong Qian 1772747906 Bug 1431947 - Remove the edge around the flex basis highlight. r=gl
MozReview-Commit-ID: EnMtsAganyG
2018-01-20 15:18:30 -05:00
Zhenghong Qian 725baa56d3 Bug 1431941 - Highlight flex-basis in the flexbox highlighter. r=gl 2018-01-20 14:27:39 -05:00
Shuoyi Ma 2f3a366c07 Bug 1431841 - Show the flex lines in the flexbox highlighter. r=gl 2018-01-20 14:12:16 -05:00
Tooru Fujisawa 69535b850f Bug 1430383 - Wait for the next event tick after load event in devtools/server/tests/browser/browser_canvasframe_helper_04.js r=pbro 2018-01-20 20:40:11 +09:00