Commit Graph

12088 Commits

Author SHA1 Message Date
yulia
99bb10079e Bug 1473513 - make log function safer so that tests do not time out; r=ochameau
Summary:
MozReview-Commit-ID: BIk5pWzxJcx

Depends on D6470

Reviewers: ochameau

Reviewed By: ochameau

Bug #: 1473513

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

--HG--
extra : rebase_source : 0284679e1a6d33ed915ebf69cf56557847bceb66
2018-09-26 10:04:57 +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
Julian Descottes
d03effab3f Bug 1493968 - Wait for initial targets in aboutdebugging navigate test to avoid race condition;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6975

--HG--
extra : moz-landing-system : lando
2018-09-27 05:48:45 +00:00
Daisuke Akatsuka
a5baf7ae30 Bug 1493883: Add 'name' field to network runtime for consistency. r=jdescottes
Depends on D6878

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

--HG--
extra : moz-landing-system : lando
2018-09-27 04:46:38 +00:00
Daisuke Akatsuka
e2089c90e6 Bug 1493883: Extract USB runtime data needed. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D6878

--HG--
extra : moz-landing-system : lando
2018-09-26 11:55:17 +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
shindli
a8d55dae12 Merge inbound to mozilla-central. a=merge 2018-09-27 00:52:12 +03: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
Julian Descottes
778d5e8d33 Bug 1489220 - Add mochitest for empty message in debug target pane;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6495

--HG--
extra : moz-landing-system : lando
2018-09-26 08:58:15 +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
arthur.iakab
e1e94e3d20 Merge mozilla-central to autoland 2018-09-26 15:57:12 +03:00
arthur.iakab
ec46826255 Merge inbound to mozilla-central. a=merge 2018-09-26 15:54:41 +03:00
sreeise
847b33d284 Bug 1423201 - Changed uses of defer to new Promise in devtools/server/tests/mochitest r=nchevobbe
Functions using 'defer' for promises are being switched to the 'new Promise' syntax. This is for changes in devtools/server/tests/mochitest.

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

--HG--
extra : moz-landing-system : lando
2018-09-26 02:44:56 +00:00
Xidorn Quan
c46ef183e2 Bug 1492012 - Enable scrollbar-color and scrollbar-width by default. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D6872

--HG--
extra : moz-landing-system : lando
2018-09-26 03:30:32 +00:00
Ciure Andrei
ce57be88b8 Merge inbound to mozilla-central. a=merge 2018-09-26 00:49:06 +03:00
Amy Chan
5c903b5d23 Bug 1479421 - Making the response panel visible; r=Honza
Making the response panel visible

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

--HG--
extra : moz-landing-system : lando
2018-09-26 07:14:33 +00:00
Alexandre Poirot
816dd96825 Bug 1490927 - Stop sharing maps in NetworkMonitor between all instances. r=Honza
When opening a web console and a browser console, we instantiate two NetworkMonitor
instances in the same process and they need independant states.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 23:26:05 +00:00
Julian Descottes
17903b38b8 Bug 1492863 - Fix react warnings in aboutdebugging-new;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6400

--HG--
extra : moz-landing-system : lando
2018-09-25 11:04:58 +00:00
Alexandre Poirot
e008acf411 Bug 1473513 - Backed out changeset 0e431edddacd for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 1BlQk4H0c1w

Depends on D6812

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6813
2018-09-25 19:35:14 +03:00
Alexandre Poirot
18a737b18d Bug 1473513 - Backed out changeset 27419719402e for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 43tUMmC1Je0

Depends on D6811

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6812
2018-09-25 19:35:00 +03:00
Alexandre Poirot
3695cdf575 Bug 1473513 - Backed out changeset 6fc241b06e0b for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 6dCPXvBYhsJ

Depends on D6810

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6811
2018-09-25 19:34:52 +03:00
Alexandre Poirot
67f96eff34 Bug 1473513 - Backed out changeset e56c70bd2f9a for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 9FIL35Nq726

Depends on D6809

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6810
2018-09-25 19:34:43 +03:00
Alexandre Poirot
bb3ecc7ca4 Bug 1473513 - Backed out changeset c690d2383ca4 for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: KSgxXnGdsJk

Depends on D6808

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6809
2018-09-25 19:34:35 +03:00
Alexandre Poirot
1255c658b2 Bug 1473513 - Backed out changeset d72f6ff37ca6 for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: LKPmFrhaQ5q

Depends on D6807

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6808
2018-09-25 19:34:26 +03:00
Alexandre Poirot
40272ff560 Bug 1473513 - Backed out changeset f9f12b44a3ab for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 8POm9seFrAk

Depends on D6806

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6807
2018-09-25 19:34:18 +03:00
Alexandre Poirot
58167747ab Bug 1473513 - Backed out changeset db43912632fb for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: DbUwQ0NQZcE

Depends on D6805

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6806
2018-09-25 19:34:09 +03:00
Alexandre Poirot
e73ec8adf4 Bug 1473513 - Backed out changeset 80c51a6e896e for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 3TCiKetO6fn

Depends on D6804

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6805
2018-09-25 19:34:01 +03:00
Alexandre Poirot
a3c7499a55 Bug 1473513 - Backed out changeset 174fe98999ea for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: GfSX2wYfLrN

Depends on D6803

Bug #: 1473513

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

--HG--
rename : devtools/server/actors/utils/actor-registry.js => devtools/server/actor-registry.js
2018-09-25 19:33:52 +03:00
Alexandre Poirot
8dac98409f Bug 1473513 - Backed out changeset 950ce58bfb24 for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary: MozReview-Commit-ID: 1HAisV9S6ls

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6803
2018-09-25 19:33:43 +03:00
Alexandre Poirot
62fca91459 Bug 1473513 - Fix merge conflict between bug 1473513 and 1485676 against this test. CLOSED TREE
Summary: MozReview-Commit-ID: KyizI0V5pt5

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6778
2018-09-25 17:24:00 +03:00
Alexandre Poirot
e490a53de2 Bug 1492826 - Better document TabTarget.attach as well as DebuggerClient.attachTarget and attachConsole. r=jdescottes
Depends On D6162

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

--HG--
extra : moz-landing-system : lando
2018-09-24 16:24:07 +00:00
Margareta Eliza Balazs
5ad86cabda Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-25 12:50:02 +03:00
Margareta Eliza Balazs
ffe6eaf2f0 Merge inbound to mozilla-central. a=merge 2018-09-25 12:42:09 +03:00
yulia
04d870f203 Bug 1473513 - move ActorRegistry module to server/actors/utils; r=ochameau
Depends on D6477

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

--HG--
rename : devtools/server/actor-registry.js => devtools/server/actors/utils/actor-registry.js
extra : moz-landing-system : lando
2018-09-25 08:47:10 +00:00
yulia
19b4e8fbe6 Bug 1473513 - resolve memory leak r=ochameau
Depends on D6476

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:06:25 +00:00
yulia
a0882d24f7 Bug 1473513 - reduce number of poolFor calls; r=ochameau
MozReview-Commit-ID: 9VqKPauAP9j

Depends on D6475

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:06:17 +00:00
yulia
1ad50b5afe Bug 1473513 - refactor main.js to use protocol.js pools; r=ochameau
MozReview-Commit-ID: FNMK4f553yI

Depends on D6474

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:05:47 +00:00
yulia
e857119004 Bug 1473513 - separate registerModule behavior from DebuggerServer; r=ochameau
MozReview-Commit-ID: 3GsXRxcIKfx

Depends on D6473

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

--HG--
rename : devtools/server/main.js => devtools/server/actor-registry.js
extra : moz-landing-system : lando
2018-09-25 08:05:29 +00:00
yulia
08c887b837 Bug 1473513 - Ensure that actorPools in root are destroyed on destroy; r=ochameau
Depends on D6472

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:04:59 +00:00
yulia
54d3f62aa0 Bug 1473513 - remove other instances of ActorPool from browsingContext and root; r=ochameau
MozReview-Commit-ID: GxkLzvxJgdY

Depends on D6471

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:04:41 +00:00
yulia
de5a5707d6 Bug 1473513 - make log function safer so that tests do not time out; r=ochameau
MozReview-Commit-ID: BIk5pWzxJcx

Depends on D6470

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:04:22 +00:00
yulia
1cea42cdd7 Bug 1473513 - create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor; r=ochameau
create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor;

Depends on D6468

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

--HG--
rename : devtools/server/actors/common.js => devtools/shared/protocol/lazy-pool.js
extra : moz-landing-system : lando
2018-09-25 08:03:42 +00:00
yulia
56e91adaa1 Bug 1473513 - use Protocol.js pools for workerTargetActorPool in Target Actors; r=ochameau
MozReview-Commit-ID: 5uIWwOR7CHp

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:02:11 +00:00
Gabriel Luong
697b700c0f Bug 1317102 - Part 3: Disable grid highlighter toggles in the markup when the max highlighter is reached. r=jdescottes
--HG--
rename : devtools/client/inspector/markup/test/browser_markup_grid_display_badge.js => devtools/client/inspector/markup/test/browser_markup_grid_display_badge_01.js
2018-09-24 20:38:11 -04:00
Julian Descottes
26887111d9 Bug 1489434 - Add i18n for DeviceSidebarItemAction component;r=birtles
Depends on D6614

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:38:52 +00:00
Julian Descottes
b246d48d96 Bug 1489434 - Add i18n for ConnectPage component;r=birtles
Depends on D6613

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:38:13 +00:00
Julian Descottes
641123a0a4 Bug 1489434 - Add i18n for NetworkLocationsForm component;r=birtles
Depends on D6612

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:37:19 +00:00
Julian Descottes
e22e59e285 Bug 1489434 - Add i18n for NetworkLocationsList component;r=birtles
Depends on D6611

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:35:23 +00:00