Commit Graph
13034 Commits
Author SHA1 Message Date
Gabriel Luong bbee8e738b Bug 1498115 - Part 1: Remove the FlexboxContainerProperties component. r=pbro 2018-11-15 10:02:44 -05:00
Gabriel Luong b656a50b55 Bug 1503902 - Avoid resizing RDM when restoring the device state and simply use the stored pref width and height. r=rcaliman 2018-11-15 12:59:49 -05:00
Noemi Erli 0f48d3ce2e Backed out 3 changesets (bug 1498115) for failures in browser_flexbox_container_properties.js
Backed out changeset e7f8e9c7301b (bug 1498115)
Backed out changeset ad62c3439651 (bug 1498115)
Backed out changeset 06b4d9761d46 (bug 1498115)
2018-11-15 18:28:19 +02:00
Margareta Eliza Balazs e4c8e4836b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-15 18:22:30 +02:00
Razvan Caliman 591585bb4f Bug 1485324 - (Part 3) Remove obsolete font on element no longer used in Fonts panel; r=gl
Depends on D11506
Removes the `fonts` field from the Redux slice previously used by the FontOverview component
in the Font Inspector version of the Fonts panel. This field is duplicated with the `fonts`
used by the Font Editor. The telemetry can use that one instead.

Refactors the update() method which updates the Redux slice for the FontOverview component.
In time, the update() and refreshFontEditor() method will merge. So will the Redux slices:
`fontEditor` and `fonts` in order to save a duplicate call to the server for `allFonts`.

Differential Revision: https://phabricator.services.mozilla.com/D11507
2018-11-14 16:33:09 +00:00
Razvan Caliman 1cf10fa800 Bug 1485324 - (Part 2) Remove obsolete subset of fonts not used on current element; r=gl
Depends on D11505
The `otherFonts` field in the Redux store slice for Fonts was used by the old Font Inspector to differentiate
between fonts on the element and fonts elsewhere on the page. This is no longer used with the Font Editor.

Differential Revision: https://phabricator.services.mozilla.com/D11506
2018-11-13 18:55:34 +00:00
Razvan Caliman dc1c21c6d2 Bug 1485324 - (Part 1) Remove pref for Font Editor and obsolete conditionals; r=gl
This patch removes the `devtools.inspector.fonteditor.enabled` pref and all its uses in the Fonts panel.
Obsolete actions for the case when the pref was off are also removed. This is mostly old Font Inspector code.

One test is temporarily disabled because it tests the old Font Inspector. It will be removed along with other
pieces on the next part of this commit series.

Differential Revision: https://phabricator.services.mozilla.com/D11505
2018-11-13 18:55:30 +00:00
Razvan Caliman 85151f26f1 Bug 1503595 - Add empty state for Changes panel; r=gl
Design spec: https://mozilla.invisionapp.com/share/6MLNVPYGR97#/screens

- add localization file
- add strings to show when no CSS changes are available to show
- conditionally show empty state message or diff of changes in React component

MozReview-Commit-ID: 8xYJmg0yGAM

Differential Revision: https://phabricator.services.mozilla.com/D11468
2018-11-15 12:18:45 +00:00
Nicolas Chevobbe 79147a9c34 Bug 1216632 - Make autocompletion work on $_ and $0; r=bgrins.
To make $0 autocompletion work, we need to pass the current
selectedNode actor from the frontend, so we can retrieve the
object reference later.
For $_, we need the webconsole actor reference to be able
to retrieve the last input result.
Since the list of parameters of JsPropertyProviders was
getting a bit long, we transform them in an object so it's
more legible on the consumer side.
Mochitests are added for both helpers to ensure this work
as expected.

Differential Revision: https://phabricator.services.mozilla.com/D11866
2018-11-15 09:49:14 +00:00
Julian Descottes f941be3058 Bug 1504355 - Do not return inlineTextChild for shadow hosts in inspector walker;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D11742
2018-11-15 10:46:06 +00:00
Julian Descottes cbf547acf8 Bug 1503914 - Add mochitest to check that USB runtimes are not disconnected on refresh;r=daisuke
Depends on D11798

Differential Revision: https://phabricator.services.mozilla.com/D11799
2018-11-14 03:57:38 +00:00
Julian Descottes cccf567a09 Bug 1503914 - Stop disconnecting all devices when clicking on Refresh Devices;r=daisuke
Depends on D11663

Differential Revision: https://phabricator.services.mozilla.com/D11798
2018-11-14 03:44:00 +00:00
Brian Hackett 892e0289cb Bug 1505935 Part 2 - Expose scripts to the debugger which have their progress counters updated, r=lsmyth. 2018-11-10 15:27:14 -10:00
Brian Hackett 881ef09a34 Bug 1506707 - Keep track of duplicate console messages in the client, r=nchevobbe. 2018-11-12 12:11:18 -10:00
Julian Descottes 94a91c93f2 Bug 1506581 - Add mochitest to test updates of the addon list for USB runtimes;r=daisuke
Depends on D11651, Depends on D11643

Differential Revision: https://phabricator.services.mozilla.com/D11663
2018-11-13 18:13:35 +00:00
Julian Descottes 893efdce3f Bug 1506581 - Listen to addons list changes on DevTools client instead of AddonManager;r=daisuke
Depends on D11644

Differential Revision: https://phabricator.services.mozilla.com/D11651
2018-11-13 06:46:41 +00:00
Julian Descottes 642decd9bc Bug 1506581 - Listen to all possible AddonManager events in BrowserAddonList;r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D11644
2018-11-13 14:26:39 +00:00
Timothy Guan-tin Chien fb30ec3de3 Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

Differential Revision: https://phabricator.services.mozilla.com/D11249
2018-11-15 06:52:01 +00:00
Timothy Guan-tin Chien 2a63ce2955 Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

Differential Revision: https://phabricator.services.mozilla.com/D11183
2018-11-15 06:51:07 +00:00
Andreea Pavel f667cd7449 Backed out 2 changesets (bug 1503019) for failing crashtests at dom/base/crashtests/1505811.html on a CLOSED TREE
Backed out changeset 06b12fd41ff1 (bug 1503019)
Backed out changeset 7b845eac9dd7 (bug 1503019)
2018-11-15 01:52:30 +02:00
Yura Zenevich fdc1a63c13 Bug 1507241 - fixing svg icon for Learn More icon. r=gl
MozReview-Commit-ID: 6MPdICcrQ3C

Differential Revision: https://phabricator.services.mozilla.com/D11918
2018-11-14 19:14:51 +00:00
Andreea Pavel ec39d8b518 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-15 00:35:07 +02:00
Razvan Maries 04523c7320 Merge mozilla-inbound to mozilla-central a=merge 2018-11-15 00:16:46 +02:00
Andreea Pavel 9d41a0a2bf Backed out 5 changesets (bug 1506549) for failing devtools at devtools/client/aboutdebugging/test/browser_service_workers_status.js on a CLOSED TREE
Backed out changeset 6be66dea928c (bug 1506549)
Backed out changeset da0d76d0e8fc (bug 1506549)
Backed out changeset 490eeba8f9f7 (bug 1506549)
Backed out changeset 97554f465eca (bug 1506549)
Backed out changeset 4f259de6cce0 (bug 1506549)
2018-11-14 21:46:07 +02:00
Julian Descottes 64c32817a5 Bug 1495381 - Show Manifest URL for addon target only with This Firefox;r=daisuke
Depends on D11643

Differential Revision: https://phabricator.services.mozilla.com/D11666
2018-11-14 17:15:18 +00:00
Alexandre Poirot d11fed2899 Bug 1506549 - Introduce API to listen for new child fronts of a given type. r=yulia
MozReview-Commit-ID: EKWTGhGo0VM

Depends on D11624

Differential Revision: https://phabricator.services.mozilla.com/D11625
2018-11-14 16:20:57 +00:00
Alexandre Poirot b2d3c01b7c Bug 1506549 - Stop returning the actor from Pool.manage. r=yulia
This was only used by test and isn't much useful.

MozReview-Commit-ID: DeIimVmMOOs

Depends on D11623

Differential Revision: https://phabricator.services.mozilla.com/D11624
2018-11-14 15:48:20 +00:00
Alexandre Poirot af4322f954 Bug 1506549 - correctly type workerListChanged on ContentProcessTarget spec. r=yulia
It allows to send the event through the front rather than DebuggerClient.

MozReview-Commit-ID: H8zEwAlUWDb

Depends on D11622

Differential Revision: https://phabricator.services.mozilla.com/D11623
2018-11-14 15:48:18 +00:00
Alexandre Poirot 0d5dc1f31e Bug 1506549 - Return target fronts out of RootFront.getProcess and getMainProcess. r=yulia
MozReview-Commit-ID: EGWYEmAkbtr

Depends on D11693

Differential Revision: https://phabricator.services.mozilla.com/D11622
2018-11-14 15:48:16 +00:00
Alexandre Poirot 8a07616bea Bug 1506549 - Either pass a front or a form to Target constructor. r=yulia
MozReview-Commit-ID: BWsvAcWthnF

Differential Revision: https://phabricator.services.mozilla.com/D11693
2018-11-14 15:48:14 +00:00
Julian Descottes 2848b0a6f8 Bug 1507071 - Explicitly uninstall valence and adbhelper when starting aboutdebugging and webide;r=ochameau
Depends on D11862

Differential Revision: https://phabricator.services.mozilla.com/D11890
2018-11-14 15:33:01 +00:00
Julian Descottes 5c2f850fda Bug 1507071 - Uninstall valence when starting adb-addon module;r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D11862
2018-11-14 15:27:57 +00:00
Coroiu Cristina dcb2f4c9d8 Merge mozilla-central to autoland a=merge 2018-11-14 15:21:19 +02:00
Sebastian Hengst 8d9ab80535 Bug 1506516 - Remove now unused arrow.svg after debugger dropped it in Bug 1506688: Also remove it from jar.mn. a=bustage-fix 2018-11-14 14:39:15 +02:00
Sebastian Hengst 95b7a99bf3 Bug 1506516 - Remove now unused arrow.svg after debugger dropped it in bug 1506688. a=devtools-fix 2018-11-14 14:21:47 +02:00
Coroiu Cristina 0092635016 Merge inbound to mozilla-central a=merge 2018-11-14 11:51:31 +02:00
Razvan Caliman 3695edce75 Bug 1506916 - Remove obsolete ChangesManager; r=bradwerth
The ChangesManager has been made obsolete by the use of the Changes front.

Differential Revision: https://phabricator.services.mozilla.com/D11801
2018-11-13 21:27:20 +00:00
Razvan Caliman e5f8e2db76 Bug 1506903 - Show Changes tab only when pref is on; r=pbro
The patch for Bug 1502857 accidentally removed the pref guard for the Changes panel. This patch reintroduces it.

This patch also addresses Bug 1503925 - Reposition Changes tab in Inspector sidebar to be right after Computed tab.

Differential Revision: https://phabricator.services.mozilla.com/D11802
2018-11-14 05:41:18 +00:00
Paolo Amadini d03e533476 Bug 1496827 - Remove the "notification" binding. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D11650
2018-11-13 12:56:42 +00:00
Julian Descottes 3ce5df1dad Bug 1495381 - Create debug-target-pane test for USB runtimes;r=daisuke
Depends on D11642

Differential Revision: https://phabricator.services.mozilla.com/D11643
2018-11-13 06:43:39 +00:00
Julian Descottes 7e5ce39359 Bug 1495381 - Create a UsbMocks helper to simplify USB tests;r=daisuke,ladybenko
Depends on D11641

This adds a wrapper that aims to simplify USB tests.

Differential Revision: https://phabricator.services.mozilla.com/D11642
2018-11-14 16:30:06 +00:00
Julian Descottes 27a7fecb58 Bug 1495381 - Fix USB runtime test and client-wrapper mock;r=daisuke
Depends on D11640

Leftover from the previous bug that introduced the testing solution for USB runtimes.

Differential Revision: https://phabricator.services.mozilla.com/D11641
2018-11-13 04:56:10 +00:00
Julian Descottes 46258a6184 Bug 1495381 - Enable extension debugging for USB devices;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D11640
2018-11-13 06:57:25 +00:00
Timothy Guan-tin Chien 3e86e5f53e Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

Differential Revision: https://phabricator.services.mozilla.com/D11249
2018-11-14 19:37:42 +00:00
Timothy Guan-tin Chien 0644cf5b9d Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

Differential Revision: https://phabricator.services.mozilla.com/D11183
2018-11-14 19:34:52 +00:00
Micah Tigley 0d83521621 Bug 1114936 - Add a context menu item to copy a stylesheet's URL in the Style Editor. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D11419
2018-11-14 01:55:02 +00:00
Gurzau Raul e769d2c33f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-13 23:49:10 +02:00
Alexandre Poirot 21259d0507 Bug 1506545 - Instantiate Target for ContentProcessTargetActor via its front. r=yulia
MozReview-Commit-ID: EE4d0YULRBU

Depends on D11614

Differential Revision: https://phabricator.services.mozilla.com/D11615
2018-11-13 20:39:58 +00:00
Alexandre Poirot 0ebd9905d3 Bug 1506545 - Stop overloading Pool.actor from Front class. r=yulia
Front.actor custom implementation is only used from Front class and doesn't match Pool's one behavior.
Front users would expect to see the one from Pool as it inherits from it.

MozReview-Commit-ID: 8plo2K5kEWq

Differential Revision: https://phabricator.services.mozilla.com/D11614
2018-11-13 14:22:24 +00:00
Jason Laster de8267a913 Bug 1506688 - Update Debugger Frontend v101. r=dwalsh 2018-11-12 13:07:00 +02:00