Commit Graph

9965 Commits

Author SHA1 Message Date
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
Yura Zenevich
931d684ad7 Bug 1482461 - remove "New" bubble from Accessibility panel tab. r=gl
MozReview-Commit-ID: HOB4qlx0xJ5

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

--HG--
extra : moz-landing-system : lando
2018-10-01 16:58:23 +00:00
Julian Descottes
8ee8fcf903 Bug 1492374 - Uninstall ADB Helper when starting WebIDE addons module;r=ladybenko
Depends on D7058. To test this you should first install ADB helper
(xpis at https://ftp.mozilla.org/pub/labs/fxos-simulator/adb-helper/mac64/)
and then start webIDE. Normally ADB Helper should be removed.

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

--HG--
extra : moz-landing-system : lando
2018-10-01 15:42:23 +00:00
Julian Descottes
dfde1cb173 Bug 1492374 - Remove unused webide Addon abstract class;r=ladybenko
The addons module will be further simplified and transformed into a shared module
in coming bgs. Here since we introduce more ADBAddon-specific logic and we have no other
implementation for the Addon class, I prefer to remove it. (note that it was already doing
some adb-only processing in the current version anyway)

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

--HG--
extra : moz-landing-system : lando
2018-10-01 12:05:12 +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
Razvan Caliman
b44224fb5f Bug 1493961 - Font editor: replace capitalization via CSS text-transform with manual capitalization where needed. r=gl
Localization means words in other languages that shouldn't be capitalized will be if using CSS text-transform.

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

--HG--
extra : moz-landing-system : lando
2018-09-29 21:42:18 +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
Noemi Erli
0141b9c94c Backed out 4 changesets (bug 1488507, bug 1494170) for failures in browser/base/content/test/static/browser_all_files_referenced.js CLOSED TREE
Backed out changeset 51b6727d7abd (bug 1488507)
Backed out changeset 8887f8ebc376 (bug 1494170)
Backed out changeset fc1300333ea2 (bug 1494170)
Backed out changeset c9b20f40041d (bug 1494170)
2018-10-01 15:56:26 +03:00
Noemi Erli
31a0611e5a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-01 12:45:32 +03:00
Noemi Erli
05d24a8ad0 Merge inbound to mozilla-central. a=merge 2018-10-01 12:41:32 +03:00
Daisuke Akatsuka
9d101b9e44 Bug 1488507: Disable extension/worker debugging except this firefox. r=jdescottes
Depends on D7038

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

--HG--
extra : moz-landing-system : lando
2018-10-01 09:17:38 +00:00
Daisuke Akatsuka
c9e805c422 Bug 1494170: Show device name for Android. r=jdescottes
Depends on D7037

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

--HG--
extra : moz-landing-system : lando
2018-10-01 07:58:51 +00:00
Daisuke Akatsuka
11214aad9d Bug 1494170: Show proper icon of runtime. r=jdescottes
Depends on D7036

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

--HG--
extra : moz-landing-system : lando
2018-10-01 07:41:31 +00:00
Daisuke Akatsuka
f83a54699b Bug 1494170: Show proper runtime's name and version. r=jdescottes
Depends on D6881

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

--HG--
extra : moz-landing-system : lando
2018-10-01 07:33:16 +00:00
Julien Wajsberg
c2de61821b Bug 1459720 - Add a test that checks that we correctly launch the perf panel when pushing the button in WebIDE r=jdescottes
Depends on D6904

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

--HG--
extra : moz-landing-system : lando
2018-10-01 06:21:54 +00:00
Alexander Surkov
bdd3f4e880 Bug 1494230 - replace #text-base binding by webidl control, r=smaug 2018-10-01 11:37:39 +08:00
yulia
9809b1f863 Bug 1488381 - Use target.getFront to instantiate WebExtensionInspectedWindowFront; r=ochameau
Depends on D6768

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

--HG--
extra : moz-landing-system : lando
2018-09-28 17:52:26 +00:00
yulia
93303e9746 Bug 1488370 - Use target.getFront to instantiate WebGLFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7094

--HG--
extra : moz-landing-system : lando
2018-09-28 18:04:29 +00:00
yulia
b107324366 Bug 1488374 - Use target.getFront to instantiate StorageFront; r=ochameau
Depends on D7061

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

--HG--
extra : moz-landing-system : lando
2018-09-30 06:55:23 +00:00
arthur.iakab
6d5ae40a02 Merge inbound to mozilla-central a=merge 2018-09-29 07:16:35 +03:00
Logan Smyth
1fe5b507c8 Bug 1495029 - Add source-map@0.7.3's mappings.wasm asset to prepare for upgrade. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D7207

--HG--
rename : devtools/client/shared/source-map/dwarf_to_json.wasm => devtools/client/shared/source-map/assets/dwarf_to_json.wasm
extra : moz-landing-system : lando
2018-09-28 19:41:21 +00:00
Tiberius Oros
5b3b1df198 Merge inbound to mozilla-central. a=merge 2018-09-28 18:39:03 +03: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
Alexandre Poirot
c4e18d3974 Bug 1494305 - Refactor all tabClient usages to use promise API instead of callback style r=yulia
MozReview-Commit-ID: DZVG1X45sQV

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

--HG--
extra : moz-landing-system : lando
2018-09-26 18:02:45 +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
Alexandre Poirot
4c1bb0403e Bug 1397020 - Remove useless calls to TabTarget.attach r=yulia
TabTarget.attach is being called from the toolbox, before opening the tools,
so we do not have to call it from panel's open functions, nor code that is opening
a toolbox right after.

MozReview-Commit-ID: 77TZFbvOaFt

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

--HG--
extra : moz-landing-system : lando
2018-09-26 21:11:51 +00:00