Commit Graph

1948 Commits

Author SHA1 Message Date
Nicholas Nethercote
a8478fc575 Bug 1489381 - Remove devtools code depending on nsISettingsService. r=jdescottes
nsISettingsService isn't implemented, and hasn't been for some time. This patch
removes its use, and removes all the code that depends on its presence,
including getSetting() and getWallpaper().

--HG--
extra : rebase_source : e718bd5daf03179d42f42e00a55e0bebe3a03a2d
2018-09-07 15:01:22 +10:00
Belen Albeza
0bb5316f21 Bug 1488769 - Slotted nodes not being displayed in Shadow DOM tree if the node is a text. r=jdescottes
r=jdescottes

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

--HG--
extra : moz-landing-system : lando
2018-09-11 15:47:09 +00:00
Michael Ratcliffe
435b3473b5 Bug 1457330 - TypeError: quads is undefined r=pbro
Just added a little more caution to the box model highlighter when getting quads.

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

--HG--
extra : moz-landing-system : lando
2018-09-11 13:40:39 +00:00
Brad Werth
f6fd1a0004 Bug 1414597: Fix devtools inspector load events to correctly listen to XUL documents. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D4495

--HG--
extra : moz-landing-system : lando
2018-09-10 19:20:01 +00:00
Dorel Luca
37663bb870 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-07 19:35:34 +03:00
Gabriel Luong
c6d97e79f2 Bug 1487806 - Add a null check for the flex argument in getFlexData. r=jdescottes 2018-09-07 10:20:28 -04:00
Julian Descottes
7be03c4f9e Bug 1486703 - Display correct hostOnly values in storage inspector;r=miker
Differential Revision: https://phabricator.services.mozilla.com/D4712

--HG--
extra : moz-landing-system : lando
2018-09-07 10:41:42 +00:00
Jan Odvarko
d548370809 Bug 1487274 - Use nsIHttpChannel.isThirdPartyTrackingResource to identify trackers; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D5018

--HG--
extra : moz-landing-system : lando
2018-09-07 06:55:19 +00:00
Julian Descottes
e82936d001 Bug 1487284 - Update message manager in actors spawned in parent after browserSwap;r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D5028

--HG--
extra : moz-landing-system : lando
2018-09-06 16:06:34 +00:00
yulia
9611217838 Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

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

--HG--
extra : moz-landing-system : lando
2018-09-06 11:42:57 +00:00
arthur.iakab
4862d62ddf Backed out changeset 5e21be5fdf9d (bug 1429421)for build busteges CLOSED TREE 2018-09-06 12:12:40 +03:00
yulia
139e4e0b9a Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

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

--HG--
extra : moz-landing-system : lando
2018-09-06 08:55:50 +00:00
Tom Schuster
5043294758 Bug 1440468 - Fix devtools test for new Function.prototype.toString behavior. r=yulia
--HG--
extra : rebase_source : cf924cd850c094d782aefc3037a648082f709695
extra : histedit_source : 0055b621cbfbb943eb6229a6ad3800b3deaa99d5
2018-09-03 23:47:56 +02:00
yulia
5ecbde0627 Bug 1447490 - replace GCLI toolbox buttons with highlighters and appropriate actors; r=ochameau
GCLI has been handling the state of our buttons as well as managing shared highlighters.
Since the gcli removal, we no longer share the rulers and measure with any other UI, so a location
for shared state is no longer needed.

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

--HG--
extra : moz-landing-system : lando
2018-09-03 14:54:04 +00:00
Luca Greco
1ca131a754 Bug 1487836 - Fix innerWindowID used for the WebExtensions devtools API eval denied errors. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4782

--HG--
extra : moz-landing-system : lando
2018-09-03 06:29:21 +00:00
Belén Albeza
2d4733b9f8 Bug 1449955 - Server-side test for walker + shadow DOM r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4675

--HG--
extra : moz-landing-system : lando
2018-09-01 08:31:35 +00:00
Brian Hackett
0f3aa39754 Bug 1479909 Part 1 - Tolerate multiple scripts with the same source when replaying, r=jimb.
--HG--
extra : rebase_source : 4d87612a5b1ee78f461d536f4227865e67efe24a
2018-08-30 11:58:33 -10:00
yulia
526ca5771c Bug 1447487 - fix async destroy issues caused by destroying actor prototype at end of inspector
actor CLOSED TREE

--HG--
extra : amend_source : bae6232ee3f5f6352b6abe5c4513be08e26fc289
2018-08-31 16:11:00 +02:00
Margareta Eliza Balazs
21ac80ec93 Backed out changeset 3e4836ce7109 (bug 1447484) for landing the patch with the wrong bug number CLOSED TREE
--HG--
extra : amend_source : 7a5b31230a8e38758c6f247f9bcc468f1fd36f17
2018-08-31 17:07:51 +03:00
yulia
0e9801d96d Bug 1447484 - fix async destroy issues caused by destroying actor prototype at end of inspector
actor; CLOSED TREE

--HG--
extra : amend_source : ee58ed641cecc7fa1beba2a26e4d362dd5de0bf5
2018-08-31 15:53:47 +02:00
yulia
5facf882eb Bug 1485374 - fix race condition on sidebar destruction
--HG--
extra : rebase_source : fb043c3e2cc9a0d7360aa1fd1467caeea8a45acc
extra : source : a7a0c3893a27c9aa13abc5a04891a026d1604d9e
2018-08-31 14:18:46 +02:00
yulia
7602f12fd8 Bug 1485022 - use target.reconfigure to set paint flashing; r=ochameau
Set the targets paintflashing via the reconfigure on the target.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 14:05:31 +00:00
arthur.iakab
c9d7c4fa05 Merge mozilla-central to mozilla-inbound 2018-08-30 01:16:38 +03:00
Alexandre Poirot
0a7bb76603 Bug 1482990 - Use different message names for inbound/outbound message between console and netmonitor actors. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4521

--HG--
extra : moz-landing-system : lando
2018-08-29 12:38:24 +00:00
Margareta Eliza Balazs
2fe43133db Merge inbound to mozilla-central. a=merge 2018-08-29 12:43:37 +03:00
Ciure Andrei
c7bd3f7ba5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-29 01:06:58 +03:00
Ciure Andrei
d716a04e20 Merge inbound to mozilla-central. a=merge 2018-08-29 00:58:21 +03:00
Michael Ratcliffe
f99d1fce0e Bug 1435429 - Android 'mach mochitest' fails: 'A cross-directory support file path noted in a test manifest does not appear in any other manifest.' r=bc,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D4214

--HG--
extra : moz-landing-system : lando
2018-08-28 20:29:58 +00:00
Nicolas Chevobbe
f9b5460bf2 Bug 672733 - Make autocomplete search case insensitive; r=Honza.
This patch adds a smarter heuristic for autocompletion results:
if the input first letter is lowercased, then we'll filter
matching properties case insensitively. But if the user starts
with an uppercase, we assume they know the property they want
and thus respect the casing.
For example: `win` will return both `window` and `Window`, but
`Win` will return `Window` only.
Due to this behavior, we change the order of the autocomplete
results so lowercased property are displayed before the uppercased
one.
If we take are example again, it's likely that if a user type `win`,
they want `window`, but the alphabetical order would return `Window`
first which would annoy user.

Now, since we return results that does not match exactly the user
input, we need to modify the frontend.

Usually, we only show the autocompletion popup if there are
at least 2 matching items, since 1 matching item will still
be displayed using the autocompletion text. But now, since the
input might not match, we want to still display the popup if
there is one matching item, but starts differentely than what
the user entered.
For example, the user typed `window.addeve`, which matches
`addEventListener`. The completion text will make it looks like
it will be completed to `window.addeventListener`, which would
be undefined. So showing the popup with the actual matching
property might avoid some confusion for the user.

A test was added to make sure the frontend works as expected.
Some test cases were added in the server test to make sure
the actor returns expected results. Other tests needed some
adjustement because of the insensitive case matches and the
new order of results.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 16:08:56 +00:00
Cosmin Sabou
1f05c39e5d Merge mozilla-central to autoland. a=merge 2018-08-27 18:59:16 +03:00
Cosmin Sabou
55da592d85 Backed out 4 changesets (bug 956376) for causing a spike of failures in bug 1438778. a=backout
Backed out changeset 9cb7826b8f28 (bug 956376)
Backed out changeset 37f94ae472d6 (bug 956376)
Backed out changeset d96d56907ce0 (bug 956376)
Backed out changeset ee0b4798b061 (bug 956376)
2018-08-27 18:52:57 +03:00
yulia
e259742bdf Bug 1483173 - introduce screenshot actor; r=ochameau
This patch introduces a screenshot actor, which allows the screenshot functionality to be
shared across tools, and also implements it for the toolbox itself

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

--HG--
rename : devtools/server/actors/webconsole/screenshot.js => devtools/shared/screenshot/capture.js
rename : devtools/shared/webconsole/screenshot-helper.js => devtools/shared/screenshot/save.js
extra : moz-landing-system : lando
2018-08-27 15:14:10 +00:00
Margareta Eliza Balazs
a629c5e84f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-27 12:44:17 +03:00
yulia
1bfcdf90b1 Bug 1485939 - use eager loading for evalWithDebugger; r=nchevobbe
use Eager loading for evalWithDebugger

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

--HG--
extra : moz-landing-system : lando
2018-08-27 06:15:14 +00:00
Tooru Fujisawa
ffbb3799ed Bug 1486140 - Add Learn More links for JSMSG_PROPERTY_FAIL and JSMSG_PROPERTY_FAIL_EXPR r=nchevobbe 2018-08-29 14:58:07 +09:00
Ciure Andrei
9aabc73223 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-29 01:31:20 +03:00
Kris Maglione
93703861d1 Bug 1486182: Part 3 - Remove unused XPCOMUtils.enumerateCategoryEntries method. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D4280

--HG--
extra : rebase_source : 6e09e6c46cee8ebe0e942f7135408a5b075066d1
2018-08-24 17:20:50 -07:00
Tooru Fujisawa
408ba66bfc Bug 956376 - Part 4: Use Debugger.findSources in PromisesActor#attach. r=ochameau 2018-08-23 09:27:31 +09:00
Tooru Fujisawa
d3fc03d405 Bug 956376 - Part 3: Use Debugger.findSources in ThreadActor#_discoverSources. r=ochameau 2018-08-23 09:27:30 +09:00
Tooru Fujisawa
beda8d2e75 Bug 956376 - Part 2: Support Debugger#findSource in WebReplay. r=jimb 2018-08-27 08:17:39 +09:00
Kris Maglione
9a8a840c9d Bug 1484496: Part 5d - Convert devtools/ nsISimpleEnumerator users to use JS iteration. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3732

--HG--
extra : rebase_source : 0154c72286ce0ca3ade84c5c360122861a36c7b0
extra : histedit_source : 83a8b267becbf86db5f8789d3673bd529da35286
2018-08-18 19:28:37 -07:00
Brian Hackett
05a653076f Bug 1483319 Part 5 - Ensure that the child process is replaying when sending requests that might trigger recording divergence, r=jimb.
--HG--
extra : rebase_source : 330e69e64ff1247049e75fe4e7260a487e3b6463
2018-08-18 05:40:13 -10:00
Brian Hackett
a5ab0eb31b Bug 1483319 Part 1 - Transmit console message arguments as debuggee values, r=jimb.
--HG--
extra : rebase_source : 543fc9485766c0cbfa8d187cec225088ab16c385
2018-08-18 05:39:01 -10:00
Cosmin Sabou
3211507dfb Merge mozilla-inbound to mozilla-central. a=merge 2018-08-24 00:40:14 +03:00
Gabriel Luong
44a09b6489 Bug 1478397 - Part 3: Return the computed style properties and flex item sizing information from the FlexItemActor. r=rcaliman 2018-08-28 10:43:40 -04:00
Gabriel Luong
24cbdfc7b5 Bug 1478397 - Part 1: Implement a FlexItemActor to retrieve information about the flex items. r=rcaliman 2018-08-28 10:43:39 -04:00
Alexandre Poirot
fed04d2b6d Bug 1026583 - Prevent emitting webconsole event when its actor is already destroyed. r=Honza
Summary: Depends On D4330

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1026583

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

MozReview-Commit-ID: 5yGFUQq4J9W
2018-08-28 05:42:33 -07:00
Alexandre Poirot
621a50208d Bug 1026583 - Avoid sending network monitor events when the related actors are already destroyed. r=Honza
Summary: Depends On D4329

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1026583

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

MozReview-Commit-ID: H8j43mSIUnc
2018-08-28 05:42:33 -07:00
Gurzau Raul
ebba8abeef Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-23 15:30:45 +03:00
Csoregi Natalia
67cc8b873a Backed out 3 changesets (bug 956376) for browser_dbg-quick-open.js failures. a=backout
Backed out changeset 3e61a2874367 (bug 956376)
Backed out changeset 8169bed1fafc (bug 956376)
Backed out changeset 46dfdfe14067 (bug 956376)
2018-08-23 15:15:31 +03:00