Commit Graph

1573 Commits

Author SHA1 Message Date
yulia
56e91adaa1 Bug 1473513 - use Protocol.js pools for workerTargetActorPool in Target Actors; r=ochameau
MozReview-Commit-ID: 5uIWwOR7CHp

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:02:11 +00:00
Anshul Malik
efdb07ca38 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-21 22:20:37 +00:00
shindli
51a3c01ced Backed out 9 changesets (bug 1485676) for failures in browser/tools/mozscreenshots/devtools/browser_devtools.js CLOSED TREE
Backed out changeset d358feec4ca1 (bug 1485676)
Backed out changeset ed554dbb062f (bug 1485676)
Backed out changeset 6e78058df94d (bug 1485676)
Backed out changeset 3a6f1b0e71f4 (bug 1485676)
Backed out changeset 16d2403aa787 (bug 1485676)
Backed out changeset 454eddf52157 (bug 1485676)
Backed out changeset 926f725f2183 (bug 1485676)
Backed out changeset fb03f174bd5f (bug 1485676)
Backed out changeset ceb93dd1799a (bug 1485676)
2018-09-24 15:27:27 +03:00
Andrea Marchesini
61a7f9a598 Bug 1260399 - Remove deprecated messages in nsICookieManager methods - part 1 - nsICookieManager.add(), r=ehsan 2018-09-24 11:37:56 +02:00
Alexandre Poirot
81c6eab1f0 Bug 1485676 - Prevent exceptions in the emulation actor when trying to use it while it is already destroyed. r=yulia
Summary: Depends On D4540

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: 2fTZ4WRq9je
2018-09-24 01:25:00 -07: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
036625ce21 Bug 1485676 - Prevent exceptions in the emulation actor when trying to use it while it is already destroyed. r=yulia
Summary: Depends On D4540

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: 2fTZ4WRq9je
2018-09-22 08:34:20 -07:00
Brindusan Cristian
4c389d3514 Backed out changeset 70d1a0c0270c (bug 832983) for devtools failures on /test/browser_inspector_pseudoclass-lock.js. CLOSED TREE 2018-09-21 23:23:59 +03:00
Anshul Malik
0aaccab5d7 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-21 19:12:17 +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
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
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
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
Tooru Fujisawa
410239ece6 Bug 956376 - Part 3: Use Debugger.findSources in ThreadActor#_discoverSources. r=ochameau 2018-08-23 09:27:30 +09:00
Tooru Fujisawa
3f09830e5b Bug 956376 - Part 2: Support Debugger#findSource in WebReplay. r=jimb 2018-08-27 08:17:39 +09: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
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
Daisuke Akatsuka
b3891b0f8f Bug 1490583: Remove actor related code that no longer used. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D5842

--HG--
extra : moz-landing-system : lando
2018-09-19 02:03:49 +00:00
Noemi Erli
63025fbf18 Backed out changeset 44c69e043cf7 (bug 1490583) for failures in browser_animation_reconstructState.js 2018-09-18 21:44:19 +03:00
Daisuke Akatsuka
55701049ee Bug 1490583: Remove actor related code that no longer used. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D5842

--HG--
extra : moz-landing-system : lando
2018-09-18 12:41:53 +00:00
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
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
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
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
Ciure Andrei
d716a04e20 Merge inbound to mozilla-central. a=merge 2018-08-29 00:58:21 +03: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