Commit Graph

11967 Commits

Author SHA1 Message Date
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
71aa1002dd Bug 1485676 - Prevent exceptions in the emulation actor when trying to use it while it is already destroyed. r=yulia
Depends On D4540

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

--HG--
extra : moz-landing-system : lando
2018-09-21 08:07:12 +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
Gurzau Raul
4fc41e9a2f Backed out changeset ce4f180d81e4 (bug 832983) for failing at /test/browser_net_leak_on_tab_close.js on a CLOSED TREE 2018-09-21 02:37:30 +03:00
Anshul Malik
c4a1f5d364 Bug 832983 - Basic support for adding xhr breakpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D5662

--HG--
extra : moz-landing-system : lando
2018-09-20 21:52:52 +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
Alexandre Poirot
162cf2b6ee Bug 1487337 - Bump devtools compatibility threshold up to 62 (current release version) r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D6252

--HG--
extra : moz-landing-system : lando
2018-09-20 09:11:26 +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
Emilio Cobos Álvarez
e39bf77494 Bug 1492567 - Back out bug 1481866. r=dbaron
Summary:
The behavior the WG proposed is way more subtle than what that bug implements,
including:

 * Implementing two logical overflow longhands.
 * Expanding the overflow shorthand to different longhands depending on the
   syntax of that.

Meanwhile, Blink hasn't done the swap and will ship the same behavior that we
shipped in Firefox 61 (bug 1453148), that is, overflow-x, then overflow-y.

So I think lacking a clear way forward we should revert this change and preserve
our shipped behavior.

Reviewers: dbaron!

Tags: #secure-revision

Bug #: 1492567

Differential Revision: https://phabricator.services.mozilla.com/D6317
2018-09-20 01:27:55 +02: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
Jim Blandy
46b1fcfb0f Bug 1491914 - Include a binding for ChromeUtils in the browser content toolbox. r=bgrins
--HG--
extra : rebase_source : dc2a99d7bd8b700b4abeccab4ee14af8ba225df8
2018-09-17 11:06:58 -07: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