Commit Graph
10679 Commits
Author SHA1 Message Date
Cosmin Sabou 392d64f272 Merge mozilla-central to autoland. a=merge 2018-11-16 23:57:57 +02:00
Gurzau Raul d8408ebbb6 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-16 19:55:39 +02:00
Gurzau Raul 9010a92206 Merge inbound to mozilla-central. a=merge 2018-11-16 19:08:39 +02:00
Jason Laster 609c5a77d9 Bug 1504222 - Notify the client when devtools goes from replaying to recording. r=dwalsh
Tags:

Bug #: 1504222

Differential Revision: https://phabricator.services.mozilla.com/D11593
2018-11-16 10:24:27 -05:00
Gurzau Raul c2b57deb21 Backed out changeset 37d0de33af7f (bug 1507632) for failing at test/static/browser_parsable_css.js on a CLOSED TREE 2018-11-16 12:37:35 +02:00
Bogdan Tara b41bc08038 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 11:50:21 +02:00
Bogdan Tara 228d1068ee Merge inbound to mozilla-central. a=merge 2018-11-16 11:47:51 +02:00
Florens Verschelde 332209614f Bug 1507632 - Use Photon colors for console icons; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D12068
2018-11-16 07:07:09 +00:00
Micah Tigley 4da7a9f193 Bug 1501768 - Maximum sizing section should also consider if a max-clamped flex item shrank. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D11922
2018-11-15 08:35:31 +00:00
Csoregi Natalia d427ab8d3a Merge mozilla-central to autoland. CLOSED TREE 2018-11-16 00:19:45 +02:00
Gabriel Luong f88639e36a Bug 1498115 - Part 3: Implement the new styles for the flex item list. r=pbro 2018-11-15 10:02:44 -05:00
Gabriel Luong 81738ba29f Bug 1498115 - Part 2: Add badges to show the flex-direction and flex-wrap properties of the flex container. r=pbro
We move the .markup-badge styles from markup.css to inspector.css instead of common.css
for a smaller import size in the markup.xhtml.
2018-11-15 10:02:44 -05:00
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 881ef09a34 Bug 1506707 - Keep track of duplicate console messages in the client, r=nchevobbe. 2018-11-12 12:11:18 -10:00
Cosmin Sabou be6be77026 Backed out changeset e36852845947 (bug 1507312) for damp failures on debugger/custom.js. 2018-11-16 22:24:56 +02:00
Florens Verschelde 333691dea9 Bug 1507632 - Use Photon colors for console icons; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D12068
2018-11-16 17:38:22 +00:00
Logan Smyth c79928a627 Bug 1507312 - Update Debugger Frontend v102 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D11967
2018-11-16 19:27:14 +00:00
Luca Greco 8f82776fed Bug 1498293 - Ensure the webextension fallback window has a TabChild actor in content. r=ochameau
This patch remove the usage of `Services.appShell.createWindowlessBrowser` from the
webextension target actor (that runs in a child process when the extension is in oop-mode).

As a fallback window (needed when an extension doesn't have an extension page yet, e.g. while
the extension is being reloaded, or when the extension doesn't have a background page), the actor
is going to search for the window related to the XUL browser element created to connect into
the extension process.

If the extension runs in the child process (e.g. as it currently happens on all platforms supported
by Firefox Desktop), the TabParent/TabChild's tabId is used to identify the fallback window.

On the contrary, when the extension runs in the parent process (e.g. as it currently happens on
Firefox for Android), the XUL browser's ownerGlobal innerWindowID is used to identify the
fallback window.

Differential Revision: https://phabricator.services.mozilla.com/D8573
2018-11-15 19:00:44 +00:00
Alexandre Poirot e1d0ca7c1b Bug 1506548 - Return WorkerTargetFront from listWorkers instead of form. r=yulia
MozReview-Commit-ID: 4CBQNwC8tKq

Depends on D11762

Differential Revision: https://phabricator.services.mozilla.com/D11763
2018-11-15 10:23:50 +00:00
Alexandre Poirot b64cee51b1 Bug 1506548 - Prevent displaying memory and netmonitor panels for workers. r=yulia
MozReview-Commit-ID: 8FZbi4KQzCn

Depends on D11761

Differential Revision: https://phabricator.services.mozilla.com/D11762
2018-11-15 10:23:48 +00:00
Alexandre Poirot b30a4a0309 Bug 1506548 - Remove last references to remote targets from target.js. r=yulia
MozReview-Commit-ID: 1viBxZ8hHGk

Differential Revision: https://phabricator.services.mozilla.com/D11761
2018-11-15 10:23:46 +00:00
Alexandre Poirot bf4dd0c121 Bug 1506549 - Listen for workerListChanged on all content process target fronts. r=yulia
Now that this event is correctly fired on the Front rather than DebuggerClient,
we have to listen for this event on each individual front.

MozReview-Commit-ID: 9MqdHuAEr7U

Depends on D11625

Differential Revision: https://phabricator.services.mozilla.com/D11626
2018-11-15 10:23:02 +00:00
Alexandre Poirot 781a5ac688 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-15 10:22:49 +00:00
Alexandre Poirot 46971acb4d 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-15 10:22:47 +00:00
Andrea Marchesini 02c1924ab1 Bug 1480544 - Allow Console API to log messages on stdout, r=bgrins
This patch introduces 2 new prefs:
- devtools.console.stdout.chrome: if true, console API writes on stdout when
                                  used by chrome code
- devtools.console.stdout.content: console API write on stdout when used by
                                   content code.
2018-11-15 21:47:58 +01: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
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
Daisuke Akatsuka 2c4279280c Bug 1497449: Localize DebugTargetInfo. r=jdescottes,flod
Depends on D11749

Differential Revision: https://phabricator.services.mozilla.com/D11972
2018-11-16 03:43:33 +00:00
Daisuke Akatsuka 5e85cd99bf Bug 1497449: Show basic information in about:devtools-toolbox. r=jdescottes,ladybenko
Depends on D11748

Differential Revision: https://phabricator.services.mozilla.com/D11749
2018-11-16 05:36:56 +00:00
Daisuke Akatsuka e1a2af0ac1 Bug 1497449: Introduce deviceName into getSystemInfo(). r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D11748
2018-11-16 04:30:29 +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 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