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

1692 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 7fdc2c153f Bug 1454696 - Fix leftover issues for prefer-const;r=yulia
MozReview-Commit-ID: JwOXoqw2mks

--HG--
extra : rebase_source : a3f07665a42c2779a85b7901a07206266a9d1616
extra : source : ae946f375e0d0f4f0f0fc859c54040fef42cbc2c
2018-06-01 12:19:35 +02:00
Julian Descottes 640fe52298 Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4

--HG--
extra : rebase_source : 65de1b0aba412d9044b5196115f74276caa058f2
2018-06-01 12:36:09 +02:00
Yura Zenevich 612dd9593d Bug 1441187 - throttle children() operation on a11y walker. r=pbro
MozReview-Commit-ID: 9G0t68EZZRo
2018-05-31 10:42:49 -04:00
arthur.iakab 2649bf8a95 Merge mozilla-central to autoland 2018-05-31 01:07:47 +03:00
arthur.iakab fb18cb09bd Merge mozilla inbound to central a=merge 2018-05-31 01:05:10 +03:00
Whitney Meulink 91000630c9 Bug 1451353 - Changed move to hoverCursor to allow the hover animation to go from grab to grabbing since move does not exist in Linux. r=rcaliman.
MozReview-Commit-ID: 7e2VzfCETD3

--HG--
extra : rebase_source : 8bc61a9260d34d708c42a9937ec81f158c4b5cc0
2018-05-29 11:48:28 -07:00
Alexandre Poirot dabb99acfc Bug 1449162 - Type everything to json and manually manage and marshall. r=jryans
MozReview-Commit-ID: JOM60IW9g6e

--HG--
extra : rebase_source : 235490d6340ad6cee2b523086a356351500276d6
2018-05-09 07:20:51 -07:00
Alexandre Poirot c0b5dc9f10 Bug 1449162 - Attach longstrings to NetworkEventActor directly instead of WebConsoleActor. r=jryans
Now that NetworkEventActor uses protocol.js, it can manage child actors it uses.
So instead of hosting the longstring it creates into WebConsoleActor pool,
it can register them it internal pool managed by protocol.js.

MozReview-Commit-ID: 9ekezmqWnME

--HG--
extra : rebase_source : a8888cffb4f284caa08e615f2614dc59730e080b
2018-03-29 02:28:16 -07:00
Alexandre Poirot 3e4f25c18e Bug 1449162 - Refactor the NetworkEventActor to use protocol.js. r=jryans
MozReview-Commit-ID: 7HW8sO9dMuD

--HG--
extra : rebase_source : 488c916c35b2352085a22a70ace76dbff8c8d95f
2018-03-27 06:33:11 -07:00
Boris Zbarsky fef0aa2027 Bug 1455676 part 17. Stop using nsIDOMNode in devtools/. r=jdescottes 2018-05-29 22:58:50 -04:00
Noemi Erli 846f00f83f Merge inbound to mozilla-central. a=merge 2018-05-30 00:41:41 +03:00
Boris Zbarsky 16e02a5e28 Bug 1460735 part 1. Remove use of nsIDOMDocument in JS. r=qdot
There are some places where we have a thing which may not even be a node, and
we end up hardcoding the value of DOCUMENT_NODE there, because
"foo.nodeType == foo.DOCUMENT_NODE" will test true if foo is not a node: both
sides will be undefined.
2018-05-29 13:39:00 -04:00
Daisuke Akatsuka 657e9473d3 Bug 1464396 - Part 1: Hold all animation's created time. r=pbro
For now, we had taken over the createdTime to new actor from previous actor.
However, if the selected node changed, can not take over that. To resolve this,
hold all animation's createdTime.

MozReview-Commit-ID: 5UcwGaWkcNg

--HG--
extra : rebase_source : e68a4cd9607b2e881e10f3ccfd5441afcd4b0245
2018-05-29 10:09:35 +09:00
Michael Ratcliffe 801fc7686e Bug 1449232 - Sort listeners by event name in the listener list r=pbro
The only real change is the sorting inside `devtools/server/actors/inspector/node.js`. The rest is just shuffling tests around to handle the sorted listeners.

MozReview-Commit-ID: 8ql1bRbr4Pl

--HG--
extra : rebase_source : 08b9493d36be667b20dc2d7fc0fb2bcafd94ef79
2018-05-25 16:03:13 +01:00
Belén Albeza 89264089dc Bug 1450067 - Show last update timestamp for a sw. r=nchevobbe
MozReview-Commit-ID: rul88NKcHZ

--HG--
extra : rebase_source : 27a82b144b9e10b4b2ad315558a3f2a103fd3701
2018-05-24 12:04:54 +02:00
Jason Laster 167fb861fd Bug 1455750 - Provide method for server to skip pausing. r=jimb 2018-05-24 16:57:08 -04:00
Xidorn Quan cfe970a04f Bug 1463408 part 2 - Add profiler feature seqstyle for forcing sequential styling when profiling. r=emilio,mstange
MozReview-Commit-ID: 6fm8j7z1EbJ

--HG--
extra : rebase_source : 1715b6af2c72323f320ff3da8e46d1634f5f7367
2018-05-23 19:35:03 +10:00
Emilio Cobos Álvarez aa934dea20 Bug 1465107: Remove isStyledByServo. r=xidorn
MozReview-Commit-ID: 8HWBH9kWyxV
2018-05-30 10:04:18 +02:00
Dorel Luca dbe91ea7b6 Merge mozilla-central to autoland 2018-05-23 13:03:24 +03:00
Patrick Brosset 989d6b51f0 Bug 1441465 - Measure window dimensions on grid/flex highlighter updates when the canvas is hidden; r=gl
MozReview-Commit-ID: GW35e9s3rLy

--HG--
extra : rebase_source : ab90cea14e9c86a5b293795398529261d1cdd66c
2018-05-22 15:21:33 +02:00
Csoregi Natalia acd92af57e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-23 01:02:30 +03:00
Gabriel Luong a380a7dd1b Bug 1348643 - The size of the grid line numbers should be consistent across display zoom. r=pbro 2018-05-22 10:34:34 -04:00
Yura Zenevich 0cff8610fb Bug 1461912 - do not clear accessible actors cache when document becomes non-busy. r=pbro
MozReview-Commit-ID: 9DwTcF3w4Eo
2018-05-22 09:49:58 -04:00
Daisuke Akatsuka 8b4f7c9040 Bug 1450526 - Part 2: Change the target node of animation on pseudo element in the actor to proper node. r=pbro
In this patch fix not only new animation inspector, but also previous one.

MozReview-Commit-ID: KYdaUXXea70

--HG--
extra : rebase_source : f5a240572a0e7655d3c253c07a28e5fa56fccb9c
2018-05-21 18:40:43 +09:00
Daisuke Akatsuka ede0ca4cda Bug 1454392 - Part 3: Change the scrubber to createdTime base. r=pbro
MozReview-Commit-ID: 1aEZeOjtVxz

--HG--
extra : rebase_source : 8949819a5864bd2789d6c54008d5b89abafa03cc
2018-05-21 18:33:05 +09:00
Daisuke Akatsuka b73cdf42d1 Bug 1454392 - Part 1: Introduce createdTime variable which holds time that animation created. r=pbro
MozReview-Commit-ID: bM2cZdPAYp

--HG--
extra : rebase_source : 3fdb4a7833da257a1c81b6c7ee49bf0b5bf20abc
2018-05-21 18:30:23 +09:00
Greg Tatum a95f839180 Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
MozReview-Commit-ID: KTJRvQzUwsf

--HG--
extra : rebase_source : bac38dc65bf074f31b2e25f80620a6baa4c7e14d
2018-03-28 15:28:54 -05:00
Daisuke Akatsuka dca5df078c Bug 1456857 - Part 1: Pause/Play animations respectively. r=birtles,pbro
MozReview-Commit-ID: LNf65lh9ZqK

--HG--
extra : rebase_source : e891c6357e7090cd68f34fe0079164f9577f60d7
2018-05-22 17:09:01 +09:00
Xidorn Quan a30c810b7b Bug 1460456 followup - Add the new properties into animation-type-longhand on a CLOSED TREE.
--HG--
extra : amend_source : 9e7dded5da8708dd357b33dca1509c1ad2c1cb66
2018-05-22 23:28:08 +10:00
Brindusan Cristian e636fe322a Backed out changeset 35089098baf8 (bug 1447338) for mochitest chrome failures on test_perf-settings-features.html CLOSED TREE 2018-05-17 19:48:34 +03:00
yulia 61f0eee6f3 Bug 1450960 - Convert AddonConsoleActor to protocol.js; r=ochameau
MozReview-Commit-ID: I3JE1xDQv97

--HG--
extra : rebase_source : fab1a052ec47ca84c34cc3682aa27b6ec7a6626e
2018-05-09 13:07:12 +02:00
yulia d5dba582a7 Bug 1450960 - split AddonConsole into its own file; r=ochameau
MozReview-Commit-ID: GaC5tvSwb9

--HG--
extra : rebase_source : 23fcd2ccce2bb8f8e36f198bee6fac82e1b94738
2018-05-08 14:46:36 +02:00
Greg Tatum e642a3ee41 Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
MozReview-Commit-ID: KTJRvQzUwsf

--HG--
extra : rebase_source : 8692309978447fcccb2b6463c15fccda23cd3069
2018-03-28 15:28:54 -05:00
Razvan Caliman 80615b486b Bug 1462003 - Remove enhancement for clearing cursor because it prevents deleting polygon points. r=rcaliman
MozReview-Commit-ID: CFBlbltxkel

--HG--
extra : rebase_source : 419bd87070b3168493df2f7db136fc960e3bee53
2018-05-17 14:03:26 +02:00
Ciure Andrei 08c017397c Backed out changeset 134bf057ca61 (bug 1447338) for Android build bustages on builds/worker/workspace/build/src/tools/profiler/core/platform.cpp a=backout CLOSED TREE 2018-05-17 01:54:07 +03:00
Greg Tatum c4476e700c Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
MozReview-Commit-ID: KTJRvQzUwsf

--HG--
extra : rebase_source : ca818e1d7c46b1e4495445f55525e2deb0d7939f
2018-03-28 15:28:54 -05:00
Jim Chen 5a3facd174 Bug 1461746 - 5. Return null from getGlobalDebugObject for promises.js object grips; r=nchevobbe
GeckoView Java tests will be using the promises actor for waiting on JS
promises to settle during a test. However, when examining object grips
that the promises actor returns, devtools often throws an exception due
to getGlobalDebugObject being called on the grip [1]. This patch makes
it return null to avoid the exception.

[1] https://dxr.mozilla.org/mozilla-central/rev/45ec8fd380dd2c308e79dbb396ca87f2ce9b3f9c/devtools/server/actors/promises.js#129

MozReview-Commit-ID: C1nFgNdQn14

--HG--
extra : rebase_source : b854ec32dea179eeafea3979e026ca3dc81754d3
2018-05-15 13:15:13 -04:00
Alexandre Poirot a7b22a5063 Bug 1460228 - Move NetworkEventActor to its own module. r=jryans
MozReview-Commit-ID: B2d0bRoyvVF

--HG--
extra : rebase_source : f5fb904e85b069ba0aefda95bdb74ab2357474ce
2018-03-27 06:37:06 -07:00
Patrick Brosset d8099444ec Bug 1460223 - Handle computedStyle.display failures for non-elements; r=gl
MozReview-Commit-ID: 9raK8Tkl4GI

--HG--
extra : rebase_source : dcb54a616ea0a00a4c2dcb6f9c29dcf557eeebde
2018-05-15 10:20:03 +02:00
Emilio Cobos Álvarez b293adf1cf Bug 1459871: Remove other getPropertyCSSValue-related interfaces. r=bz
I can land the removal behind a pref first if you want and all that instead.

Again, this doesn't remove the internal usage for getComputedStyle (yet).

MozReview-Commit-ID: LA157ohfLhu
2018-05-15 14:05:13 +02:00
Jim Chen 22575e701d Bug 1459299 - 3. Clear parent process ChromeActor on window closing; r=jryans
To represent the parent process, we use a ChromeActor/TabActor that
targets a random chrome window. However, if that chrome window later
closes, the ChromeActor will stop working. In that case, we should clear
the cached ChromeActor and create a new one that targets a different
chrome window.

MozReview-Commit-ID: AP8AXEXEgAl

--HG--
extra : rebase_source : 28ccf09c79f23baed5714de281a8dd56bf4ecb4d
2018-05-11 10:25:04 -04:00
Brian Birtles 64836142ee Bug 1456394 - Replace a few references to 'timing' in DevTools with 'getComputedTiming()' and 'updateTiming()'; r=daisuke
MozReview-Commit-ID: FKNs2Ci6nw1

--HG--
extra : rebase_source : ba6d99edebe4bdf7cc2a8e54b2fa068a7b565561
2018-05-07 12:58:30 +09:00
Kris Maglione 01c298aca6 Bug 1460092: Add ESLint rule to enforce use of ChromeUtils.generateQI. r=Gijs
Also fixes existing code which fails the rule.

MozReview-Commit-ID: CkLFgsspGMU

--HG--
extra : rebase_source : 86a43837659aa2ad83a87eab53b7aa8d39ccf55b
2018-05-08 18:36:22 -07:00
Ciure Andrei de05fd66c8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-09 02:02:05 +03:00
Yura Zenevich 04552ee514 Bug 1441187 - wait for non-stale state instead of non-busy when waiting for root document accessible. r=pbro
MozReview-Commit-ID: 4bEkg0us2xF
2018-05-08 15:43:42 -04:00
Razvan Caliman 1144779b37 Bug 1449891 - Add logic to Font Editor to map axes values to font properties. r=gl,pbro
MozReview-Commit-ID: J0QcI2U6pU5

--HG--
extra : rebase_source : 866738ba35366171e8e4290c6b606f8a7b6ff37a
2018-04-24 10:32:05 +02:00
yulia 3891fa984c Bug 1450946 - Convert ContentActor to protocol.js; r=ochameau
MozReview-Commit-ID: D5IwzVlmfol

--HG--
extra : rebase_source : 043d9f652d6a11f00eeedc936da09e2aff6ffb6a
2018-05-07 11:06:35 +02:00
yulia e8f2b919af Bug 1450953 - Convert WindowActor to protocol.js; r=ochameau
MozReview-Commit-ID: 3fd3dDUBzPB

--HG--
extra : rebase_source : bac7184798652b5962327201b3dd65a5d5c73518
2018-05-07 11:24:48 +02:00
Patrick Brosset fbec3e1cdf Bug 1440855 - New font text-run highlighter used from the font inspector;r=gl
This commit introduces a new highlighter. This highlighter is specialized in
highlighting text-runs in a page that use a specified font.

The highlighter is based on a platform API that returns Range objects.
Therefore, the approach I chose was to simply feed these objects to the
window Selection object. This way, we get highlighting for free without
having to create any markup in the content page.
The drawback is that the highlighting looks different than in other places
of DevTools.
However it's most probably way better in terms of performance, and will
adapt natively to edge cases like APZ, scrolling, CSS transform, etc.

This commit also has a simple UI: on mouseover of a font name in the font
inspector panel, corresponding text runs are highlighted in the page.
This UI is hidden behind a pref for now, so we can test the feature with
some chosen users and gather feedback to improve the UI before shipping.

Finally, an integration test was added.

MozReview-Commit-ID: Fu3t0b5kbdy

--HG--
extra : rebase_source : 80493e64ad6fdb1ec1963021eb9bd7c3f5398201
2018-05-02 14:44:30 +02:00
Gabriel Luong 918eb925c8 Bug 1458749 - Remove checks for old traits in the inspector. r=pbro 2018-05-04 17:37:28 -04:00