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

2172 Коммитов

Автор SHA1 Сообщение Дата
Daisuke Akatsuka 56d22dec55 Bug 1497448: Use SocketListener directly. r=ochameau,jdescottes
Depends on D10865

Differential Revision: https://phabricator.services.mozilla.com/D10867

--HG--
extra : moz-landing-system : lando
2018-11-08 00:41:18 +00:00
Julian Descottes 9c7ff03529 Bug 1490629 - Update adb-addon install() to make source parameter mandatory;r=daisuke
Depends on D11166

Differential Revision: https://phabricator.services.mozilla.com/D11179

--HG--
extra : moz-landing-system : lando
2018-11-08 07:29:11 +00:00
Jim Chen 22e084bcc0 Bug 1496220 - 3. Disable Necko IPC security for test_saveHeapSnapshot_e10s_01; r=fitzgen
The use of <iframe mozbrowser> in test_saveHeapSnapshot_e10s_01.html has
implicitly depended on the "network.disable.ipc.security" pref set to
false, which is the default for desktop and not applicable for Fennec.
With the new mobile test harness, this pref needs to be set explicitly
by the test.

Differential Revision: https://phabricator.services.mozilla.com/D7786
2018-11-07 16:17:18 -05:00
Daisuke Akatsuka 7f86f123f9 Bug 1497448: Use try/catch for _handle function in ServerSocketConnection. r=ochameau,jdescottes
At first, I wanted it is better to call DebuggerServer.destroy() when
`devtools.debugger.remote-enabled` will set to false. Likewise, call
DebuggerServer.init() in case of true. But, because DebuggerServer.init() is
called by various context such as RemoteDebugger, restoring is difficult after
destroying. In this patch, simply, we make avoiding to call
DebuggerServer.closeAllListener() from inside of ServerSocketConnection.

Depends on D10864

Differential Revision: https://phabricator.services.mozilla.com/D10865

--HG--
extra : moz-landing-system : lando
2018-11-07 02:17:45 +00:00
Daisuke Akatsuka 711e30b3ec Bug 1497448: Close connections that were accepted in ServerSocketListener. r=ochameau,jdescottes
Yet another approach. In the previous D9889 approach, both DebuggerSerever and
SocketServerListener retain the connections duplicately, it will be possible to
be difficult for the management. In this approach, only DebuggerSerever retains
the connections, then when ServerSocketListener was removed, removes the
connections as well that were linked the ServerSocketListener.

Differential Revision: https://phabricator.services.mozilla.com/D10864

--HG--
extra : moz-landing-system : lando
2018-11-07 02:18:02 +00:00
Ting-Yu Lin f1ae18f596 Bug 1504387 - Remove preference "layout.css.shape-outside.enabled". r=bradwerth,xidorn
shape-outside, shape-margin, shape-image-threshold have been shipped in Firefox
62. We can remove the preference.

The change in devtools/shared/css/generated/properties-db.js is generated by
"./mach devtools-css-db"

The actual shape-image CORS mode tests in file_shape_outside_CORS.html are
moved into test_shape_outside_CORS.html because we don't need the <iframe>
trick to enable the feature.

Differential Revision: https://phabricator.services.mozilla.com/D10804

--HG--
extra : moz-landing-system : lando
2018-11-05 15:27:36 +00:00
Alexandre Poirot 2bd793e484 Bug 1497467 - Convert AddonClient to protocol.js front. r=yulia
MozReview-Commit-ID: 78Oqsq4mGqW

Differential Revision: https://phabricator.services.mozilla.com/D10391

--HG--
extra : moz-landing-system : lando
2018-11-05 16:16:37 +00:00
Alexandre Poirot aa27526bd1 Bug 1497470 - Correctly type Targets.listWorkers request. r=yulia
MozReview-Commit-ID: BfjRhhIDxiF

Depends on D10189

Differential Revision: https://phabricator.services.mozilla.com/D10387

--HG--
extra : moz-landing-system : lando
2018-11-05 15:02:12 +00:00
Alexandre Poirot a0551db83f Bug 1497470 - Create a ContentProcessTargetFront front to match ContentProcessTargetActor. r=yulia
MozReview-Commit-ID: LFfG7WRHu3a

Differential Revision: https://phabricator.services.mozilla.com/D10189

--HG--
extra : moz-landing-system : lando
2018-11-05 15:02:10 +00:00
Julian Descottes e17ec00bdd Bug 1483660 - Hide UA Widget shadow root in inspector by default;r=ladybenko
Depends on D10536

Differential Revision: https://phabricator.services.mozilla.com/D10537

--HG--
extra : moz-landing-system : lando
2018-11-05 17:22:45 +00:00
tanhengyeow 67391f6115 Bug 1496742 - Allow to display Referrer Policy for a given request. r=Honza
Display Referrer Policy for a given request.

Differential Revision: https://phabricator.services.mozilla.com/D9128

--HG--
extra : moz-landing-system : lando
2018-11-05 16:44:17 +00:00
Kris Maglione 288ea557d8 Bug 1482091: Part 1 - Add native TelemetryStopwatch implementation. r=chutten,mccr8
This implementation is considerably more memory efficient than the existing JS
implementation. Migrating to it fully saves us about 28K per base content
process.

Differential Revision: https://phabricator.services.mozilla.com/D9887

--HG--
extra : source : a19c6b3e0402d16a77185f82d9fedab83a7ca52e
extra : intermediate-source : 28a19b7290ab288a1cb2cbf6d49f905cecc9682b
2018-10-26 13:17:55 -07:00
arthur.iakab 0c81738411 Backed out 2 changesets (bug 1482091) for bc failures on browser_domFullscreen_fullscreenMode.js
Backed out changeset bc03f101937e (bug 1482091)
Backed out changeset 28a19b7290ab (bug 1482091)
2018-11-03 01:08:36 +02:00
Kris Maglione bee3f68fdc Bug 1482091: Part 1 - Add native TelemetryStopwatch implementation. r=chutten,mccr8
This implementation is considerably more memory efficient than the existing JS
implementation. Migrating to it fully saves us about 28K per base content
process.

Differential Revision: https://phabricator.services.mozilla.com/D9887

--HG--
extra : source : a19c6b3e0402d16a77185f82d9fedab83a7ca52e
2018-10-26 13:17:55 -07:00
arthur.iakab cf2aa54f83 Backed out 2 changesets (bug 1482091)for failing browser chrome failures on browser_panelUINotifications_fullscreen_noAutoHideToolbar.js
Backed out changeset afd0a13bcfff (bug 1482091)
Backed out changeset a19c6b3e0402 (bug 1482091)
2018-11-02 23:01:15 +02:00
Kris Maglione 4bd1fb01dd Bug 1482091: Part 1 - Add native TelemetryStopwatch implementation. r=chutten,mccr8
This implementation is considerably more memory efficient than the existing JS
implementation. Migrating to it fully saves us about 28K per base content
process.

Differential Revision: https://phabricator.services.mozilla.com/D9887

--HG--
extra : rebase_source : f358f1f7097eaa8cd62ae916d048a58489e9f5ff
extra : histedit_source : c44c42de02750d71e23e70fdf22d3c3a40b91d3d
2018-10-26 13:17:55 -07:00
Cameron McCormack a94e23e1cd Bug 1496617 - Part 1: Support unprefixed image-rendering:crisp-edges r=firefox-style-system-reviewers,emilio
For now, we keep supporting the prefixed version, since there are examples/instructions
on the Web that don't include an unprefixed value.

Differential Revision: https://phabricator.services.mozilla.com/D10451

--HG--
extra : moz-landing-system : lando
2018-11-01 01:35:26 +00:00
Patrick Brosset 1be47d2001 Bug 1501066 - part 2 - Simplify flexibility info and bail out when useless; r=mtigley
In cases where an item did not grow or shrink, devtools doesn't really have access
to any useful information about how the item might have wanted to flex.
So in this change, I'm just making sure we don't attempt to display this info at
all, because it's basically incorrect otherwise.

Depends on D10235

Differential Revision: https://phabricator.services.mozilla.com/D10236

--HG--
extra : moz-landing-system : lando
2018-10-31 17:49:14 +00:00
Brad Werth 30273bf612 Bug 1500933 Part 1: Define a ChangesActor no-op method for use by the client to instantiate the actor. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D10119

--HG--
extra : moz-landing-system : lando
2018-10-31 17:49:22 +00:00
yulia d11d6e404d Bug 1495388 - Make Inspector Front initialization async; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8707

--HG--
extra : moz-landing-system : lando
2018-10-30 14:47:19 +00:00
Alexandre Poirot 976084a82f Bug 1502910 - Remove TimelineActor. r=Honza
MozReview-Commit-ID: DtmS18EYw12

Depends on D10186

Differential Revision: https://phabricator.services.mozilla.com/D10187

--HG--
extra : moz-landing-system : lando
2018-10-30 10:49:19 +00:00
Alexandre Poirot 0b6019ede3 Bug 1499022 - Rename BrowsingContextFront to BrowsingContextTargetFront. r=jdescottes
MozReview-Commit-ID: 4ipRMnu2vkh

Differential Revision: https://phabricator.services.mozilla.com/D9116

--HG--
extra : moz-landing-system : lando
2018-10-30 10:14:20 +00:00
Alexandre Poirot e4de264d0a Bug 1485661 - Convert RootClient to protocol.js front. r=yulia
MozReview-Commit-ID: 1FfeXpVNYTk

Differential Revision: https://phabricator.services.mozilla.com/D8820

--HG--
rename : devtools/shared/client/root-client.js => devtools/shared/fronts/root.js
extra : moz-landing-system : lando
2018-10-30 08:08:20 +00:00
Boris Chiou adff31eff9 Bug 1496619 - Part 1: Drop frames() timing function r=birtles
frames() timing function was removed from the spec, so we drop it.
Besides, some devtool tests are removed because they use frame(). I will
add them back by using new step function later.

Differential Revision: https://phabricator.services.mozilla.com/D9309

--HG--
extra : moz-landing-system : lando
2018-10-26 18:03:24 +00:00
Razvan Caliman a01b8dee61 Bug 1499049 - (Part 6) Support !important in changed CSS property values; r=pbro
Depends on D8722

Include the "!importat" priority flag when tracking changes to CSS declarations.

Differential Revision: https://phabricator.services.mozilla.com/D8967

--HG--
extra : moz-landing-system : lando
2018-10-25 11:06:56 +00:00
Razvan Caliman c9616064f5 Bug 1499049 - (Part 1) Log ancestor rule tree for changes to CSS declarations; r=pbro
⚠️ **To build locally, this change series depends on the [change series](https://phabricator.services.mozilla.com/D4399) which adds the ChangesActor**.
🏋️‍♂️ **To test hands-on, you can download a [custom macOS build](https://queue.taskcluster.net/v1/task/HIiZcwLXTuuSYYjfwEDmmA/runs/0/artifacts/public/build/target.dmg)  (updated Wed, Oct 24) which includes both change series.**

- Introduce ancestorRules getter to StyleRuleActor to get a flattened rule tree with the ancestors of the current rule;
- Introduce CSSRuleTypeName to css-logic helpers to map between CSS rule type and human-readable name;
- Log rule index position with each CSS declaration change to help differentiate between changes to rules with identical selectors at the same level of nesting.

Differential Revision: https://phabricator.services.mozilla.com/D8718

--HG--
extra : moz-landing-system : lando
2018-10-24 17:43:33 +00:00
Julien Wajsberg edc9fbc30b Bug 1489745 - Convert the preference sample-frequency-khz to hz r=ochameau,mstange
The int preference profiler.sample-frequency-khz didn't make it possible
to reduce the overhead in tests, because we could have intervals bigger
than 1ms. With this change we can now do it.

Depends on D8547

Differential Revision: https://phabricator.services.mozilla.com/D8548

--HG--
extra : moz-landing-system : lando
2018-10-24 12:09:37 +00:00
Patrick Brosset bb2e382570 Bug 1114932 - Break after commas in CSS selectors r=tromey
Differential Revision: https://phabricator.services.mozilla.com/D9232

--HG--
extra : moz-landing-system : lando
2018-10-22 14:17:27 +00:00
Brad Werth 4b33d8b6f4 Bug 1468754 Part 4: Make ChangesActor fire events. r=pbro
Depends on D9050

Differential Revision: https://phabricator.services.mozilla.com/D9176

--HG--
extra : moz-landing-system : lando
2018-10-22 19:17:57 +00:00
Brad Werth 799f7cc52b Bug 1468754 Part 1: Add a ChangesActor to devtools. r=pbro
MozReview-Commit-ID: 1Y8esljnLk9

Differential Revision: https://phabricator.services.mozilla.com/D4399

--HG--
extra : moz-landing-system : lando
2018-10-22 19:17:45 +00:00
Dorel Luca d58b21f026 Backed out 5 changesets (bug 1468754) for xpcshell and eslint failures. CLOSED TREE
Backed out changeset 67f969f5bdba (bug 1468754)
Backed out changeset 55ba74fa5c95 (bug 1468754)
Backed out changeset 0d44a0523525 (bug 1468754)
Backed out changeset da447a45603e (bug 1468754)
Backed out changeset 71f45c79522e (bug 1468754)
2018-10-22 22:00:49 +03:00
Brad Werth 75b4548fcd Bug 1468754 Part 4: Make ChangesActor fire events. r=pbro
Depends on D9050

Differential Revision: https://phabricator.services.mozilla.com/D9176

--HG--
extra : moz-landing-system : lando
2018-10-22 18:01:18 +00:00
Brad Werth 82209b1112 Bug 1468754 Part 1: Add a ChangesActor to devtools. r=pbro
MozReview-Commit-ID: 1Y8esljnLk9

Differential Revision: https://phabricator.services.mozilla.com/D4399

--HG--
extra : moz-landing-system : lando
2018-10-22 18:00:40 +00:00
Gurzau Raul 68a33bf913 Backed out 5 changesets (bug 1468754) for linting failure at checkouts/gecko/devtools/server/actors/utils/actor-registry.js on a CLOSED TREE
Backed out changeset c36e8383aa3a (bug 1468754)
Backed out changeset c98ac7503111 (bug 1468754)
Backed out changeset ddd043a258e0 (bug 1468754)
Backed out changeset e6ff3400a4f6 (bug 1468754)
Backed out changeset 817018fb5aa4 (bug 1468754)
2018-10-22 20:02:13 +03:00
Brad Werth 96f6a9ece3 Bug 1468754 Part 4: Make ChangesActor fire events. r=pbro
Depends on D9050

Differential Revision: https://phabricator.services.mozilla.com/D9176

--HG--
extra : moz-landing-system : lando
2018-10-22 16:31:36 +00:00
Brad Werth 60b86d829a Bug 1468754 Part 1: Add a ChangesActor to devtools. r=pbro
MozReview-Commit-ID: 1Y8esljnLk9

Differential Revision: https://phabricator.services.mozilla.com/D4399

--HG--
extra : moz-landing-system : lando
2018-10-22 16:31:52 +00:00
Sebastian Hengst d3ae9b224b Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central: fix eslint failure after merge. a=eslint-fix 2018-10-20 13:51:03 +03:00
Daniel Varga 4fc7bfa931 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-20 13:10:23 +03:00
Gabriel Luong 455a83357a Bug 1500469 - Don't require /shared/css/properties-db.js in the inspector client. r=mtigley 2018-10-19 17:40:31 -04:00
Nicolas Chevobbe 3558483427 Bug 1493675 - Send JS keywords from webconsole's autocomplete service; r=julienw.
Since we do now have the list of Javascript keywords, we
import it from webconsole autocomplete service and send
the keywords matching the current expression to the client.

Differential Revision: https://phabricator.services.mozilla.com/D8709

--HG--
extra : moz-landing-system : lando
2018-10-19 16:07:22 +00:00
Nicolas Chevobbe 4d549fc4ff Bug 1493675 - Generate an array of the javascript keywords; r=arai.
This list is generated from /js/src/frontend/ReservedWords.h,
which is already used on the platform to generate list of js
reserved words.
This list will be used in the console autocomplete code to
expose those keywords to the user.

Differential Revision: https://phabricator.services.mozilla.com/D8998

--HG--
extra : moz-landing-system : lando
2018-10-19 14:58:42 +00:00
Mark Banner ceaeb93550 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389

--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
yulia 4448c52661 Bug 1495387 - introduce async front instantiation; r=ochameau
Depends on D8989

Differential Revision: https://phabricator.services.mozilla.com/D8990

--HG--
extra : moz-landing-system : lando
2018-10-18 14:34:33 +00:00
Alexandre Poirot 358eb27dd0 Bug 1499333 - Rename all "worker client" to "worker target front". r=jdescottes
MozReview-Commit-ID: 30eOjbkYyvg

Differential Revision: https://phabricator.services.mozilla.com/D9006

--HG--
extra : moz-landing-system : lando
2018-10-18 07:21:02 +00:00
Daniel Varga e4438031ba Backed out 5 changesets (bug 1496220) for chrome failure at toolkit/content/tests/chrome/test_findbar_events.xul. on a CLOSED TREE
Backed out changeset 2c1353f4a3f5 (bug 1496220)
Backed out changeset bc592bed0522 (bug 1496220)
Backed out changeset 7b5505d44965 (bug 1496220)
Backed out changeset 670b75f8446f (bug 1496220)
Backed out changeset c4a8a6256d7f (bug 1496220)

--HG--
extra : rebase_source : 43edfc28753cca429f7a72994d568091f30e62bc
extra : amend_source : 738723a11e8fb88a71cac79de93b878d82230409
2018-10-17 20:21:16 +03:00
Jim Chen 5e1875353b Bug 1496220 - 3. Disable Necko IPC security for test_saveHeapSnapshot_e10s_01; r=fitzgen
The use of <iframe mozbrowser> in test_saveHeapSnapshot_e10s_01.html has
implicitly depended on the "network.disable.ipc.security" pref set to
false, which is the default for desktop and not applicable for Fennec.
With the new mobile test harness, this pref needs to be set explicitly
by the test.

Differential Revision: https://phabricator.services.mozilla.com/D7786

--HG--
extra : moz-landing-system : lando
2018-10-17 16:12:30 +00:00
Nicolas Chevobbe c6c345bff2 Bug 1498598 - Make js-property-provider better; r=bgrins.
This patches solves 2 issues:
- it doesn't return any result when the user is trying to
perform a variable, function or class declaration (e.g.
var d).
- js-property-provider used to compute the last statement
by only looking for space or ; chars. But there are a lot
of cases (basically each time using an operator), where we
should return results and we weren't.
Test cases are added to cover those fixes.

Differential Revision: https://phabricator.services.mozilla.com/D8968

--HG--
extra : moz-landing-system : lando
2018-10-17 15:02:41 +00:00
yulia c22cefe4e6 Bug 1488375 - Use target.getFront to instantiate MemoryFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7097

--HG--
extra : moz-landing-system : lando
2018-10-17 10:36:33 +00:00
Julian Descottes 795c6e7708 Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D8335

--HG--
extra : moz-landing-system : lando
2018-10-17 11:10:33 +00:00
yulia 94266886f2 Bug 1499056 - Use target.getFront for screenshot front; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8866

--HG--
extra : moz-landing-system : lando
2018-10-17 10:40:48 +00:00
Margareta Eliza Balazs 0519ad0209 Backed out 3 changesets (bug 1494549) for multiple failures e.g.: devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_sidebar_usb_status.js CLOSED TREE
Backed out changeset 5729da1055e8 (bug 1494549)
Backed out changeset 7c62247314d7 (bug 1494549)
Backed out changeset bff7126ddd3f (bug 1494549)
2018-10-17 11:52:14 +03:00
Julian Descottes 53b7c866bb Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D8335

--HG--
extra : moz-landing-system : lando
2018-10-17 07:20:08 +00:00
Alexandre Poirot 0012df664b Bug 1497150 - Use BrowsingContextFront's javascriptEnabled cached value instead of calling attach. r=jdescottes
For now, the options panel was calling `attach` to know if the javascript was disabled
on the debugged document. But this property is already cached during the `attach`
request done by the toolbox.

MozReview-Commit-ID: JcDT6vxCUzN

Depends on D8851

Differential Revision: https://phabricator.services.mozilla.com/D8852

--HG--
extra : moz-landing-system : lando
2018-10-16 22:17:20 +00:00
Alexandre Poirot 0f5e860391 Bug 1495551 - Rename all "tab client" occurences to "target front". r=jdescottes
MozReview-Commit-ID: JrEdamUz6Be

Differential Revision: https://phabricator.services.mozilla.com/D8840

--HG--
extra : moz-landing-system : lando
2018-10-16 18:45:33 +00:00
Belén Albeza 5a45b66985 Bug 1494543 - Part 2: Add model + short runtime name to the sidebar item. r=jdescottes,daisuke
Added new getters to the ADB scanner so our runtime objects have now the information we need.

Note that the UX of the devices in this patch doesn't still match what we had in the mockups (icons don't match, and we also need a circle with a tick), but since we have another bug to handle the CSS in the Sidebar, we can always adapt it there. The information needed to display what is shown in the mockups should be passed in this patch –if I miss anything, give me a shout!

Differential Revision: https://phabricator.services.mozilla.com/D7705

--HG--
extra : moz-landing-system : lando
2018-10-16 11:57:45 +00:00
Alexandre Poirot 6cd123eae4 Bug 1494632 - Convert WorkerClient to protocol.js front. r=jdescottes
MozReview-Commit-ID: BbtEReeG4v9

Depends on D7462

Differential Revision: https://phabricator.services.mozilla.com/D7463

--HG--
extra : moz-landing-system : lando
2018-10-16 09:39:11 +00:00
Cosmin Sabou ee928c38ca Backed out 3 changesets (bug 1494549) for OSX devtools failures. CLOSED TREE
Backed out changeset e9abf60db23b (bug 1494549)
Backed out changeset 3e89e661031c (bug 1494549)
Backed out changeset 0d7e2a4ad360 (bug 1494549)
2018-10-16 12:34:38 +03:00
Julian Descottes 367cd9399a Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D8335

--HG--
extra : moz-landing-system : lando
2018-10-12 07:20:22 +00:00
Noemi Erli a52231df87 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-16 01:22:27 +03:00
Noemi Erli 014b37a409 Merge inbound to mozilla-central. a=merge 2018-10-16 01:20:08 +03:00
Julien Wajsberg c4847c5f16 Bug 1495473 - Properly propagate the error up to the client r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7299

--HG--
extra : moz-landing-system : lando
2018-10-15 17:33:58 +00:00
vinoth 7b887cfbbc Bug 1498885 - Assertion added in ContentSecurityPolicyPermitsJSAction() to not allow eval with SystemPrincipal r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8683

--HG--
extra : moz-landing-system : lando
2018-10-15 08:02:04 +00:00
Alexandre Poirot 4b85a3b27f Bug 1485660 - Adapt DebuggerClient._pools to accept Front's and (now) Pool's. r=jdescottes
MozReview-Commit-ID: EWka8fMBcK5

Depends on D7462

Differential Revision: https://phabricator.services.mozilla.com/D8518

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:21 +00:00
Alexandre Poirot e7998a50ec Bug 1485660 - Convert TabClient to a front. r=jdescottes
TabClient appears to be a client for any actor that inherits from browsing context target actor.
So let it be a front for that.

MozReview-Commit-ID: KmpClxJ53N7

Depends on D7457

Differential Revision: https://phabricator.services.mozilla.com/D7458

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:07 +00:00
Alexandre Poirot 9c441aadb9 Bug 1485660 - Avoid exceptions when the connection is closed in middle of the actor's id retrieval. r=jdescottes
MozReview-Commit-ID: KvwkISz7OVe

Depends on D7456

Differential Revision: https://phabricator.services.mozilla.com/D7457

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:05 +00:00
Alexandre Poirot 1fd7cbd0a7 Bug 1485660 - Allows calling DebuggerClient.close twice in a row. r=jdescottes
MozReview-Commit-ID: uACM0VtJ5E

Differential Revision: https://phabricator.services.mozilla.com/D7456

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:03 +00:00
Dorel Luca 451b0f42f9 Backed out 2 changesets (bug 1494543) for causing Devtools failures in browser/base/content/test/static/browser_parsable_css.js. CLOSED TREE
Backed out changeset 744747bb295c (bug 1494543)
Backed out changeset 5a54f333b855 (bug 1494543)
2018-10-15 12:14:17 +03:00
Belén Albeza 96c978440f Bug 1494543 - Part 2: Add model + short runtime name to the sidebar item. r=jdescottes,daisuke
Added new getters to the ADB scanner so our runtime objects have now the information we need.

Note that the UX of the devices in this patch doesn't still match what we had in the mockups (icons don't match, and we also need a circle with a tick), but since we have another bug to handle the CSS in the Sidebar, we can always adapt it there. The information needed to display what is shown in the mockups should be passed in this patch –if I miss anything, give me a shout!

Differential Revision: https://phabricator.services.mozilla.com/D7705

--HG--
extra : moz-landing-system : lando
2018-10-11 12:01:59 +00:00
David Walsh 9b750eabd8 Bug 821610 - Provide methods to set and remove XHR breakpoints within thread client r=loganfsmyth 2018-10-12 13:00:35 -05:00
Diego Pino Garcia 4520a114b1 Bug 1498148 - Implement text-transform: full-size-kana. r=xidorn 2018-10-14 09:42:24 +11:00
Noemi Erli e350ad46ad Backed out changeset a00b402fb8e8 (bug 1498148) for Linting failure in builds/worker/checkouts/gecko/tools/lint/wpt.yml CLOSED TREE 2018-10-14 00:12:12 +03:00
Diego Pino Garcia d8fa9f97a3 Bug 1498148 - Implement text-transform: full-size-kana. r=xidorn 2018-10-13 05:03:00 +03:00
Daisuke Akatsuka 984d6868a8 Bug 1494847 - Part 2: Set proper currentTime for negative playback rate. r=pbro
Depends on D7685

Differential Revision: https://phabricator.services.mozilla.com/D7686

--HG--
extra : moz-landing-system : lando
2018-10-12 06:36:37 +00:00
Daisuke Akatsuka 96b09f29f1 Bug 1494847 - Part 1: Show proper graph for negative playback rate. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D7685

--HG--
extra : moz-landing-system : lando
2018-10-13 05:39:18 +00:00
Bogdan Tara 67676cb1a7 Backed out changeset e7f9ba7e8ac2 (bug 821610) for ES lint failure CLOSED TREE 2018-10-12 19:52:47 +03:00
Annshul Malik 8eead6424d Bug 821610 - Update thread-client to work with xhr breakpoints
Differential Revision: https://phabricator.services.mozilla.com/D8544

--HG--
extra : moz-landing-system : lando
2018-10-12 14:57:03 +00:00
Bogdan Tara e1dc69e799 Backed out changeset 94ccc53c61a7 (bug 1488375) for test_memory_allocations_0x.html failures CLOSED TREE 2018-10-12 19:18:18 +03:00
yulia cd546f12d8 Bug 1488375 - Use target.getFront to instantiate MemoryFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7097

--HG--
extra : moz-landing-system : lando
2018-10-12 13:38:21 +00:00
Julien Wajsberg 0e86c07238 Bug 1498331 - Supports the case where EventEmitter.off is called with more than 3 arguments r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D8445

--HG--
extra : moz-landing-system : lando
2018-10-12 08:39:32 +00:00
Patrick Brosset 58e1a1c0d9 Bug 1495717 - More user-friendly Flex item sizing information; r=gl
MozReview-Commit-ID: 3cSeShKP6TE

Differential Revision: https://phabricator.services.mozilla.com/D8220

--HG--
extra : moz-landing-system : lando
2018-10-12 08:46:34 +00:00
Michael Ratcliffe d2d39186f6 Bug 1478481 - Flexbox highlighter overlay is wrong size, in page with full-page-zoom applied r=gl
- Added AutoRefreshHighlighter flag to AutoRefreshHighlighter. This ensures that getQuads() ignores the zoom factor.

Differential Revision: https://phabricator.services.mozilla.com/D7599

--HG--
extra : moz-landing-system : lando
2018-10-10 23:59:45 +00:00
Brindusan Cristian c328bc1cdf Backed out 8 changesets (bug 1485660) for damp failures on front.hasRequests. CLOSED TREE
Backed out changeset 7a2f29bbe2a8 (bug 1485660)
Backed out changeset 26e82fa62444 (bug 1485660)
Backed out changeset 9bb2f56f219d (bug 1485660)
Backed out changeset 40a3c2dd1b38 (bug 1485660)
Backed out changeset cfb160882db9 (bug 1485660)
Backed out changeset 3642f2d66777 (bug 1485660)
Backed out changeset 9026679753b2 (bug 1485660)
Backed out changeset dccca441b980 (bug 1485660)
2018-10-11 22:33:35 +03:00
Alexandre Poirot 8a6814c2df Bug 1497644 - Ensure that RootClient is used for all requests made to the root actor. r=yulia
MozReview-Commit-ID: HJm7yQCMbkg

Depends on D8141

Differential Revision: https://phabricator.services.mozilla.com/D8142

--HG--
extra : moz-landing-system : lando
2018-10-11 16:25:23 +00:00
Alexandre Poirot cf0d0480eb Bug 1497644 - Always call Root actor's getProcess request via RootClient.getProcess r=yulia
I also made its argument mandatory, so that later in root spec we can use a non-nullable number.

MozReview-Commit-ID: BUPgI1ww1gC

Differential Revision: https://phabricator.services.mozilla.com/D8141

--HG--
extra : moz-landing-system : lando
2018-10-11 16:26:45 +00:00
Alexandre Poirot 4790bc0138 Bug 1485660 - Convert TabClient to a front. r=jdescottes
TabClient appears to be a client for any actor that inherits from browsing context target actor.
So let it be a front for that.

MozReview-Commit-ID: KmpClxJ53N7

Depends on D7457

Differential Revision: https://phabricator.services.mozilla.com/D7458

--HG--
extra : moz-landing-system : lando
2018-10-11 15:46:26 +00:00
Alexandre Poirot e98e7b66be Bug 1485660 - Avoid exceptions when the connection is closed in middle of the actor's id retrieval. r=jdescottes
MozReview-Commit-ID: KvwkISz7OVe

Depends on D7456

Differential Revision: https://phabricator.services.mozilla.com/D7457

--HG--
extra : moz-landing-system : lando
2018-10-11 15:46:24 +00:00
Alexandre Poirot d99221792f Bug 1485660 - Allows calling DebuggerClient.close twice in a row. r=jdescottes
MozReview-Commit-ID: uACM0VtJ5E

Differential Revision: https://phabricator.services.mozilla.com/D7456

--HG--
extra : moz-landing-system : lando
2018-10-11 15:46:22 +00:00
Yura Zenevich b0746404ef Bug 1492866 - add accessible relations to accessibility panel sidebar. r=pbro
MozReview-Commit-ID: 5u8SRnlnFyN

Differential Revision: https://phabricator.services.mozilla.com/D7208

--HG--
extra : moz-landing-system : lando
2018-10-11 14:51:35 +00:00
yulia 7b4018cba7 Bug 1488375 - make lazyLoadFront errors more specific; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8197

--HG--
extra : moz-landing-system : lando
2018-10-10 15:39:32 +00:00
yulia 55c6df01ea Bug 1488377 - remove outdated backwards compat code; r=ochameau
Depends on D7886

Differential Revision: https://phabricator.services.mozilla.com/D7994

--HG--
extra : moz-landing-system : lando
2018-10-10 15:37:11 +00:00
Ciure Andrei 74d2eeef4c Backed out 3 changesets (bug 1496220) for browser_e10s_switchbrowser.js and test_findbar.xul failures CLOSED TREE
Backed out changeset 70505741627f (bug 1496220)
Backed out changeset daf7ced3bbcc (bug 1496220)
Backed out changeset abf2e04e30e4 (bug 1496220)
2018-10-11 01:03:27 +03:00
Ciure Andrei 255e7e1b04 Backed out changeset 2084a929ec4c (bug 1492866) for browser_accessibility_walker.js faiures CLOSED TREE 2018-10-10 23:46:13 +03:00
Jim Chen d5e63014df Bug 1496220 - 3. Disable Necko IPC security for test_saveHeapSnapshot_e10s_01; r=fitzgen
The use of <iframe mozbrowser> in test_saveHeapSnapshot_e10s_01.html has
implicitly depended on the "network.disable.ipc.security" pref set to
false, which is the default for desktop and not applicable for Fennec.
With the new mobile test harness, this pref needs to be set explicitly
by the test.

Differential Revision: https://phabricator.services.mozilla.com/D7786

--HG--
extra : moz-landing-system : lando
2018-10-09 16:30:46 +00:00
Yura Zenevich 0d998fb64c Bug 1492866 - add accessible relations to accessibility panel sidebar. r=pbro
MozReview-Commit-ID: 5u8SRnlnFyN

Differential Revision: https://phabricator.services.mozilla.com/D7208

--HG--
extra : moz-landing-system : lando
2018-10-10 19:18:03 +00:00
Julian Descottes b05e78acd6 Bug 1493104 - Add unit test for AddonAwareADBScanner;r=ladybenko,daisuke
--HG--
extra : rebase_source : b508f59719bea9fc9b827155f8b872052fa69469
2018-10-05 15:16:39 +02:00
Julian Descottes f1a644359d Bug 1493104 - Add ADBScanner decorator to listen to addon status udpates;r=ladybenko,daisuke
--HG--
extra : rebase_source : 2c1690254e7a9cbf424888cb77c008bba4c4ede7
2018-10-05 13:51:18 +02:00
Julian Descottes f32a8ff753 Bug 1493104 - Convert ADBScanner from a singleton to a class;r=ladybenko,daisuke
--HG--
extra : rebase_source : 7a66e727d567756daae2e57c32c290915f986d45
2018-10-05 11:17:22 +02:00
Gurzau Raul 342b8a145e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-10 01:02:56 +03:00
Alexandre Poirot f2092025cc Bug 1497292 - Switch RootClient calls from callbacks to promises. r=yulia
MozReview-Commit-ID: B1Z3tCjCHU3

Differential Revision: https://phabricator.services.mozilla.com/D8023

--HG--
extra : moz-landing-system : lando
2018-10-09 08:06:10 +00:00
Narcis Beleuzu 38510714cf Backed out changeset 01f66f8de794 (bug 1488377) for dt failures on browser_outputparser.js. CLOSED TREE 2018-10-09 19:45:28 +03:00
Brindusan Cristian b319c000c3 Backed out changeset 7b218b6df420 (bug 1496741) for mochitest-chrome failures on devtools/client/webide/test/test_addons.html. CLOSED TREE 2018-10-09 19:05:08 +03:00
yulia 2fc1f16a1e Bug 1488377 - remove outdated backwards compat code; r=ochameau
Depends on D7886

Differential Revision: https://phabricator.services.mozilla.com/D7994

--HG--
extra : moz-landing-system : lando
2018-10-09 13:11:32 +00:00
Julian Descottes 65e9cbd0e2 Bug 1496741 - Cleanup adb-addon.js module;r=ladybenko
--HG--
extra : rebase_source : c7d5a65aa5fc305295a6ae49020bf2b49c090c13
2018-10-02 11:25:03 +02:00
yulia 3b9941d99e Bug 1488377 - Use target.getFront to instantiate CssPropertiesFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7886

--HG--
extra : moz-landing-system : lando
2018-10-08 15:01:45 +00:00
Tiberius Oros 2f11f4a742 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-08 19:21:26 +03:00
Neil Deakin f659f51906 Bug 1310193 - Remove wrapping of nsISupports as nsISupportsInterfacePointer in transferables. r=smaug
--HG--
extra : rebase_source : 562b3bcd621ad348b7e2ada8151775b188ba58ff
2018-10-07 16:33:07 +02:00
Andreea Pavel 43fb61451b Backed out 3 changesets (bug 1492265, bug 1496025) for failing org.mozilla.geckoview.test.AccessibilityTest.testMoveByCharacter on a CLOSED TREE
Backed out changeset 9259cfe05c4e (bug 1492265)
Backed out changeset 1292fd4850a7 (bug 1496025)
Backed out changeset c9a6fdac66bb (bug 1496025)
2018-10-08 18:07:26 +03:00
Alexandre Poirot ef7c2a3c63 Bug 1496025 - Remove unused methods on ObjectClient related to promises r=Honza,gl
MozReview-Commit-ID: BPsMPaLz8AM

Depends on D7689

Differential Revision: https://phabricator.services.mozilla.com/D7690

--HG--
extra : moz-landing-system : lando
2018-10-08 11:12:42 +00:00
Alexandre Poirot 5bed7198d7 Bug 1496025 - Remove Promises actor r=gl
MozReview-Commit-ID: 55Y9FrpXCL1

Differential Revision: https://phabricator.services.mozilla.com/D7689

--HG--
extra : moz-landing-system : lando
2018-10-08 11:12:40 +00:00
Margareta Eliza Balazs 023013edac Backed out changeset 14f893f7de2d (bug 1488377) for mochitest failures in devtools/server/tests/mochitest/test_css-properties.html 2018-10-08 16:25:17 +03:00
yulia 8eb10516b2 Bug 1488377 - Use target.getFront to instantiate CssPropertiesFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7886

--HG--
extra : moz-landing-system : lando
2018-10-08 10:58:01 +00:00
yulia b4efc0f1c7 Bug 1488378 - Use target.getFront to instantiate CSSUsageFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7887

--HG--
extra : moz-landing-system : lando
2018-10-08 10:53:50 +00:00
Gabriel Luong 3e721cf4f1 Bug 1478397 - Part 19: Show both the flex container and flex item sizing properties when the selected element is both a flex item and container. r=pbro 2018-10-05 15:30:00 -04:00
Andreea Pavel 36e176666f Backed out changeset 9f1fd88190e3 (bug 1478397) for failing devtools at evtools/client/inspector/markup/test/browser_markup_flex_display_badge.js on a CLOSED TREE 2018-10-06 00:14:15 +03:00
Gabriel Luong 531bbc524c Bug 1478397 - Part 19: Show both the flex container and flex item sizing properties when the selected element is both a flex item and container. r=pbro 2018-10-05 15:30:00 -04:00
Julian Descottes 3a72442ee2 Bug 1496741 - Cleanup adb-addon.js module;r=ladybenko
This introduces constants for the addon states and migrates ADBAddon to a class

Differential Revision: https://phabricator.services.mozilla.com/D7881

--HG--
extra : moz-landing-system : lando
2018-10-09 07:07:56 +00:00
Gabriel Luong 906925a7e6 Bug 1494162 - Part 8: Lazy loadgetAngleValueInDegrees in color.js. r=rcaliman 2018-10-05 10:53:54 -04:00
Julian Descottes 4848175bf8 Bug 1494615 - Stop update Devices.jsm from adb-addon module;r=ladybenko
Depends on D7405. The adb-addon module fires events whenever the
addon state changes, so Devices.jsm should be able to simply reuse this
module to update its internal state, rather than having adb-addon set
something on Devices.jsm directly.

On a sidenote, we really should not propagate the adb status via Devices.jsm
but since WebIDE relies on this, I decided to keep the code as is for now.
We will remove it from Devices.jsm when WebIDE is removed.

Differential Revision: https://phabricator.services.mozilla.com/D7406

--HG--
extra : moz-landing-system : lando
2018-10-04 18:45:22 +00:00
Julian Descottes 419fc776a0 Bug 1494615 - Accept source parameter in adb-addon install();r=ladybenko
Depends on D7404. The install method should not hardcode "webide"
for the addon manager telemetry info

Differential Revision: https://phabricator.services.mozilla.com/D7405

--HG--
extra : moz-landing-system : lando
2018-10-04 18:43:29 +00:00
Julian Descottes c1b5abb562 Bug 1494615 - Update adb-addon module to expose a singleton;r=ladybenko
Depends on D7403
The getADBAddon/forgetADBAddon is not removing listeners or doing
anything useful since the next call to getADBADdon will just recreate an
instance of ADBAddon. We can expose a singleton and use lazy requires to
achieve the same effect

Differential Revision: https://phabricator.services.mozilla.com/D7404

--HG--
extra : moz-landing-system : lando
2018-10-04 18:40:38 +00:00
Julian Descottes c1aabb3bca Bug 1494615 - Move ADBAddon module to devtools/shared/adb;r=ladybenko
Depends on D7402. Moving the module to a shared older. Following
patches will cleanup the implementation to remove WebIDE couplings.

Differential Revision: https://phabricator.services.mozilla.com/D7403

--HG--
rename : devtools/client/webide/modules/addons.js => devtools/shared/adb/adb-addon.js
extra : moz-landing-system : lando
2018-10-03 13:34:40 +00:00
Botond Ballo ext:(%2C%20Brad%20Werth%20%3Cbwerth%40mozilla.com%3E) ce4278715b Bug 1290420 Part 3: Set the metaViewportOverride flag when viewing a device with touch event support in Responsive Design Mode. r=gl
Depends on D3375

Differential Revision: https://phabricator.services.mozilla.com/D3376

--HG--
extra : moz-landing-system : lando
2018-10-04 00:19:41 +00:00
Razvan Caliman 08b25bfbde Bug 1496055 - Part 2: Remove obsolete StyleRuleActor.modifySelector() and rename modifySelector2(); r=gl
MozReview-Commit-ID: 35VrRw33sV7

Differential Revision: https://phabricator.services.mozilla.com/D7598

--HG--
extra : moz-landing-system : lando
2018-10-03 15:11:52 +00:00
Razvan Caliman 02deacb80d Bug 1496055 - Part 1: Remove outdated checks for StyleRuleActor.modifySelectorUnmatched; r=gl
Since Firefox 41 it has been possible to add a rule with a selector
which does not match an element. The checks of the existence of this
functionality are outdated and can be safely removed.

No supported old versions of Firefox make use of the previous
functionality anymore.

MozReview-Commit-ID: D5ZP09Ckeqd

Differential Revision: https://phabricator.services.mozilla.com/D7597

--HG--
extra : moz-landing-system : lando
2018-10-03 13:52:16 +00:00
Yura Zenevich d84869d27a Bug 1473037 - Display contrast ratio for text nodes inside the accessibility infobar. r=pbro
Co-authored-by: Micah Tigley <mtigley@mozilla.com>

MozReview-Commit-ID: 1KbcRG0bZA3

Differential Revision: https://phabricator.services.mozilla.com/D4954

--HG--
extra : moz-landing-system : lando
2018-10-02 13:29:24 +00:00
Markus Stange 9d56241b4f Bug 1457481 - Hook up the new devtools performance panel to nsIProfiler.getSymbolTable. r=gregtatum
Depends on D7023

Differential Revision: https://phabricator.services.mozilla.com/D7024

--HG--
extra : moz-landing-system : lando
2018-10-02 01:52:32 +00:00
shindli 2cc7085b7a Backed out 4 changesets (bug 1457481) for c1 failures in devtools/client/performance-new/test/chrome/test_perf-settings-entries.html
Backed out changeset 212450f77860 (bug 1457481)
Backed out changeset ac3deff9340f (bug 1457481)
Backed out changeset 4478820fbcaa (bug 1457481)
Backed out changeset 1c8460b1d6da (bug 1457481)

--HG--
rename : third_party/rust/syn-0.14.6/src/parsers.rs => third_party/rust/syn/src/parsers.rs
rename : third_party/rust/syn-0.14.6/src/verbatim.rs => third_party/rust/syn/src/verbatim.rs
rename : third_party/rust/uuid-0.5.1/.travis.yml => third_party/rust/uuid/.travis.yml
rename : third_party/rust/uuid-0.5.1/src/rustc_serialize.rs => third_party/rust/uuid/src/rustc_serialize.rs
rename : third_party/rust/uuid-0.5.1/src/serde.rs => third_party/rust/uuid/src/serde.rs
2018-10-02 01:43:46 +03:00
Markus Stange 12d3a22f24 Bug 1457481 - Hook up the new devtools performance panel to nsIProfiler.getSymbolTable. r=gregtatum
Depends on D7023

Differential Revision: https://phabricator.services.mozilla.com/D7024

--HG--
extra : moz-landing-system : lando
2018-10-01 20:53:20 +00:00
Julian Descottes 293c15aec0 Bug 1492374 - Move all ADB related preferences out of webide;r=ladybenko
While this is not strictly related for uninstalling ADB helper this
small cleanup avoids duplicating the declaration of the adb extension
in two different preferences.

The URL preference also moves to a devtools-shared preference as there
is not much sense to keep it webide only.

Differential Revision: https://phabricator.services.mozilla.com/D7057

--HG--
extra : moz-landing-system : lando
2018-10-01 11:40:23 +00:00
Daisuke Akatsuka 670b00e560 Bug 1494171: Make tabs on android debuggable. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D7258

--HG--
extra : moz-landing-system : lando
2018-10-01 12:48:23 +00:00
arthur.iakab 6d5ae40a02 Merge inbound to mozilla-central a=merge 2018-09-29 07:16:35 +03:00
Razvan Caliman fcbdeb7942 Bug 1490720 - Log changes to CSS declarations from StyleRuleActor. r=pbro
MozReview-Commit-ID: 9J4zBcSxYwj

Differential Revision: https://phabricator.services.mozilla.com/D5681

--HG--
extra : moz-landing-system : lando
2018-09-28 17:30:49 +00:00
Daisuke Akatsuka dcbc040145 Bug 1494169 - Part 2: Connect to USB device. r=jdescottes
Depends on D6880

Differential Revision: https://phabricator.services.mozilla.com/D6881

--HG--
extra : moz-landing-system : lando
2018-09-28 04:27:44 +00:00
Nicolas Chevobbe 2aa2e07452 Bug 1410820 - top-level await evaluation should be handled as regular evaluation; r=bgrins.
This patch turns the current top-level handling, which relies on
the console API to print the result of the await expression, into
something natively handled by the server.

First, we don't add a .then handler to the generated async iife by
the mapper. We also removes the case we added in the JsTerm to *not*
print the result for top-level await expression.

In order to make the server capable of handling generated async iife
caused by the mapper, we send to evaluateJsAsync the `mapped` object
that `mapExpression` returns. This way, the server can check if an
expression was originally a top-level await.

If it is the case, we get the promise from the async iife and wait for
it to settle. If it resolves, we simply return the result, as a grip,
to the client. If it rejects, we return a special packet indicating to
not print anything to the client. The error will be reported by the
engine as `uncaught exception: …`.

We add several tests and modify the existing one to make sure we handle
top level await correctly in different situation (resolving, rejecting,
when paused in the debugger, when using $_, …).

Differential Revision: https://phabricator.services.mozilla.com/D6903

--HG--
extra : moz-landing-system : lando
2018-09-27 15:59:47 +00:00
Gurzau Raul a8d8876e9e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-27 19:45:35 +03:00
yulia 72f9e83eb1 Bug 1473513 - move ActorRegistry module to server/actors/utils; r=ochameau
Summary: Depends on D6477

Reviewers: ochameau

Reviewed By: ochameau

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6479

--HG--
rename : devtools/server/actor-registry.js => devtools/server/actors/utils/actor-registry.js
extra : rebase_source : ae52db7b028b4d866d8a363eae9ae7c124714458
2018-09-26 10:09:15 +02:00
yulia 29af71d6af Bug 1473513 - resolve memory leak
Summary: Depends on D6476

Reviewers: ochameau

Reviewed By: ochameau

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6477

--HG--
extra : rebase_source : 61ccae905e3136ad3c293db692551786e83075c7
2018-09-26 10:08:43 +02:00
yulia c6dbe43c8e Bug 1473513 - reduce number of poolFor calls; r=ochameau
Summary:
MozReview-Commit-ID: 9VqKPauAP9j

Depends on D6475

Reviewers: ochameau

Reviewed By: ochameau

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6476

--HG--
extra : rebase_source : 1bebc34bf805dfcf7bce0b5d8f3a2a13bab11173
2018-09-26 10:08:10 +02:00
yulia 9c120b705d Bug 1473513 - separate registerModule behavior from DebuggerServer; r=ochameau
Summary:
MozReview-Commit-ID: 3GsXRxcIKfx

Depends on D6473

Reviewers: ochameau

Reviewed By: ochameau

Subscribers: reviewbot

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6474

--HG--
rename : devtools/server/main.js => devtools/server/actor-registry.js
extra : rebase_source : 3ea4edd91ca8b09ad5e25ae01df885c587bee7b1
2018-09-26 10:06:43 +02:00
yulia e1c0e43fff Bug 1473513 - remove other instances of ActorPool from browsingContext and root; r=ochameau
Summary:
MozReview-Commit-ID: GxkLzvxJgdY

Depends on D6471

Reviewers: ochameau

Reviewed By: ochameau

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6472

--HG--
extra : rebase_source : 8877be9e01d379375a167c58c61d94efd4997e19
2018-09-26 10:05:31 +02:00
yulia 4a8f74eb3e Bug 1473513 - create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor; r=ochameau
Summary:
create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor;

Depends on D6468

Reviewers: ochameau

Reviewed By: ochameau

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6470

--HG--
rename : devtools/server/actors/common.js => devtools/shared/protocol/lazy-pool.js
extra : rebase_source : 09a1c8eac3cbb5856a5e3e61a1c0540efe32e5bd
2018-09-26 10:03:33 +02:00
yulia 7caf289dbe Bug 1473513 - use Protocol.js pools for workerTargetActorPool in Target Actors; r=ochameau
Summary: MozReview-Commit-ID: 5uIWwOR7CHp

Reviewers: ochameau

Reviewed By: ochameau

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6468

--HG--
extra : rebase_source : b5f560e404727a168c5b35924961a49c51b849df
2018-09-26 10:02:54 +02:00
Alexandre Poirot 0df7ab9a73 Bug 1494317 - Remove "newScript" event leftovers r=yulia
MozReview-Commit-ID: 3lc5XXdBWgS

Depends on D6941

Differential Revision: https://phabricator.services.mozilla.com/D6942

--HG--
extra : moz-landing-system : lando
2018-09-26 18:11:55 +00:00
Alexandre Poirot 06ff174025 Bug 1494319 - Remove unused "newGlobal" event r=yulia
MozReview-Commit-ID: 4bQyjXYuN18

Depends on D6940

Differential Revision: https://phabricator.services.mozilla.com/D6941

--HG--
extra : moz-landing-system : lando
2018-09-26 18:09:54 +00:00
Alexandre Poirot 340ed44d31 Bug 1494322 - Remove unused UnsolicitedNotifications r=yulia
MozReview-Commit-ID: Fc2upXImxP2

Differential Revision: https://phabricator.services.mozilla.com/D6940

--HG--
extra : moz-landing-system : lando
2018-09-27 08:50:13 +00:00
Alexandre Poirot 3ad83b9241 Bug 1492856 - Remove compatiblity code to guard against miss of RootActor.getRoot r=jdescottes
MozReview-Commit-ID: L5kkG9r7Rtv

Differential Revision: https://phabricator.services.mozilla.com/D6755

--HG--
extra : moz-landing-system : lando
2018-09-26 21:12:16 +00:00
Xidorn Quan cb87cec282 Bug 1494501 - Rename pref "layout.css.scrollbar-colors.enabled" to "layout.css.scrollbar-color.enabled". r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D7030

--HG--
extra : moz-landing-system : lando
2018-09-27 00:38:16 +00:00
Logan F Smyth c14f7c8aff Bug 1473996 - Expose fn.apply in the devtools server. r=nchevobbe
Depends on D6722

Differential Revision: https://phabricator.services.mozilla.com/D6723

--HG--
extra : moz-landing-system : lando
2018-09-26 16:23:25 +00:00
Logan F Smyth 11febfa688 Bug 1473996 - Expose getPropertyValue in devtools server to fully evaluate an object property. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D6722

--HG--
extra : moz-landing-system : lando
2018-09-26 16:12:56 +00:00
Nicolas Chevobbe 14ff2e3235 Bug 1476656 - Trigger autocomplete on bracket; r=Honza.
This patch adds the ability to open the autocomplete popup when
typing an opening bracket (i.e. `[`]) in the console input.
This impacts a significant amount of function where we assumed
that the only way to get a completion was to use a dot.
We uses the rename `anylyzeInputString` function to get the
completion part from an input, as well as if the user is performing
an element access (i.e., using the bracket).
We then send that information to the webconsole actor, which send
it to the client.
This allows us to rely on a single parse of the input and gives us
access to this information everywhere we need to, be it on the client
or on the server.

We allow the user to type property name without quotes, and we add
them when the user accept an autocompletion.
We also automatically add a closing bracket (i.e. `]`), when it's needed.

Some test are added. On the server side to make sure the actor's autocomplete
function returns what's expected.
We take that as an opportunity to add test for commands.
On the client side, tests are added to ensure the different behavior works
as expected (check the completion text and the input  after accepting
the completion when the user entered some letters, or not, with or without
quotes, with different quotes, hitting the autocomplete cache, …).

A test which accesses the autocomplete cache was modified since the shape
of the cache changed to include the last matchProp as well as the
isElementAccess boolean.

Differential Revision: https://phabricator.services.mozilla.com/D6128

--HG--
extra : moz-landing-system : lando
2018-09-26 13:54:35 +00:00