Commit Graph

9934 Commits

Author SHA1 Message Date
Gabriel Luong
bbe39d87b7 Bug 1494162 - Part 6: Lazy load the modules in the ElementContainer. r=pbro 2018-09-28 12:43:08 -04:00
Gabriel Luong
90be821092 Bug 1494162 - Part 5: Lazy load modules in ElementEditor. r=pbro 2018-09-28 12:42:16 -04:00
Gabriel Luong
67dba9eced Bug 1494162 - Part 4: Lazy load the modules in the TextEditor. r=pbro 2018-09-28 12:42:09 -04:00
Noemi Erli
8e345b1180 Backed out 16 changesets (bug 1494162, bug 1464192) for failures in test_css-logic-getCssPath.html CLOSED TREE
Backed out changeset 0d5a593adfda (bug 1494162)
Backed out changeset ea5d67d3c2ae (bug 1494162)
Backed out changeset 98c531e6f8d4 (bug 1494162)
Backed out changeset 973fbb5bbadc (bug 1464192)
Backed out changeset bbbf97a5802e (bug 1494162)
Backed out changeset c1dac4bffc06 (bug 1494162)
Backed out changeset c90d929f87f2 (bug 1494162)
Backed out changeset f90da1a0201b (bug 1494162)
Backed out changeset ee129a8c5e00 (bug 1494162)
Backed out changeset 10143ae649e5 (bug 1494162)
Backed out changeset f700e44ea63f (bug 1494162)
Backed out changeset cb2b02dc4b47 (bug 1494162)
Backed out changeset 4880d9571aa7 (bug 1494162)
Backed out changeset b9e187182a0f (bug 1494162)
Backed out changeset f077ffe76ca5 (bug 1494162)
Backed out changeset ef609de4cd5c (bug 1494162)
2018-09-28 21:57:12 +03:00
Gabriel Luong
1f1665c9f1 Bug 1464192 - Part 21: Lazy initialize KeyShortcuts on focus of the HTMLBreadcrumbs. r=pbro 2018-09-28 13:51:10 -04:00
Gabriel Luong
b487d0bddb Bug 1494162 - Part 15 Followup followup: Lazy require isCssVariable. r=me CLOSED TREE 2018-09-28 13:45:07 -04:00
Gabriel Luong
96721a5bdc Bug 1494162 - Part 15 Followup: Fix eslint error. r=me CLOSED TREE 2018-09-28 13:38:41 -04:00
Gabriel Luong
5525c2ed7a Bug 1494162 - Part 17: Lazy load the redux middlewares in create-store. r=pbro 2018-09-28 13:14:34 -04:00
Gabriel Luong
a97b421f89 Bug 1494162 - Part 16: Lazy load the TimeScale module in the animation reducer. r=pbro 2018-09-28 13:14:33 -04:00
Gabriel Luong
b5b5192fad Bug 1494162 - Part 15: Use the cached css properties in the rules view. r=pbro 2018-09-28 13:14:33 -04:00
Gabriel Luong
6b354c946b Bug 1494162 - Part 14: Lazy load parseNamedDeclarations in Rule. r=pbro 2018-09-28 12:49:02 -04:00
Gabriel Luong
a42fe83d7e Bug 1494162 - Part 13: Lazy load modules in the TextPropertyEditor. r=pbro 2018-09-28 12:48:50 -04:00
Gabriel Luong
4b1627ebd3 Bug 1494162 - Part 12: Lazy load modules in RuleEditor. r=pbro 2018-09-28 12:48:28 -04:00
Gabriel Luong
ff332d9128 Bug 1494162 - Part 11: Lazy load promiseWarn in the rules model. r=pbro 2018-09-28 12:48:06 -04:00
Gabriel Luong
8b22be6019 Bug 1494162 - Part 10: Lazy initialize the event details and image tooltip in the markup view. r=pbro 2018-09-28 12:45:16 -04:00
Gabriel Luong
5e8106b3ca Bug 1494162 - Part 7: Lazy load modules in the shared inspector utils. r=pbro 2018-09-28 12:43:37 -04:00
Gabriel Luong
7d2c7aa8b6 Bug 1494162 - Part 6: Lazy load the modules in the ElementContainer. r=pbro 2018-09-28 12:43:08 -04:00
Gabriel Luong
b29d5f4b24 Bug 1494162 - Part 5: Lazy load modules in ElementEditor. r=pbro 2018-09-28 12:42:16 -04:00
Gabriel Luong
3c7d990b5c Bug 1494162 - Part 4: Lazy load the modules in the TextEditor. r=pbro 2018-09-28 12:42:09 -04:00
Gabriel Luong
97b3aca03a Bug 1494162 - Part 3: Lazy load the SlottedNodeContainer in the markup view. r=pbro
The assumption is that there aren't many webpages that are currently using web
components yet so we may want to take advantage of lazily loading the
SlottedNodeContainer.
2018-09-28 12:33:17 -04:00
Gabriel Luong
79b9377e12 Bug 1494162 - Part 2: Lazy load the UndoStack in the markup view. r=pbro 2018-09-28 12:32:12 -04:00
Tiberius Oros
3e2d191873 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-28 18:42:23 +03:00
Tiberius Oros
5b3b1df198 Merge inbound to mozilla-central. a=merge 2018-09-28 18:39:03 +03:00
Gabriel Luong
4ac81fe9aa Bug 1494162 - Part 22: Remove onUnderflow call in ArrowScrollBox init. r=pbro 2018-09-28 11:33:32 -04:00
Gabriel Luong
ea6fc10e6e Bug 1494162 - Part 31: Lazy load the Reps in the layout panel. r=Honza 2018-09-28 11:30:53 -04:00
Julien Wajsberg
6ddb5fb144 Bug 1459720 - Move the performance panel out of the toolbox to the WebIDE's top level window r=jdescottes
This effectively removes the devtools overhead while profiling... as
long as the toolbox isn't opened as well of course.

This also removes the performance panel from the Browser Toolbox and the
Browser Content Toolbox where it shouldn't have been in the first place.

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

--HG--
extra : moz-landing-system : lando
2018-09-28 12:48:05 +00:00
Alexandre Poirot
5982b4bf8b Bug 1494288 - Remove noTabReconfigureOnClose trait and client code to reconfigure on disconnect r=yulia
MozReview-Commit-ID: 4zy9ho4425q

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

--HG--
extra : moz-landing-system : lando
2018-09-28 07:39:44 +00:00
yulia
bb6365c720 Bug 1487428 - Use target.getFront in server browser tests; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D6768

--HG--
extra : moz-landing-system : lando
2018-09-28 05:46:29 +00:00
yulia
2324dc62c4 Bug 1485373 - Use client.mainRoot.getFront to fetch all global actors; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D6792

--HG--
extra : moz-landing-system : lando
2018-09-28 07:07:14 +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
Daisuke Akatsuka
c6aa91edfc Bug 1494169 - Part 1: Show connect button to USB debice. r=jdescottes
Depends on D6878

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

--HG--
extra : moz-landing-system : lando
2018-09-27 07:38:15 +00:00
Bogdan Tara
273a59bcda Backed out changeset e7624782898d (bug 1487428) for test_inspector-insert.html failures CLOSED TREE 2018-09-27 23:38:04 +03:00
Jason Laster
b0a0465f39 Bug 1491471 - Move the OI store to the console. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D5911

--HG--
rename : devtools/client/shared/components/reps/reps.js => devtools/client/shared/components/reps/reps-old.js
extra : moz-landing-system : lando
2018-09-27 20:09:51 +00:00
yulia
26f84dc0e4 Bug 1487428 - Use target.getFront in server browser tests; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D6768

--HG--
extra : moz-landing-system : lando
2018-09-27 15:18:08 +00:00
Nicolas Chevobbe
433264a3b1 Bug 1410820 - Extensively test top-level await evaluation; r=bgrins.
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 $_, …).

Depends on D6925

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

--HG--
extra : moz-landing-system : lando
2018-09-27 16:01:16 +00:00
Nicolas Chevobbe
674b26da5e Bug 1410820 - Enhance webconsole test helpers; r=bgrins.
1. Allow passing a selector to waitForMessage helper function:

This will allow to wait for specific message (warning, error, result, …).
This patch also fixes 2 tests that were already passing an erroneous selector
to waitForMessage.

2. Add an executeAndWaitForMessage function:

This will make a lot of our tests much easier to read. The function takes
an input, an expected output and an optional selector, execute the input
and resolves when a message matching the provided text (and selector
if passed) is displayed in the output.

Depends on D6903

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

--HG--
extra : moz-landing-system : lando
2018-09-27 16:00:32 +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
Nicolas Chevobbe
237c4ba134 Bug 1494545 - Make Ctrl+Space open the autocomplete popup in the console; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D7049

--HG--
extra : moz-landing-system : lando
2018-09-27 16:36:11 +00:00
Gurzau Raul
a8d8876e9e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-27 19:45:35 +03:00
Julien Wajsberg
9ce2cbff3e Bug 1494337 - Do not display the 'triggers refresh' note if there's no option needing it r=ochameau
Depends on D6923

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

--HG--
extra : moz-landing-system : lando
2018-09-27 14:33:41 +00:00
Julien Wajsberg
f74fc26e96 Bug 1494337 - Move the 'tool not supported' label to the right place r=ochameau
Depends on D6922

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

--HG--
extra : moz-landing-system : lando
2018-09-27 14:33:39 +00:00
Julien Wajsberg
b29f25d7b3 Bug 1494337 - Insert the settings for nightly before the 'reloads the page' indication r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D6922

--HG--
extra : moz-landing-system : lando
2018-09-27 14:33:38 +00:00
StefanYohansson
41d490dca9 Bug 1172314 - Print arguments passed into console.trace. r=bgrins.
Added trace extra parameters to be printed alongside console.trace() output.

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

--HG--
extra : moz-landing-system : lando
2018-09-27 13:27:57 +00:00
Nicolas Chevobbe
89eca29ba9 Bug 1492827 - Remove unused listeners and handlers from webconsole-connection-proxy; r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D7073

--HG--
extra : moz-landing-system : lando
2018-09-27 11:46:26 +00: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
dd29e366ea Bug 1473513 - refactor main.js to use protocol.js pools; r=ochameau
Summary:
MozReview-Commit-ID: FNMK4f553yI

Depends on D6474

Reviewers: ochameau

Reviewed By: ochameau

Bug #: 1473513

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

--HG--
extra : rebase_source : c61d394da0a20991def49968f01ee563fea9afde
2018-09-26 10:07:27 +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
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
Michael Ratcliffe
4e3c6d2b5f Bug 1491879 - Fix telemetry support for multiple tabs / windows r=nchevobbe
- Various telemetry methods now need an object to be passed in in order to keep them seperate e.g. if the inspector is opened in tab 1 a timer is started. If an inspector is opened in tab 2 the same timer is restarted. Closing tab 2 would then erase the timing event invalidating the timer in tab 1.
- We no longer need to preface telemetry calls with category "devtools.main" because this is the only category we will be using.
- There are some changes to `devtools/client/debugger/new/dist/vendors.js` and `devtools/client/debugger/new/src/utils/telemetry.js` that need to be ported to the debugger at the same time as landing this.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 12:57:13 +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