Commit Graph

9878 Commits

Author SHA1 Message Date
Alexandre Poirot
7b7f2b7ebd Bug 1485676 - Adapt gDevTools.createTargetForTab to new TabTarget class. r=yulia
Summary: Depends On D4536

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: E3AIMyFgL5m
2018-09-24 01:24:59 -07:00
Alexandre Poirot
36471d8e5c Bug 1485676 - Convert TargetFactory.forTab call to forRemoteTab in debugger mochitest. r=yulia
Summary:
We are not passing a tab here. It only works by chance!

Depends On D4535

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: K0ztxPM2N6A
2018-09-24 01:24:58 -07:00
Alexandre Poirot
35bc2e7546 Bug 1485676 - Refactor gDevTools.getTargetForTab callsites to assume getTargetForTab is async. r=yulia
Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: FyERWaYipZo
2018-09-24 01:24:58 -07:00
Julian Descottes
cd7c5f04a6 Bug 1489421 - Add i18n for ExtensionDetail component;
Depends on D6609

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

--HG--
extra : moz-landing-system : lando
2018-09-24 12:48:41 +00:00
Julian Descottes
5fa076dfc7 Bug 1489423 - Add i18n for InspectAction component;
Depends on D6608

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

--HG--
extra : moz-landing-system : lando
2018-09-24 09:30:46 +00:00
Julian Descottes
400f74639c Bug 1489424 - Add i18n for ServiceWorkerAction component;
Depends on D6607

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

--HG--
extra : moz-landing-system : lando
2018-09-24 09:28:03 +00:00
Julian Descottes
56fb105866 Bug 1489419 - Add i18n for DebugTargetList component;
Depends on D6606

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

--HG--
extra : moz-landing-system : lando
2018-09-24 09:44:48 +00:00
Julian Descottes
54e21e5141 Bug 1489425 - Add i18n for TemporaryExtensionAction components;
Depends on D6605

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

--HG--
extra : moz-landing-system : lando
2018-09-24 09:44:17 +00:00
Julian Descottes
79420d3af8 Bug 1489426 - Add i18n for TemporaryExtensionInstaller component;
Differential Revision: https://phabricator.services.mozilla.com/D6605

--HG--
extra : moz-landing-system : lando
2018-09-24 09:43:54 +00:00
Nicolas Chevobbe
d9eff244dc Bug 1491354 - Extends top-level await mapping from debugger to toolbox; r=bgrins,jlast.
This patch makes the parser-worker available at the toolbox level.
This way, the console does not have to rely on the debugger being
open to map top-level await expression.
In order to make the worker works in the toolbox, some changes
are required (passing a window object, checking inToolbox differently).

We take this as an opportunity to *not* display the async iife result,
a promise, in the console. This is made by checking if the input was
mapped, and if so, ignoring the result we get from the server.

A couple tests are added to ensure the basic usage works as expected.

This patch should be considered as a v0 for top-level await evaluation
as there are things that are not perfect here. Since we rely on console.log
the result are treated differently from other evaluation results:
- the style is different
- the result gets added to the log cache (when restarting the console,
the results will still be displayed, but not the commands).
- the results can be filtered, although evaluation results should not
- `$_` after a top-level await evaluation returns the Promise created
by the async iife, not the result that was displayed in the console.

All those should be addressed in Bug 1410820.

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

--HG--
extra : moz-landing-system : lando
2018-09-24 08:17:30 +00:00
Preeti Mukherjee
23778fba25 Bug 1366534-convert uses of 'defer' to 'new Promise' in client/shadereditor;r=nchevobbe
convert uses of "defer" to "new Promise" in client/shadereditor

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

--HG--
extra : moz-landing-system : lando
2018-09-24 07:38:25 +00:00
shindli
957b91ec70 Backed out changeset 2defd19a1467 (bug 1491946) for ES lint failure 2018-09-24 10:37:54 +03:00
Julien Wajsberg
fa3590f449 Bug 1493680 - use the new getFront API and properly wait for the promise fullfilment r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D6671

--HG--
extra : moz-landing-system : lando
2018-09-24 15:50:35 +00:00
Brian Grinstead
22f06659d2 Bug 1492967 - Merge together remote-browser and browser bindings;r=ochameau,mconley
Differential Revision: https://phabricator.services.mozilla.com/D6462

--HG--
extra : moz-landing-system : lando
2018-09-24 16:24:04 +00:00
Jim Blandy
5c185b4f8f Bug 1491946: Save devtools heap snapshots with the extension '.fxsnapshot.gz'. r=fitzgen 2018-09-17 11:57:42 -07:00
David Walsh
aa73feb253 Bug 1314057 - Remove old debugger's breakpoints-button, parser, and scripts-switching tests r=jlast
--HG--
extra : histedit_source : d927c35523b12aa490be9ae44c7555d1b82f4499
2018-09-25 13:48:44 -05:00
David Walsh
d59a8d5878 Bug 1314057 - Remove pretty-print and blackboxing tests no longer relevant to new debugger r=jlast
--HG--
extra : histedit_source : ff9c32b7e6fd8b0260d0d5d0d951d64a7fa4eb01
2018-09-25 09:13:00 -05:00
Ciure Andrei
6760739b90 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-26 00:53:40 +03:00
Jason Laster
73902a3b9a Bug 1493151 - Update Debugger Frontend v89. r=dwalsh 2018-09-25 17:46:05 -04:00
Jim Blandy
4634133ae0 Bug 1491946: Save devtools heap snapshots with the extension '.fxsnapshot.gz'. r=fitzgen 2018-09-17 11:57:42 -07:00
Dao Gottwald
ab68e55ad5 Bug 1493412 - "Remove warning-64.png on Windows" r=ntim 2018-09-22 06:29:00 +03:00
Gurzau Raul
ad28ad0169 Backed out 9 changesets (bug 1485676) for failing at damp inspector/cold-open.js on a CLOSED TREE
Backed out changeset 4de2e71debfe (bug 1485676)
Backed out changeset e63025150c7a (bug 1485676)
Backed out changeset f9ef30ae3f7f (bug 1485676)
Backed out changeset a83636fab16a (bug 1485676)
Backed out changeset b1fd24929e09 (bug 1485676)
Backed out changeset acb27b915742 (bug 1485676)
Backed out changeset ba2157632772 (bug 1485676)
Backed out changeset d1d6b9bc2372 (bug 1485676)
Backed out changeset d7646ea8640b (bug 1485676)
2018-09-22 19:42:04 +03:00
Alexandre Poirot
f98d0997fe Bug 1485676 - Rename DebuggerClient.attachTab to attachTarget. r=jdescottes
Summary:
This method isn't specific to tabs. It can attach to any "target" actor that inherits from BrowsingContextActor.

Depends On D6161

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: Exz5fWyWyfN
2018-09-22 08:34:21 -07:00
Alexandre Poirot
8724260e30 Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: KmFi1LIUBga
2018-09-22 08:34:21 -07:00
Alexandre Poirot
48f5790c9b Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: JAwiySsBZBu
2018-09-22 08:34:20 -07:00
Alexandre Poirot
b553b3b567 Bug 1485676 - Adapt gDevTools API to new async forTab and also adapt its callsites. r=yulia
Summary:
When switching to async, it is important to catch exception or register a rejection handler
so that errors keep being logged.
So in this patch I'm catching exception in a couple of important codepath.

Depends On D4541

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: IDPJVkAPbTs
2018-09-22 08:34:20 -07:00
Alexandre Poirot
8cd354df9d Bug 1485676 - Tweak RDM manage to support new async forTab. r=yulia
Summary:
Fetching any target is now asynchronous. But RDM setup/destroy codepath is very fragile
and introduce many low level exception when trying to restore the original browser element
if any timing changes.
So this patch prevents trying to fetch the target object if a toolbox isn't already opened.
The target object is being used only for Telemetry purpose for now.

Depends On D4538

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: 2QDUNqentMP
2018-09-22 08:34:19 -07:00
Alexandre Poirot
5cd419ffca Bug 1485676 - Adapt gDevTools.createTargetForTab to new TabTarget class. r=yulia
Summary: Depends On D4536

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: E3AIMyFgL5m
2018-09-22 08:34:19 -07:00
Alexandre Poirot
1e7e1b1c81 Bug 1485676 - Convert TargetFactory.forTab call to forRemoteTab in debugger mochitest. r=yulia
Summary:
We are not passing a tab here. It only works by chance!

Depends On D4535

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: K0ztxPM2N6A
2018-09-22 08:34:18 -07:00
Alexandre Poirot
e2590d206d Bug 1485676 - Refactor gDevTools.getTargetForTab callsites to assume getTargetForTab is async. r=yulia
Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: FyERWaYipZo
2018-09-22 08:34:18 -07:00
Julien Wajsberg
8dccd09804 Bug 1492893 - [Devtools Performance-new] Remove the unused toolbox object from the redux store r=gregtatum
MozReview-Commit-ID: 1LJ6HypOYbM

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

--HG--
extra : moz-landing-system : lando
2018-09-21 15:57:05 +00:00
arthur.iakab
fb9c5e11eb Backed out 2 changesets (bug 1489224)
Backed out changeset d414a44d8119 (bug 1489224)
Backed out changeset 6300cdbc0e04 (bug 1489224)
2018-09-21 19:28:04 +03:00
Zibi Braniecki
83ea94f5ba Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame
Depends on D5924

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

--HG--
extra : moz-landing-system : lando
2018-09-21 15:30:37 +00:00
Julian Descottes
f0fe1b2410 Bug 1490301 - Always use relative paths in new about:debugging;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6398

--HG--
extra : moz-landing-system : lando
2018-09-21 11:31:07 +00:00
Julian Descottes
672c02580e Bug 1489224 - Add mochitest to check runtimes section of aboudebugging sidebar;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6402

--HG--
extra : moz-landing-system : lando
2018-09-21 14:38:16 +00:00
Julian Descottes
151130d992 Bug 1489224 - Fix order of tests in aboutdebugging-new;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6403

--HG--
extra : moz-landing-system : lando
2018-09-21 12:31:16 +00:00
Daisuke Akatsuka
edb0efe097 Bug 1405235 - Part 3: Remove extra extensions defining for test. r=jdescottes
Depends on D5648

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

--HG--
extra : moz-landing-system : lando
2018-09-21 12:17:26 +00:00
Daisuke Akatsuka
2b352eba33 Bug 1405235 - Part 2: Show USB devices using SidebarItem. r=jdescottes
Depends on D5647

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

--HG--
extra : moz-landing-system : lando
2018-09-20 03:27:05 +00:00
Daisuke Akatsuka
9d7105adee Bug 1405235 - Part 1: Implement a mechanism to show USB devices. r=jdescottes
Depends on D5386

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

--HG--
extra : moz-landing-system : lando
2018-09-21 11:24:18 +00:00
Tim Nguyen
3d54c50b09 Bug 1491609 - Update common.inc.css checkbox and radio styling. r=jaws,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D5983

--HG--
rename : toolkit/themes/shared/in-content/check-partial.svg => toolkit/themes/shared/icons/check-partial.svg
rename : browser/themes/shared/icons/check.svg => toolkit/themes/shared/icons/check.svg
extra : moz-landing-system : lando
2018-09-21 10:23:21 +00:00
arthur.iakab
6877b6a75c Backed out 9 changesets (bug 1485676)for perma failures in devtools/client/canvasdebugger/test/browser_canvas-actor-test-01.js CLOSED TREE
Backed out changeset 9f5ec2aa7109 (bug 1485676)
Backed out changeset 0d530c1316a4 (bug 1485676)
Backed out changeset 03278e6fe685 (bug 1485676)
Backed out changeset 275463260056 (bug 1485676)
Backed out changeset 4c5a956b33f7 (bug 1485676)
Backed out changeset d8fe80bb0e3c (bug 1485676)
Backed out changeset 56240996921f (bug 1485676)
Backed out changeset ec0a322f5cc9 (bug 1485676)
Backed out changeset f0f4f9407970 (bug 1485676)
2018-09-21 12:48:48 +03:00
Hiroyuki Ikezoe
7ea3b5e685 Bug 1492724 - Add ADBScanner once after the extension is installed or is ready. r=jdescottes
And remove the ADBScanner once the extension is uninstalled.

When RuntimeScanners.add is called for ADBScanner, RuntimeScanner calls
ADBScanner.enable(), thus ADB.start() is called.  Meanwhile WebIDE installs the
devtools adb extension if the extension hasn't installed yet.  So if the
ADB.start() is called before the installation finishes, ADB.start() fails.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 08:17:15 +00:00
Alexandre Poirot
cffaacada5 Bug 1485676 - Rename DebuggerClient.attachTab to attachTarget. r=jdescottes
This method isn't specific to tabs. It can attach to any "target" actor that inherits from BrowsingContextActor.

Depends On D6161

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

--HG--
extra : moz-landing-system : lando
2018-09-21 08:08:24 +00:00
Alexandre Poirot
c023333832 Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

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

--HG--
extra : moz-landing-system : lando
2018-09-21 08:08:11 +00:00
Alexandre Poirot
196d295b46 Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D4078

--HG--
extra : moz-landing-system : lando
2018-09-21 08:07:48 +00:00
Alexandre Poirot
71f3e5e9f8 Bug 1485676 - Adapt gDevTools API to new async forTab and also adapt its callsites. r=yulia
When switching to async, it is important to catch exception or register a rejection handler
so that errors keep being logged.
So in this patch I'm catching exception in a couple of important codepath.

Depends On D4541

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

--HG--
extra : moz-landing-system : lando
2018-09-21 08:07:25 +00:00
Alexandre Poirot
acb1662577 Bug 1485676 - Tweak RDM manage to support new async forTab. r=yulia
Fetching any target is now asynchronous. But RDM setup/destroy codepath is very fragile
and introduce many low level exception when trying to restore the original browser element
if any timing changes.
So this patch prevents trying to fetch the target object if a toolbox isn't already opened.
The target object is being used only for Telemetry purpose for now.

Depends On D4538

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

--HG--
extra : moz-landing-system : lando
2018-09-21 08:11:48 +00:00
Alexandre Poirot
2ec27d0a50 Bug 1485676 - Adapt gDevTools.createTargetForTab to new TabTarget class. r=yulia
Depends On D4536

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

--HG--
extra : moz-landing-system : lando
2018-09-21 08:11:53 +00:00
Alexandre Poirot
55c356daea Bug 1485676 - Convert TargetFactory.forTab call to forRemoteTab in debugger mochitest. r=yulia
We are not passing a tab here. It only works by chance!

Depends On D4535

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

--HG--
extra : moz-landing-system : lando
2018-09-21 08:06:34 +00:00
Alexandre Poirot
3d286eae18 Bug 1485676 - Refactor gDevTools.getTargetForTab callsites to assume getTargetForTab is async. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D4535

--HG--
extra : moz-landing-system : lando
2018-09-21 08:06:16 +00:00
arthur.iakab
f47edab318 Backed out changeset 45f7b6097f9b (bug 1491609)for browser chrome failures on static/browser_parsable_css.js
--HG--
rename : toolkit/themes/shared/icons/check.svg => browser/themes/shared/icons/check.svg
rename : toolkit/themes/shared/icons/check-partial.svg => toolkit/themes/shared/in-content/check-partial.svg
extra : rebase_source : 2eed09bef57a3b2a28dd4d6a738e2e9c14781125
2018-09-21 10:15:46 +03:00
Tim Nguyen
53a8a142a5 Bug 1491609 - Update common.inc.css checkbox and radio styling. r=jaws,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D5983

--HG--
rename : toolkit/themes/shared/in-content/check-partial.svg => toolkit/themes/shared/icons/check-partial.svg
rename : browser/themes/shared/icons/check.svg => toolkit/themes/shared/icons/check.svg
extra : moz-landing-system : lando
2018-09-20 21:34:14 +00:00
Mantaroh Yoshinaga
892caaf501 Bug 1476549 - Part 5. Modify the tests which is realted to frames button. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D4633

--HG--
extra : moz-landing-system : lando
2018-09-20 08:03:21 +00:00
Mantaroh Yoshinaga
993f83b2af Bug 1476549 - Part 4. Make the frame button to MenuButton. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D6353

--HG--
extra : moz-landing-system : lando
2018-09-20 06:54:39 +00:00
Mantaroh Yoshinaga
6bc54906ce Bug 1476549 - Part 3. Support the children of function type on the MenuButton. r=birtles
This patch will:
 - Call the children as function when rendering if MenuButton's children property is the function.
 - Add the callback which is called when the focused item changed.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 06:28:00 +00:00
Mantaroh Yoshinaga
0a1ca8ae92 Bug 1476549 - Part 2. Change the several functions to the local function of ToolboxToolbar. r=jdescottes
This patch will move the global functions of ToolboxToolbar to its local
function. As a result of this changes, each function can refer 'props' from
'this' scope.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 03:57:43 +00:00
Mantaroh Yoshinaga
c71dc7f54f Bug 1476549 - Part 1. Rename toolbox.onHightlightFrame to toolbox.onHighlightFrame. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4630

--HG--
extra : moz-landing-system : lando
2018-09-14 05:54:47 +00:00
Andreea Pavel
f5f6c0b588 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-21 00:54:47 +03:00
Gabriel Luong
239c817459 Bug 1478397 - Part 17: Replace %s with %S for flexbox.flexItemOf string in layout.properties. r=pbro 2018-09-20 11:58:56 -04:00
Gabriel Luong
e53bf4a2e8 Bug 1478397 - Part 16: Cache the custom host colors and the overlay color for the current host to avoid unnecessary fetching. r=pbro 2018-09-20 11:58:52 -04:00
Margareta Eliza Balazs
92be42b8f3 Merge inbound to mozilla-central. a=merge 2018-09-20 16:24:21 +03:00
yulia
825e041cf6 Bug 1485378 - Replace CallWatcher actor with helper; r=jdescottes
creates a CallWatcherActor only for tests and migrates other functionality to the helper

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

--HG--
rename : devtools/server/actors/call-watcher.js => devtools/client/canvasdebugger/test/call-watcher-actor.js
rename : devtools/shared/fronts/call-watcher.js => devtools/client/canvasdebugger/test/call-watcher-front.js
rename : devtools/shared/specs/call-watcher.js => devtools/client/canvasdebugger/test/call-watcher-spec.js
rename : devtools/server/actors/call-watcher.js => devtools/server/actors/utils/call-watcher.js
rename : devtools/server/actors/call-watcher.js => devtools/server/actors/utils/function-call.js
rename : devtools/shared/fronts/call-watcher.js => devtools/shared/fronts/function-call.js
rename : devtools/shared/specs/call-watcher.js => devtools/shared/specs/function-call.js
extra : moz-landing-system : lando
2018-09-20 13:41:26 +00:00
Julian Descottes
4f0efc181d Bug 1492373 - Wait for media-list-changed events to settle in browser_styleeditor_media_sidebar_links.js;r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D6283

--HG--
extra : moz-landing-system : lando
2018-09-20 07:14:27 +00:00
Margareta Eliza Balazs
5f3eea312b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-20 16:30:08 +03:00
Alexandre Poirot
8d5356574c Bug 1485605 - Remove usages of TabTarget.window. r=yulia
This code only works on non-e10s and appear to no longer be used.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 12:16:51 +00:00
Michael Ratcliffe
7cfa3eab78 Bug 1488206 - TelemetryStopwatch: error requesting elapsed time for nonexisting stopwatch r=Honza
Because firefox can be closed with the toolbox in a half initialized state telemetry can throw if it expects a tool to be closing when no tools are fully initialized although this is completely expected. Here we simply choose not to report those errors because this is expected behaviour.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 11:06:58 +00:00
Dorel Luca
c1a2ab3088 Backed out changeset 6a4032171aaf (bug 1485605) for Eslint failure on builds/worker/checkouts/gecko/devtools/client/framework/target.js. CLOSED TREE 2018-09-20 12:42:40 +03:00
Alexandre Poirot
75c671c299 Bug 1485605 - Remove usages of TabTarget.window. r=yulia
This code only works on non-e10s and appear to no longer be used.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 08:35:03 +00:00
Alexandre Poirot
f12c00cd13 Bug 1485671 - Expose and use TabClient.listFrames and switchToFrame. r=yulia
Depends On D6272

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

--HG--
extra : moz-landing-system : lando
2018-09-20 08:30:32 +00:00
Alexandre Poirot
036563e90b Bug 1485671 - Expose and use TabClient.logInPage instead of sending request manually. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D6272

--HG--
extra : moz-landing-system : lando
2018-09-20 07:50:54 +00:00
erickstm
d5553ea879 Bug 1491768 - Increase input history limit; r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D6254

--HG--
extra : moz-landing-system : lando
2018-09-19 15:24:15 +00:00
Daisuke Akatsuka
d4208803a0 Bug 1489221: Add tests for collapsibilities of DebugTargetPane. r=jdescottes
Depends on D6227

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

--HG--
extra : moz-landing-system : lando
2018-09-20 02:01:29 +00:00
Daisuke Akatsuka
5f86775660 Bug 1490950: Define aboutdebugging in script tag on html. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D6227

--HG--
extra : moz-landing-system : lando
2018-09-19 22:07:01 +00:00
Bogdan Tara
e7c653959c Merge inbound to mozilla-central. a=merge 2018-09-20 00:58:18 +03:00
Daisuke Akatsuka
0485028f23 Bug 1492101: Store a preference which includes extension existence after drag and drap instead of when closing toolbox. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D6225

--HG--
extra : moz-landing-system : lando
2018-09-19 08:24:25 +00:00
Julian Descottes
5f4566daa5 Bug 1492516 - Delete badge properties when removing badge element from the DOM;r=gl 2018-09-19 18:52:04 +02:00
Daisuke Akatsuka
e00f05a482 Bug 1490981: Disable browser_animation_keyframes-progress-bar test on win ccov. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D6229

--HG--
extra : moz-landing-system : lando
2018-09-19 11:46:03 +00:00
Jan Odvarko
d48833fbbc Bug 1491749 - Stop using xul:keyset and xul:key in toolbox-window.xul; r=bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D6015

--HG--
extra : moz-landing-system : lando
2018-09-19 09:58:08 +00:00
Nicolas Chevobbe
4064742f1a Bug 1491776 - Do not use markText to show the completion text; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D6020

--HG--
extra : moz-landing-system : lando
2018-09-18 19:22:01 +00:00
Xidorn Quan
8396cd75c7 Bug 1483075 - Merge the two scrollbar color properties into scrollbar-color. r=heycam,hiro
Differential Revision: https://phabricator.services.mozilla.com/D6115

--HG--
extra : moz-landing-system : lando
2018-09-19 05:33:12 +00:00
arthur.iakab
1ee75a928a Merge inbound to mozilla-central a=merge 2018-09-19 05:18:50 +03:00
Jason Laster
8d08b34677 Bug 1491983 - Update Debugger Frontend v88. r=dwalsh 2018-09-18 17:57:03 -04:00
Gabriel Luong
0a0c1deadd Bug 1478397 - Part 14: Selecting a flex item in the flex item selector should select that element in the markup view. r=rcaliman 2018-09-18 09:46:02 -04:00
Gabriel Luong
f22fa6beef Bug 1478397 - Part 13: Show the flex item sizing properties of the currently selected element in the markup view. r=rcaliman 2018-09-18 09:46:02 -04:00
Gabriel Luong
b9eaf11d5d Bug 1478397 - Part 12: Don't render the flex item list if there are no flex items. r=rcaliman 2018-09-18 09:46:02 -04:00
Gabriel Luong
b045aa35a7 Bug 1478397 - Part 11: Add a prev button to navigate from the flex item sizing view to flex container view. r=rcaliman 2018-09-18 09:46:02 -04:00
Gabriel Luong
c4de83b6c4 Bug 1478397 - Part 10: Adjust the flexbox header to match the design spec. r=rcaliman 2018-09-18 09:46:01 -04:00
Julian Descottes
f476808b99 Bug 1453044 - Throttle styleeditor mediaquery events;r=ochameau
This fixes a performance issue when a page has media-queries based
on the width of the viewport, and the user resizes the window.

If you have N media-queries impacted by a size change:
- each MediaRule will fire "matches-change" (so N events)
- for each "matches-change" the StyleSheetEditor.jsm responsible
  for it will fire "media-rules-changed" (still N events)
- for each "media-rules-changed" StyleEditorUI.jsm will call
  _updateMediaList to redraw the media queries sidebar for this editor
- for each rule in the editor _updateMediaList will call
  getOriginalLocation using the sourcemap service (so N * N calls)
  which will spawn an async task, a worker etc...

This is the "good" scenario if only one original file contains all
the N media queries. But if they are split amongst M original files,
each StyleSheetEditor will have and watch all the mediaRules of the
original file, even if it only displays its own part. They are
filtered later on in _updateMediaList (by calling getOriginalLocation).

Which means that in the end you get M * N * N calls to getOriginalLocation.

Throttling calls to media-rules-changed is an easy way to reduce the number
of actual calls to getOriginalLocation.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 14:59:18 +00:00
Julian Descottes
ba3e8f5bb2 Bug 1453044 - Add mochitest to assert number of StyleEditor ui updates after resize;r=ochameau
As mentioned in the discussion about the DAMP test, here is an attempt at checking this
with a mochitest. https://treeherder.mozilla.org/#/jobs?repo=try&revision=dafdefa6cb60d5530d0ce4f47522f7824e061903

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

--HG--
extra : moz-landing-system : lando
2018-09-18 14:45:28 +00:00
Nicolas Chevobbe
8831e47374 Bug 1420256 - Make longStrings wrap; r=Honza.
This makes long strings without spaces wrap in the console output.
Also fixes object with long string properties.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 12:50:16 +00:00
Razvan Caliman
e1ec07cbd1 Bug 1478448 - (Part 5) Add ChangeManager skeleton to pass tracked style changes to store. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D3330

--HG--
extra : moz-landing-system : lando
2018-09-18 08:56:47 +00:00
Razvan Caliman
f9e1b9b9aa Bug 1478448 - (Part 4) Render tracked style changes. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D3329

--HG--
extra : moz-landing-system : lando
2018-09-18 08:56:08 +00:00
Razvan Caliman
26f4d9adab Bug 1478448 - (Part 3) Add Track Changes sidebar panel in Inspector. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D3328

--HG--
rename : devtools/client/inspector/changes/moz.build => devtools/client/inspector/changes/components/moz.build
extra : moz-landing-system : lando
2018-09-18 08:55:36 +00:00
Razvan Caliman
98e03f52b3 Bug 1478448 - (Part 2) Add basic Redux actions and reducers for Track Changes. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D3327

--HG--
extra : moz-landing-system : lando
2018-09-18 08:54:51 +00:00
Razvan Caliman
1fd406758a Bug 1478448 - (Part 1) Add pref for Track Changes feature. r=nchevobbe
MozReview-Commit-ID: 3liB2MyJQ21

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

--HG--
extra : moz-landing-system : lando
2018-09-18 08:53:09 +00:00
Julian Descottes
d16c6c3ec8 Bug 1489223 - Add mochitest for adding/removing network locations in new aboutdebugging;r=daisuke
depends on D5798

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

--HG--
extra : moz-landing-system : lando
2018-09-18 08:42:54 +00:00
Julian Descottes
7b348a2724 Bug 1489223 - Always wait until client is ready when opening aboutdebugging in mochitests;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D5798

--HG--
extra : moz-landing-system : lando
2018-09-17 11:55:14 +00:00
Daisuke Akatsuka
059cf771d2 Bug 1492035: Remove DomNodePreview module. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D6116

--HG--
extra : moz-landing-system : lando
2018-09-18 07:53:31 +00:00
Julian Descottes
e361f7ef17 Bug 1492049 - Fix localization for ADB Extension strings in WebIDE;r=flod
Differential Revision: https://phabricator.services.mozilla.com/D6122

--HG--
extra : moz-landing-system : lando
2018-09-18 07:26:31 +00:00
Bogdan Tara
c8f52c0158 Merge inbound to mozilla-central. a=merge 2018-09-18 00:58:07 +03:00