Граф коммитов

14236 Коммитов

Автор SHA1 Сообщение Дата
Michael Ratcliffe 55b170fc51 Bug 1523335 - Make use of parentFlexElement in Flexbox inspector r=pbro
This gives a very noticable increase in speed. When Brad finishes https://bugzil.la/1523336 we can stop walking the DOM and simply use `parentFlexElement` and `parentGridElement`.

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

--HG--
extra : moz-landing-system : lando
2019-02-05 16:53:22 +00:00
Gijs Kruitbosch 4d35eb314d Bug 1523020 - QI docshells to nsIWebNavigation when trying to access their .document property, r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D18675

--HG--
extra : moz-landing-system : lando
2019-02-05 16:23:33 +00:00
Coroiu Cristina 98926c4646 Merge inbound to mozilla-central a=merge 2019-02-04 23:42:26 +02:00
Michael Ratcliffe 7dce60ec8b Bug 1524097 - Devtools Inspector doesn't show any nodes (besides `<html>`) for LinkedIn pages r=rcaliman
I would have thought that the anonymous node fix would also have fixed this but we have had to manually add the before and after pseudo elements.

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

--HG--
extra : moz-landing-system : lando
2019-02-04 16:57:10 +00:00
Brian Hackett 1c81ba83a1 Bug 1523421 - Reenable browser_webconsole_sourcemap_nosource.js mochitest. 2019-02-04 08:45:38 -10:00
Nicolas Chevobbe fd48fcd309 Bug 1524275 - Fix PropTypes error in Group component (used in SmartTrace); r=Honza.
The patch adds a key to the FrameIndent created
in Group.

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

--HG--
extra : moz-landing-system : lando
2019-02-04 16:01:39 +00:00
Martin Koroknay 568c22f379 Bug 1523861 - Remove toggle filter button and always show the filter buttons toolbar. r=nchevobbe
Removes the toggle filter button and makes the filter buttons toolbar permanently shown. At the same time removes relevant entries from actions/reducers. Also updates some tests which relied on showing and hiding the filter buttons toolbar. Also amends an unrelated test which relied on the non-presence of the filter buttons toolbar.

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

--HG--
extra : moz-landing-system : lando
2019-02-04 13:22:36 +00:00
Shivam Singhal 4a8909a3ca Bug 1505704 - Add tooltip in Flexbox toggle. r=mtigley
Add tooltop in Flexbox toggle

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

--HG--
extra : moz-landing-system : lando
2019-02-04 12:38:59 +00:00
Razvan Caliman b82d1224bf Bug 1523305 - Show Font Editor in read-only mode for pseudo-elements. r=gl
Adds a new `disabled` property to the Font Editor Redux store applicable to all input fields.
When inspecting a pseudo-element, this `disabled` property is set to true.
This allows the pseudo-element to be inspected, but prevents editing font property values because it's currently not possible to write them back to CSS rules other than element inline styles.

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

--HG--
extra : moz-landing-system : lando
2019-02-04 12:05:23 +00:00
championshuttler e26b523f00 Bug 1522067 - Add additional info about commit messages & blocking reviews. r=Ola
Add additional info about commit messages and blocking reviews.

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

--HG--
extra : moz-landing-system : lando
2019-02-04 11:03:19 +00:00
Gabriel Luong b8946f9b80 Bug 1524024 - Extract RuleRewriter into its own module. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D18359

--HG--
rename : devtools/shared/css/parsing-utils.js => devtools/shared/fronts/inspector/rule-rewriter.js
2019-02-01 11:07:25 -05:00
Bogdan Tara ab68196464 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-02-04 19:40:52 +02:00
Gurzau Raul ee6ee38211 Backed out changeset 3d835071d160 (bug 1524024) for failing at unit/test_rewriteDeclarations.js on a CLOSED TREE 2019-02-04 19:33:10 +02:00
Belén Albeza c59f885b06 Bug 1509960 - Define types for UI state. r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D17962

--HG--
extra : moz-landing-system : lando
2019-02-01 15:39:25 +00:00
Alexandre Poirot 66f0cbdfcf Bug 1465635 - Listen to toggle and close key short only for window host type. r=jdescottes
We were registering these key shortcut twice.
A first time from devtools-startup.js and another time from Toolbox.
Both shortcut listeners were called when the toolbox was running,
leading the toolbox to reopen while we were expecting it to be closed.

Depends on D17610

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

--HG--
extra : moz-landing-system : lando
2019-02-01 14:17:05 +00:00
Alexandre Poirot df5faf8f9f Bug 1465635 - Ensure removing BrowsingContextTarget front events when destroying it. r=jdescottes
When destroying the target, Target.destroy (for local tabs) only calls DebuggerClient.close,
which isn't going to call `detach`. But we still do need to unregister
the tabNavigated/frameUpdate listener to prevent unecessary event from firing.

Depends on D17609

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

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:04 +00:00
Alexandre Poirot f2180fa200 Bug 1465635 - Prevent netmonitor from destroying all "close" event listeners. r=jdescottes
Depends on D16874

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

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:12 +00:00
Alexandre Poirot ef1c99b06e Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

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

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:24 +00:00
Alexandre Poirot dddc73fb49 Bug 1465635 - Merge all target fronts with Target class. r=yulia,jdescottes
This patch makes it so that all target fronts inherits from a Target class mixin.
We are using a mixin as fronts should inherit from a custom Front class,
which is augmented with its own RDP request and events defined in its spec.
(This is done via FrontClassWithSpec(spec))

Depends on D15830

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

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:32 +00:00
Alexandre Poirot cacb7734d7 Bug 1465635 - Use Target.title to fetch target's title instead of using its form. r=yulia
Depends on D15828

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

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:39 +00:00
Alexandre Poirot c146bdb4f7 Bug 1465635 - Always consider that Target.activeTab is set. r=yulia
Depends on D15826

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

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:41 +00:00
Alexandre Poirot 4f1cdc1898 Bug 1465635 - Convert canvas front instantiation to Target.getFront. r=yulia
Depends on D15825

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

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:49 +00:00
Alexandre Poirot 6daaf203a4 Bug 1465635 - Convert browser_two_tabs.js to async. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D15825

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:56 +00:00
Csoregi Natalia 9423fa7897 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-02-02 00:14:12 +02:00
Michael Ratcliffe ed1053338d Bug 1522809 - Nodes with `name="attributes"` break the markup view r=rcaliman
This is another very specific issue.

If you have `<img name="attributes"/>` in the dom then `document.attributes` will return the `<img>` tag.

In the source we bail if `!this.rawNode.attributes` but if we are on the document node this returns the image tag. Because the image tag is not a `NamedNodeMap` trying to iterate over the tag throws the error.

There is a test file [here](https://bugzilla.mozilla.org/attachment.cgi?id=9040577).

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

--HG--
extra : moz-landing-system : lando
2019-02-01 14:03:44 +00:00
Nicolas Chevobbe 6654ba7a44 Bug 1494318 - Don't map expression bindings when debugger is not paused; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D18314

--HG--
extra : moz-landing-system : lando
2019-02-01 15:19:47 +00:00
Brian Hackett 529252646f Bug 1523421 - Always view source map original URLs in the debugger, r=jlast.
--HG--
extra : rebase_source : c4252b81d4a397ac97f3a6e2e151f35ead670ee3
2019-01-28 12:18:56 -10:00
Gabriel Luong 00f9cbee19 Bug 1524024 - Extract RuleRewriter into its own module. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D18359

--HG--
rename : devtools/shared/css/parsing-utils.js => devtools/shared/fronts/inspector/rule-rewriter.js
2019-02-01 11:07:25 -05:00
Ciure Andrei 43ba02ef84 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-02-01 19:58:50 +02:00
Gabriel Luong 8deba07469 Bug 1524068 - Only setup autocompletion if the autocomplete config is not set. r=bgrins 2019-02-01 11:58:54 -05:00
Daisuke Akatsuka 33dd1d5c09 Bug 1521440: Add a test for hostType into browser_toolbox_target. r=ochameau
Depends on D17796

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

--HG--
extra : moz-landing-system : lando
2019-02-01 09:31:50 +00:00
Daisuke Akatsuka e318e6b1c6 Bug 1521440: Add test for reloading about:devtools-toolbox. r=jdescottes
Depends on D17795

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

--HG--
extra : moz-landing-system : lando
2019-01-31 01:39:39 +00:00
Daisuke Akatsuka 0c01c764aa Bug 1521440: Avoid to move to about:blank after destroying. r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D17795

--HG--
extra : moz-landing-system : lando
2019-01-31 18:08:19 +00:00
Patrick Brosset a3ccdb3812 Bug 1523909 - Simplifying the scrollable badge to just scroll; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D18093

--HG--
extra : moz-landing-system : lando
2019-02-01 10:10:21 +00:00
Julian Descottes 0d43e6a31d Bug 1522800 - Skip service worker timeout test on debug & asan;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D18238

--HG--
extra : moz-landing-system : lando
2019-02-01 09:03:18 +00:00
Alexandre Poirot a1caccaabe Bug 1523943 - Cache SourceActor.url. r=jlast
Depends on D18244

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

--HG--
extra : moz-landing-system : lando
2019-01-31 18:30:17 +00:00
Alexandre Poirot b44981a1ea Bug 1523942 - Remove unused addonID/addonPath from SourceActor. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D18244

--HG--
extra : moz-landing-system : lando
2019-01-31 17:10:22 +00:00
shindli d6dd350c66 Merge inbound to mozilla-central. a=merge 2019-02-01 05:56:53 +02:00
shindli dc35f3b972 Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
extra : rebase_source : 44b5c3aa6b6562ada42dd6c60e3522a8bc97993b
2019-01-31 23:51:27 +02:00
Jason Laster 1c61aed104 Bug 1523528 - Update Debugger Frontend (Release 122). r=dwalsh 2019-01-31 13:42:11 -05:00
Brian Hackett 9a8e529067 Bug 1523528 - [release 122] Don't wait to load already-loaded source maps (#7819). r=dwalsh 2019-01-31 13:33:46 -05:00
Brian Hackett 9256725d3c Bug 1523528 - [release 122] When rewinding, reverse step past invalid step locations (#7847). r=dwalsh 2019-01-31 13:33:45 -05:00
Jaril 8c7946b246 Bug 1523528 - [release 122] Fix pretty printing in source list (#7845). r=dwalsh 2019-01-31 13:33:44 -05:00
Jeff Walden 334260601d Bug 1523528 - [release 122] Use instead of when only a test is being performed (#7827). r=dwalsh 2019-01-31 13:33:43 -05:00
Brian Hackett 66b862dd6e Bug 1523528 - [release 122] Don't allow duplicate source actors in redux store (#7838). r=dwalsh 2019-01-31 13:33:43 -05:00
Brian Hackett fe9922db96 Bug 1523528 - [release 122] Rename makeLocationId to makeBreakpointId (#7826). r=dwalsh 2019-01-31 13:33:42 -05:00
David Walsh 627fc09297 Bug 1523528 - [release 122] Handle longString symbols (#7810). r=dwalsh 2019-01-31 13:33:41 -05:00
Nicolas Chevobbe 659bedd856 Bug 1523528 - [release 122] Don't map bindings when not paused (#7834). r=dwalsh 2019-01-31 13:33:40 -05:00
Jason Laster e4d480af92 Bug 1523528 - [release 122] [test] disable two tests for the source actor refactor (#7829). r=dwalsh 2019-01-31 13:33:39 -05:00
Brian Hackett 3f7ea13654 Bug 1523528 - [release 122] Use flow in all remaining tests (#7828). r=dwalsh 2019-01-31 13:33:38 -05:00