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

12885 Коммитов

Автор SHA1 Сообщение Дата
David Walsh 071b3c6000 Bug 1484526 - Increase timeout for webconsole stackframe test r=nchevobbe
Ups the timeout for a test that naturally takes a long time to pass on CI

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

--HG--
extra : moz-landing-system : lando
2018-11-07 17:10:31 +00:00
Julian Descottes a8af2ec945 Bug 1504202 - Update aboutdebugging-new README.md;r=ladybenko,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D10714

--HG--
extra : moz-landing-system : lando
2018-11-07 17:32:32 +00:00
Micah Tigley caaeda6288 Bug 1503626 - Only display a flex item's min-width/max-width property if it's specified in the CSS. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D10420

--HG--
extra : moz-landing-system : lando
2018-11-07 16:14:47 +00:00
Razvan Caliman 131fb3aaf1 Bug 1503896 - (Part 6) Add test for tracking changes to rule selectors; r=pbro
Depends on D11116

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

--HG--
extra : moz-landing-system : lando
2018-11-07 10:33:32 +00:00
Razvan Caliman fc90c63836 Bug 1503896 - (Part 5) Add change type to change metadata and mark whole rules as added/removed; r=pbro
Depends on D10586

Adds a new `type` param to the `change` object passed from server to the client to describe the change type. For changes to rules, the client marks the whole rule as either added or removed and styles it accordingly in the Changes panel.

Change types for declarations are not used at this time, but are put in for consistency and future-proofing.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 10:00:31 +00:00
Razvan Caliman 40321f65d7 Bug 1503896 - (Part 4) Track changes to CSS selectors; r=pbro
Depends on D10585
Renames the logChange() to logDeclarationChange() to distinguish it from the newly introduced logSelectorChange() method which tracks selector rename by logging two changes: a whole rule remove using the old selector and a whole rule insertion add using the new selector.

MozReview-Commit-ID: 9VoVMHYXumE

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:49:40 +00:00
Razvan Caliman e0e5a38637 Bug 1503896 - (Part 3) Extract CSS rule metadata to be reused with other logging methods; r=pbro
Depends on D10584
Other methods for tracking changes need to make use of the CSS rule
metadata (selector, rule index, ancestors, etc). This extracts that
logic into an accessor on the StyleRuleActor to facilitate reuse.

The CSS rule metadata will be augmented with information about a CSS
change (declarations added or removed) before being tracked.

MozReview-Commit-ID: xXec1XgUhk

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

--HG--
extra : moz-landing-system : lando
2018-11-05 09:23:43 +00:00
Razvan Caliman 625bcbde9a Bug 1503896 - (Part 2) Support tracking multiple CSS declarations in one change; r=pbro
Depends on D10582
Improves the reducer for tracking CSS changes to handle more than one
CSS declaration changed in one operation. This is a requirement for
tracking whole rule removal or whole rule addition, like it happens
when renaming a CSS selector in the Rules view.

MozReview-Commit-ID: 25pf2GRiH4D

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

--HG--
extra : moz-landing-system : lando
2018-11-05 14:50:04 +00:00
Razvan Caliman bed8c7e449 Bug 1503896 - (Part 1) Add keys to React components in Changes panel; r=pbro;
This isn't strictly necessary for this patch series, but it adds an
optimization to improve performance for React rendering and solves
warnings thrown while using React in dev mode.

MozReview-Commit-ID: ujqOa9qUsd

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

--HG--
extra : moz-landing-system : lando
2018-11-05 14:39:42 +00:00
Michael Ratcliffe af575ff9cd Bug 1501226 - Support for CSS transforms in the Flexbox highlighter r=gl
In many places we were using bounds to calculate an objects dimensions but that obviously doesn't work when an object is rotated e.g.

{F588303}

Also, we were using `getBoxQuads()`, which gives the co-ordinates of the translated object. We were then applying the transform matrix to the canvas even though the coordinates came from the object **after** it was already transformed.

Anyhow, now we get the dimensions of objects as if they are not transformed and then apply the transformation matrix, which gives a great result every time.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 10:12:56 +00:00
Csoregi Natalia 0f3ea39692 Merge mozilla-central to autoland. CLOSED TREE 2018-11-07 11:56:06 +02:00
Csoregi Natalia 6e0e603f48 Merge inbound to mozilla-central. a=merge 2018-11-07 11:52:57 +02:00
Patrick Brosset a8a08c2718 Bug 1503180 - Part 3 - Move the clamping reasons to the min and max sections; r=mtigley
Depends on D11047

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

--HG--
extra : moz-landing-system : lando
2018-11-06 20:01:05 +00:00
Patrick Brosset cf130544de Bug 1503180 - Part 2 - Simplify the base size section when it's the content size; r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D11047

--HG--
extra : moz-landing-system : lando
2018-11-06 19:50:26 +00:00
Daisuke Akatsuka 7f86f123f9 Bug 1497448: Use try/catch for _handle function in ServerSocketConnection. r=ochameau,jdescottes
At first, I wanted it is better to call DebuggerServer.destroy() when
`devtools.debugger.remote-enabled` will set to false. Likewise, call
DebuggerServer.init() in case of true. But, because DebuggerServer.init() is
called by various context such as RemoteDebugger, restoring is difficult after
destroying. In this patch, simply, we make avoiding to call
DebuggerServer.closeAllListener() from inside of ServerSocketConnection.

Depends on D10864

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

--HG--
extra : moz-landing-system : lando
2018-11-07 02:17:45 +00:00
Daisuke Akatsuka 711e30b3ec Bug 1497448: Close connections that were accepted in ServerSocketListener. r=ochameau,jdescottes
Yet another approach. In the previous D9889 approach, both DebuggerSerever and
SocketServerListener retain the connections duplicately, it will be possible to
be difficult for the management. In this approach, only DebuggerSerever retains
the connections, then when ServerSocketListener was removed, removes the
connections as well that were linked the ServerSocketListener.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 02:18:02 +00:00
Logan Smyth f991551c31 Bug 1504358 - Ensure that step out always pauses, even when there are no steps. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D10793

--HG--
extra : moz-landing-system : lando
2018-11-06 14:59:00 +00:00
Daniel Varga 3d9ab59490 Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : 423e41eec91a44f6e3862da7972a40e4806d79e8
2018-11-07 00:03:28 +02:00
Andreea Pavel 8b2a2c9419 Merge mozilla-central to mozilla-inbound. on a CLOSED TREE 2018-11-06 19:14:35 +02:00
Andreea Pavel d401f28d4e Merge mozilla-inbound to mozilla-central. a=merge 2018-11-06 19:05:52 +02:00
Julian Descottes 2f80da43fe Bug 1505035 - Force dom.ua_widget.enabled to true in inspector server tests for ua widgets;r=test-only
--HG--
extra : rebase_source : d573f1a3958c02c7df26919670148d800f983804
2018-11-06 15:41:53 +01:00
sreeise 0af862933b Bug 1366529 Converted uses of defer to new Promise in devtools/client/dom r=nchevobbe
Converted uses of defer to new Promise/async await in devtools dom directory

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

--HG--
extra : moz-landing-system : lando
2018-11-06 11:21:50 +00:00
Andreea Pavel a81720d597 Merge mozilla-central to autoland. on a CLOSED TREE 2018-11-06 19:11:54 +02:00
Andreea Pavel 0a2474c679 Backed out changeset 22b989a6c91d (bug 1501900) for build bustages on a CLOSED TREE 2018-11-06 19:11:09 +02:00
Collin Wing 298c1a70c9 Bug 1501900 Convert about:devtools to use Fluent r=flod,jaws,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D9816

--HG--
extra : moz-landing-system : lando
2018-11-05 18:52:42 +00:00
Alexandre Poirot 1b83bbc5f1 Bug 1504706 - Call toolbox.destroy instead of going throught gDevTools.closeToolbox. r=yulia
MozReview-Commit-ID: FcAItxuKWIk

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

--HG--
extra : moz-landing-system : lando
2018-11-06 11:01:02 +00:00
Nicolas Chevobbe 4023106c5a Bug 1505024 - Disable codeMirror search addon in JsTerm; r=Honza.
This patches fixes a bug where hitting Cmd+F while
the filter input of the console was focused was
triggering codeMirror search addon, displaying the
search UI *in* JsTerm.
To prevent this, we add the ability for any consumer
of the Editor component to disable the search addon.
In the editor, in such case, we simply don't initialize
the event listeners that activate the search addon.
A test case is added to ensure we don't regress this.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 14:08:13 +00:00
Patrick Brosset 83f25ee252 Bug 1503180 - Making the flex item sizing UI more compact and simple; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D10371

--HG--
extra : moz-landing-system : lando
2018-11-06 14:58:36 +00:00
Razvan Caliman cdb5875c63 Bug 1502857 - Refactor loading tools in Inspector sidebar; r=gl
- removes duplication of logic to create each panel.
- removes needless exposing of panel instances as properties on `inspector`:
  - `inspector.layoutview`
  - `inspector.fontinspector`
  - `inspector.animationinspector`
  - `inspector.changesview`
- updates tests to not rely on those exposed properties and instead
call `inspector.getPanel(toolId)` (previously created panels are stored
and a reference is returned).
- consolidates panel `destroy()` so we don't have to remember to
destroy them individually.

MozReview-Commit-ID: GVkP6z7FxKt

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

--HG--
extra : moz-landing-system : lando
2018-11-06 10:42:52 +00:00
Gurzau Raul 1da9ef02c4 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.html => testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.sub.html
rename : testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.html => testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.sub.html
2018-11-06 11:57:49 +02:00
Vincent R 60420a3d6d Bug 1185808 - Improve devtool notification box layout when overflowing. r=pbro
- Make notificationbox buttons and closing affordance visible when overflowing,
- Apply ellipsis to message when overflowing (using the width=0 to not break flex layout),
- Add title to show potentially truncated message on hover,
- Simplify layout (remove the unnecessary nested flexbox layout).

TESTED=Locally using some mocked notification buttons. Run styleeditor and shared/component tests.
2018-11-01 01:22:18 +01:00
Gurzau Raul dfc16e18a8 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-06 12:04:13 +02:00
Kristin Taylor fb031a93be Bug 1494789 - Use --error-color for warning and error objectBox-string. r=nchevobbe
MozReview-Commit-ID: HoZCxaa8udF
2018-11-05 20:37:00 +02:00
Narcis Beleuzu 9b3f73e696 Merge mozilla-central to inbound. CLOSED TREE 2018-11-05 23:54:03 +02:00
Alexandre Poirot 2bd793e484 Bug 1497467 - Convert AddonClient to protocol.js front. r=yulia
MozReview-Commit-ID: 78Oqsq4mGqW

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

--HG--
extra : moz-landing-system : lando
2018-11-05 16:16:37 +00:00
Alexandre Poirot 871b6682e6 Bug 1497470 - Improve error logging when the browser content toolbox fails loading. r=yulia
MozReview-Commit-ID: 2QJfxOMmmOl

Depends on D10387

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

--HG--
extra : moz-landing-system : lando
2018-11-05 15:02:19 +00:00
Alexandre Poirot aa27526bd1 Bug 1497470 - Correctly type Targets.listWorkers request. r=yulia
MozReview-Commit-ID: BfjRhhIDxiF

Depends on D10189

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

--HG--
extra : moz-landing-system : lando
2018-11-05 15:02:12 +00:00
Alexandre Poirot a0551db83f Bug 1497470 - Create a ContentProcessTargetFront front to match ContentProcessTargetActor. r=yulia
MozReview-Commit-ID: LFfG7WRHu3a

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

--HG--
extra : moz-landing-system : lando
2018-11-05 15:02:10 +00:00
Julian Descottes 9dbd9e5cee Bug 1483660 - Add server test for UA widget support in inspector;r=ladybenko
Depends on D10538

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

--HG--
extra : moz-landing-system : lando
2018-11-05 17:23:54 +00:00
Julian Descottes 8aa1b2290c Bug 1483660 - Add mochitest for UA widgets in inspector;r=ladybenko
Depends on D10537

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

--HG--
extra : moz-landing-system : lando
2018-11-05 17:22:36 +00:00
Julian Descottes e17ec00bdd Bug 1483660 - Hide UA Widget shadow root in inspector by default;r=ladybenko
Depends on D10536

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

--HG--
extra : moz-landing-system : lando
2018-11-05 17:22:45 +00:00
tanhengyeow 67391f6115 Bug 1496742 - Allow to display Referrer Policy for a given request. r=Honza
Display Referrer Policy for a given request.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 16:44:17 +00:00
tanhengyeow 76cb2924c1 Bug 1459539 - Netmonitor more minor css tweaks. r=Honza
Spacing between "No throttling" and the dropdown icon is now consistent with "HAR"

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

--HG--
extra : moz-landing-system : lando
2018-11-05 14:52:53 +00:00
vinoth e14aa2974e Bug 1504605 - Add Prefs to xpcshell test files for allowing usage of eval. r=ckerschb
Reviewers: ckerschb

Reviewed By: ckerschb

Subscribers: ckerschb

Bug #: 1504605

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

--HG--
extra : rebase_source : 9abb395224bdfa7795516295babfd847ea2553f4
2018-11-05 16:41:45 +02:00
arthur.iakab 3400b2b5c0 Backed out changeset b832377ab7a5 (bug 1502857) for dt failures on browser_inspector_extension_sidebar.js and browser_fontinspector.js CLOSED TREE 2018-11-05 16:47:45 +02:00
Jonathan Kingston 42bd423a94 Bug 1490257 - Add principal to JS code for passing explicit triggeringPrincipals. r=ckerschb
Depends on D10882

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

--HG--
extra : moz-landing-system : lando
2018-11-05 14:05:19 +00:00
vinoth 896a7bbbd2 Bug 1504207 - Add Prefs for allowing usage of eval with system principal in test files r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10696

--HG--
extra : moz-landing-system : lando
2018-11-05 13:39:31 +00:00
Razvan Caliman c1b14bfa3e Bug 1502857 - Refactor loading tools in Inspector sidebar; r=gl
- removes duplication of logic to create each panel.
- removes needless exposing of panel instances as properties on `inspector`:
  - `inspector.layoutview`
  - `inspector.fontinspector`
  - `inspector.animationinspector`
  - `inspector.changesview`
- updates tests to not rely on those exposed properties and instead
call `inspector.getPanel(toolId)` (previously created panels are stored
and a reference is returned).
- consolidates panel `destroy()` so we don't have to remember to
destroy them individually.

MozReview-Commit-ID: GVkP6z7FxKt

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

--HG--
extra : moz-landing-system : lando
2018-11-05 13:15:10 +00:00
Jan Odvarko 80afef1c94 Bug 1476097 - Use the Menu API's edit menu for all context menu textboxes within the toolbox; r=bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D6494

--HG--
rename : devtools/client/webconsole/utils/context-menu.js => devtools/client/framework/toolbox-context-menu.js
extra : moz-landing-system : lando
2018-11-05 10:52:27 +00:00
Kris Maglione ade8c9ede8 Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888

--HG--
extra : source : afd0a13bcfff4c92ad2497ec687f466484481667
extra : amend_source : 501bca3f94a0cb0c8bec1f30d0b3f64a50b04e48
extra : intermediate-source : bc03f101937e373fdaca735f3f356960a5239bc0
2018-10-25 19:04:01 -07:00