Commit Graph

13555 Commits

Author SHA1 Message Date
Narcis Beleuzu
d69962cc06 Backed out 2 changesets (bug 1504659) for mochitest failures on test_innerWidthHeight_script.html . CLOSED TREE
Backed out changeset f2574f5b186e (bug 1504659)
Backed out changeset 45f63618f66e (bug 1504659)
2018-12-05 22:19:24 +02:00
Michael Ratcliffe
85e0545e3f Bug 1509460 - Disable / re-enable and delete/bring back should not bring the flexbox highlighter back r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12778

--HG--
extra : moz-landing-system : lando
2018-12-05 19:54:56 +00:00
Brad Werth
cd794d1181 Bug 1504659 Part 2: Add tests of viewport RDM scroll behavior, with and without touch simulation. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13174

--HG--
extra : moz-landing-system : lando
2018-12-05 17:16:36 +00:00
Belén Albeza
15cf234f41 Bug 1500332 - Hide connection prompt in This Firefox page. r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D13075

--HG--
extra : moz-landing-system : lando
2018-12-05 13:44:47 +00:00
Cosmin Sabou
69f9d5002c Merge mozilla-inbound to mozilla-central. a=merge 2018-12-05 12:19:43 +02:00
Ciure Andrei
8b45f141ca Backed out 2 changesets (bug 1504659) for browser_scroll.js failures CLOSED TREE
Backed out changeset bcebb3fd72d3 (bug 1504659)
Backed out changeset 1dbe3852e298 (bug 1504659)
2018-12-05 06:57:03 +02:00
Brad Werth
39a9317d64 Bug 1504659 Part 2: Add tests of viewport RDM scroll behavior, with and without touch simulation. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13174

--HG--
extra : moz-landing-system : lando
2018-12-05 02:48:46 +00:00
Razvan Maries
36f8be9d4e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-12-05 00:01:48 +02:00
Patrick Brosset
0e57993bca Bug 1507723 - Don't inline only-child short text nodes that are also flex items; r=gl
This change cleans up a lot of the getCurrentDisplay's logic which was unnecessarily
complex, it seems.
It also extracts the logic to walk up the DOM to find flex/grid containers to a
reusable functions.
Finally, this new extracted function is now used in the walker to determine if a text
node can be inlined in its parent element or not.

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

--HG--
extra : moz-landing-system : lando
2018-12-04 13:29:15 +00:00
Julian Descottes
614db98a2c Bug 1511778 - Remove skip if verify for test_addon_reload and test_addons_actor;r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D13665

--HG--
extra : moz-landing-system : lando
2018-12-04 13:40:07 +00:00
Razvan Caliman
7c2a533958 Bug 1508748 - Avoid duplicate tracking of the same removed CSS declaration. r=pbro
When a declaration is disabled, it is tracked as removed in the Changes panel.
When deleting a disabled declaration, we take care not track it as removed again.

Includes stricter checks when matching previously tracked added and removed declarations.

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

--HG--
extra : moz-landing-system : lando
2018-12-04 12:04:13 +00:00
Razvan Caliman
6235a87936 Bug 1499994 - Revert test instrumentation for Changes panel telemetry. r=pbro
This removes the instrumentation to test the basic telemetry for the Changes panel (open count, time opened).

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

--HG--
extra : moz-landing-system : lando
2018-12-04 08:19:54 +00:00
Bogdan Tara
194724b389 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-03 23:51:35 +02:00
Bogdan Tara
e2eab3097a Merge inbound to mozilla-central. a=merge 2018-12-03 23:49:14 +02:00
Razvan Caliman
b260a0565b Bug 1491887 - Enable tracking CSS changes and the Changes panel for all release channels; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13620

--HG--
extra : moz-landing-system : lando
2018-12-03 20:57:46 +00:00
Mike Conley
d9763e1890 Bug 1505063 - Only flip remoteness in RDM if we're switching from the privileged content process. r=ochameau
This means that for the File URI content process, we end up closing RDM if the page
navigates. This appears to be an acceptable trade-off, as this is the behaviour we've
been shipping since bug 1453519 landed (Firefox 61).

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

--HG--
extra : moz-landing-system : lando
2018-12-03 17:00:20 +00:00
Razvan Caliman
76567f7663 Bug 1506455 - Enforce LTR code on RTL layout in Changes panel r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D13617

--HG--
extra : moz-landing-system : lando
2018-12-03 09:17:38 +00:00
Razvan Caliman
862aba615f Bug 1506170 - Clear the changes stored on the actor upon page refresh/navigate; r=bradwerth
Until we implement intentional persistence of changes between page refreshes, the Changes actor should clear its stack of changes to avoid polluting the next DevTools session.

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

--HG--
extra : moz-landing-system : lando
2018-12-03 20:13:46 +00:00
Patrick Brosset
5df2db204f Bug 1505747 - Reset flex overlay colors before testing them; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13680

--HG--
extra : moz-landing-system : lando
2018-12-03 19:28:10 +00:00
Jason Laster
e7eb39c628 Revert "Backed out changeset d0fb1493b28b (bug 1511717) for devtools failures in browser_webconsole_eval_in_debugger_stackframe.js"
This reverts commit fd12a44e915d4e06f4509588ff4667dd9646e2dd.
2018-12-02 21:16:26 -05:00
Noemi Erli
142d65bfec Backed out changeset d0fb1493b28b (bug 1511717) for devtools failures in browser_webconsole_eval_in_debugger_stackframe.js 2018-12-03 01:19:00 +02:00
Jason Laster
5e9bee4282 Bug 1511717 - Pausing should jump to the first non-blackboxed frame. r=bhackett
Tags:

Bug #: 1511717

Differential Revision: https://phabricator.services.mozilla.com/D13648
2018-12-02 16:46:27 -05:00
Cosmin Sabou
9cf2c214cc Bug 1511710 - Add some spaces for Infix operators. r=eslint-fix 2018-12-02 23:34:21 +02:00
Jason Laster
ae132b3430 Bug 1511710 - The timeline should let you zoom. r=bhackett
Tags:

Bug #: 1511710

Differential Revision: https://phabricator.services.mozilla.com/D13643
2018-12-02 16:08:47 -05:00
Jason Laster
966d77bf1d Bug 1511673 - Disable highlighting debugger lines when in replay mode. r=bhackett
Tags:

Bug #: 1511673

Differential Revision: https://phabricator.services.mozilla.com/D13637
2018-12-02 15:29:09 -05:00
Jason Laster
8280608066 Bug 1511567 - Add UI transitions. r=bhackett
Tags:

Bug #: 1511567

Differential Revision: https://phabricator.services.mozilla.com/D13605
2018-12-01 23:08:15 -05:00
Jason Laster
2b70c3a5fb Bug 1511422 - The console separator should be below the message when we're paused after the log. r=bhackett
Tags:

Differential Revision: https://phabricator.services.mozilla.com/D13581
2018-12-01 23:07:03 -05:00
lenpel
81e64f4189 Bug 1506073 - URL in Headers panel is wrapping now, plus 2 tests adapted for netmonitor. r=Honza 2018-11-26 15:58:33 +01:00
Gabriel Luong
922be1ee41 Bug 1509459 - Get the flexbox highlighter state if the highlighter is ready in the flexbox panel. r=pbro 2018-11-28 11:39:40 -05:00
Narcis Beleuzu
a032920c1d Backed out changeset b9eb6110ecfc (bug 1511422) for dt failures on /browser_browser_toolbox_debugger.js 2018-12-02 00:17:13 +02:00
Jason Laster
a4008cfe9a Bug 1511422 - The console separator should be below the message when we're paused after the log. r=bhackett
Tags:

Differential Revision: https://phabricator.services.mozilla.com/D13581
2018-12-01 10:47:24 -05:00
Jason Laster
90f5358757 Bug 1511352 - Update Debugger Frontend v106. r=dwalsh 2018-12-01 10:38:43 -05:00
Coroiu Cristina
1ca919f882 Merge mozilla-central to autoland a=merge 2018-12-01 07:55:13 +02:00
Coroiu Cristina
3564dfde3b Merge inbound to mozila-central a=merge 2018-12-01 07:46:00 +02:00
Coroiu Cristina
a507aeaca6 Backed out changeset 91e1fe27cef9 (bug 1511352) for causing merge conflicts with bug 820878 a=backout 2018-12-01 07:44:09 +02:00
Jason Laster
4cd46e49cc Revert "Backed out changeset 3124848b93c4 (bug 1511043) for build bustages on jump.svg. CLOSED TREE"
This reverts commit 8551aeffb93b4cc68bf47b798e659155bb897fea.
2018-11-30 19:06:35 -05:00
Jason Laster
7cb6b8d516 Bug 1510408 - Closing devtools should stop recording. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D13145

--HG--
extra : moz-landing-system : lando
2018-11-30 01:28:14 +00:00
Patrick Brosset
f650804de6 Bug 1496458 - Display the flex-container accordion first if a container+item is selected in markup-view; r=gl
Flex elements can be both containers and items at the same time. When they get selected in the inspector
the sidebar shows both the container accordion and the item accordion.
This changeset makes sure the container accordion is displayed before the item accordion only when
the element is selected from the markup-view.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 16:41:57 +00:00
Nicolas Chevobbe
d2713d045c Bug 820878 - Reps bundle release; r=jlast.
Depends on D13561

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

--HG--
extra : moz-landing-system : lando
2018-11-30 18:59:40 +00:00
shindli
848d9f3764 Backed out changeset fbb68a1fb7ce (bug 820878) for failures in devtools/client/webconsole/test/mochitest/browser_webconsole_object_inspector_getters.js CLOSED TREE 2018-11-30 23:50:51 +02:00
Julian Descottes
75755af410 Bug 1510620 - Remove browser_dbg_addon-console.js;r=rpl
Depends on D13257
I think webextensions + console is already thoroughly tested in
devtools/client/aboutdebugging/test/browser_addons_debug_webextension_*.js

Luca, are there features that we might be missing after removing this?

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

--HG--
extra : moz-landing-system : lando
2018-11-30 09:17:25 +00:00
Julian Descottes
1e3fd282f3 Bug 1510620 - Cleanup browser_dbg_listaddons.js using async await;r=davidwalsh
Depends on D13256

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

--HG--
extra : moz-landing-system : lando
2018-11-30 16:32:37 +00:00
Julian Descottes
9da6d655c7 Bug 1510620 - Migrate browser_dbg_listaddons.js to use webextensions;r=davidwalsh
Depends on D13255

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

--HG--
extra : moz-landing-system : lando
2018-11-30 16:32:50 +00:00
Nicolas Chevobbe
5fbcc2f81d Bug 820878 - Add ObjectInspector test for getters; r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D13561

--HG--
extra : moz-landing-system : lando
2018-11-30 19:00:08 +00:00
Yura Zenevich
3801a73b14 Bug 1507870 - add telemetry for accessibility panel tree context menu functionality. r=janerik, data-review=chutten
MozReview-Commit-ID: 837WW3Emuk5

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

--HG--
extra : moz-landing-system : lando
2018-11-30 14:56:00 +00:00
Yura Zenevich
e2f524a9d5 Bug 1507870 - add Print to JSON functionality to the a11y inspector. r=pbro
MozReview-Commit-ID: HyqYgHCCp3T

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

--HG--
extra : moz-landing-system : lando
2018-11-30 14:55:42 +00:00
Yura Zenevich
80eec2f7ae Bug 1507870 - add checks for whether Accessible actor has snapshot capability. r=pbro
MozReview-Commit-ID: EhVlhvjDyS8

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

--HG--
extra : moz-landing-system : lando
2018-11-30 14:55:29 +00:00
Yura Zenevich
fc3cdac0d8 Bug 1507870 - add support for taking a snapshot of the subtree of the accessible object. r=pbro
MozReview-Commit-ID: JdZe0N3ot4c

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

--HG--
extra : moz-landing-system : lando
2018-11-30 14:55:12 +00:00
Yura Zenevich
2b1ee77653 Bug 1507870 - add support for contextmenu extensibility of TreeRow. r=Honza
MozReview-Commit-ID: HhoNsCAiZAk

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

--HG--
extra : moz-landing-system : lando
2018-11-30 14:54:59 +00:00
Razvan Caliman
0d34a6b603 bug 1509890 - (Part 1) Add basic telemetry for Changes panel (time spent and open count). r=pbro
Adds entries to Histograms.json, Scalars.yaml and Events.yaml to
account for the Changes panel when measuring time spent with the panel
in view and opening count. This leverages pre-existing instrumentation
used for other Inspector sidebar panels.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 13:52:55 +00:00
Julian Descottes
e07765e72b Bug 1495380 - Add test to check that we can select network runtimes;r=ladybenko
Depends on D12947

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

--HG--
extra : moz-landing-system : lando
2018-11-30 16:02:47 +00:00
Julian Descottes
905fc1e6e1 Bug 1495380 - Check that addons are displayed and update for network runtimes;r=ladybenko
Depends on D12946

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

--HG--
rename : devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_usb_runtime.js => devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_remote_runtime.js
extra : moz-landing-system : lando
2018-11-30 15:55:30 +00:00
Julian Descottes
a35a98ce24 Bug 1495380 - Allow to select network runtimes;r=ladybenko
Depends on D12946

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

--HG--
extra : moz-landing-system : lando
2018-11-30 15:15:29 +00:00
Julian Descottes
67025440e7 Bug 1495380 - Rename head-usb-mocks to head-mocks to prepare for network mocks;r=ladybenko
Depends on D12945

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

--HG--
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-usb-mocks.js => devtools/client/aboutdebugging-new/test/browser/head-mocks.js
extra : moz-landing-system : lando
2018-11-30 15:55:28 +00:00
Julian Descottes
86aa5cfdf5 Bug 1495380 - Enable extensions debugging for network locations;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D12945

--HG--
extra : moz-landing-system : lando
2018-11-30 11:08:19 +00:00
Julian Descottes
828dc8c018 Bug 1510620 - Migrate aboutdebugging tests using legacy addons to webextensions;r=ochameau
The browser_addons_debug_bootstrapped addon is completely removed because it is already
covered for webextensions with browser_addons_debug_webextensions.js

Other have either been migrated to use webextensions.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 09:12:19 +00:00
Sylvestre Ledru
265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Emilio Cobos Álvarez
c279a94301 Bug 775618 - Implement page-break-{before,after} as legacy shorthands for {before,after}. r=heycam
This is all the style-system work needed for this.

This implements the concept of legacy shorthands, teaches tests to understand
it, and adds a few more tests for these properties in particular.

The WPT even caught a few WebKit / Blink bugs:

  https://bugs.chromium.org/p/chromium/issues/detail?id=906336
  https://bugs.webkit.org/show_bug.cgi?id=191803

This doesn't change the layout behavior for page-break-before: always, since
it'd stop breaking in multicol and such. Similarly, break-before / break-after:
column and page still behave the same, I'll file followups for those given
comment 22.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 05:35:47 +00:00
Razvan Maries
77d87d9972 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-30 05:13:14 +02:00
Gabriel Luong
eb22262961 Bug 1509907 - Add telemetry to track flexbox highlighter usage. r=miker
This also adds a telemetry count for the grid highlighter being turned on by the
markup view, which was not in place when we added the telemetry for the grid
highlighter.
2018-11-29 18:45:43 -05:00
Andrew Swan
79614c052c Bug 857456 Part 0: Clean up remaining tests using legacy extensions r=kmag
--HG--
extra : rebase_source : a36ea76dfff29438f24ea1467959595e5fa902ca
extra : histedit_source : 24dfb942cf4389cc1ebf4e147c649ab9099aa513
2018-11-28 18:45:08 -08:00
Vincent R
10e1038809 Bug 1503175 - Restore the previous inspector layout when reopening. r=gl 2018-11-09 18:56:05 +01:00
Jason Laster
629fbc718a Bug 1511883 - The secondary pane should persist its size. r=dwalsh
Tags:

Bug #: 1511883

Differential Revision: https://phabricator.services.mozilla.com/D13695
2018-12-04 12:17:20 -05:00
Jan Varga
be167c5e0b Bug 1286798 - Part 10: Support for storage events; r=asuth,janv
Storage events are fired either directly after getting response from synchronous SetItem call or through observers. When a new onstorage event listener is added, we sycnhronously register an observer in the parent process. There's always only one observer actor per content process.
PBackgroundLSDatabase is now managed by a new PBackgroundLSObject protocol. PBackgroundLSObject is needed to eliminate the need to pass the principal info and document URI everytime a write operation occurs.
Preparation of an observer shares some states with preparation of a datastore, so common stuff now lives in LSRequestBase and preparation of a datastore now implements a nested state machine.

This patch was enhanced by asuth to drop observers only when the last storage listener is removed.
EventListenerRemoved is invoked on any removal, not just the final removal, so we need to make sure it's the final removal before dropping observer.
2018-11-29 21:47:45 +01:00
Jan Varga
60831f2e38 Bug 1286798 - Part 3: New basic (memory only) implementation of LocalStorage; r=asuth,mccr8
The implementation is based on a cache (datastore) living in the parent process and sync IPC calls initiated from content processes.
IPC communication is done using per principal/origin database actors which connect to the datastore.
The synchronous blocking of the main thread is done by creating a nested event target and spinning the event loop.
2018-11-29 21:47:20 +01:00
Nicolas Chevobbe
047f13303a Bug 1510422 - Fix autocomplete cache handling; r=Honza.
In Bug 1462394, we moved the autocomplete data handling
out of the JsTerm to the Redux store. In the process, we
regress some cases like `await n`, which should display
`navigator`, but isn't anymore when the user types the
whole sequence. Ctrl+Space would still show the popup,
which indicates that the issue is not on the server-side.

This issue is caused because our new code decides that
we should hit the cache when typing the `n`, and there's
nothing in the cache.

Previously, we were clearing the cache as soon as the input
last string wasn't alphanumeric, which we don't anymore.
To fix that, instead of relying on the last string of the
input (which could be wrong in cases like `x.["hello `), we
clear the cache when the autocomplete service returns a null
`matches` property.

In the JsPropertyProvider, we use to return null whenever
there isn't any search done (incorrect input, empty match prop, …).
So it seems like a good idea to bust the cache when the
server returns null.

This requires some changes to the autocomplete service, as well
as some in jsPropertyProvider (e.g. to handle `await `).

Tests are added both on the client and the frontend to make sure
we don't regress this (those tests fail without the actual fix).

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

--HG--
extra : moz-landing-system : lando
2018-11-29 13:58:57 +00:00
Nicolas Chevobbe
6cc34ca969 Bug 1510948 - Fix ObjectInspector arrows styling in console; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D13381

--HG--
extra : moz-landing-system : lando
2018-11-29 12:49:24 +00:00
Julian Descottes
ca974ee77d Bug 1507125 - Protocol Front should throw when called after destroy;r=ochameau
Depends on D13137.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 10:00:06 +00:00
Julian Descottes
700381caa2 Bug 1507125 - Stop destroying DebuggerServer when moving from This Firefox runtime page;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D13137

--HG--
extra : moz-landing-system : lando
2018-11-29 06:29:41 +00:00
Daniel Varga
d4b090ea42 Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 81b5f62e48ccbe6c941a80b72a4eebe0ed942ccf
2018-11-29 11:59:02 +02:00
Ola Gasidlo
a2c7c837a5 Bug 1508651. Added header font color for dark theme. r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D12899

--HG--
extra : moz-landing-system : lando
2018-11-29 09:58:02 +00:00
Patrick Brosset
b08c6ea272 Bug 1507741 - take zoom and dpr into account when rendering justify-content; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D13063

--HG--
extra : moz-landing-system : lando
2018-11-29 09:51:01 +00:00
Coroiu Cristina
da4da94439 Merge mozilla-central to inbound a=merge 2018-11-29 06:39:53 +02:00
Coroiu Cristina
e92b0f1d7f Merge inbound to mozilla-central a=merge 2018-11-29 06:27:40 +02:00
Coroiu Cristina
b8bc09a5b5 Merge mozilla-central to inbound a=merge on a CLOSED TREE
--HG--
rename : python/mozrelease/test/data/Firefox-62.0b11.update.json => python/mozrelease/test/data/Firefox-64.0b13.update.json
extra : rebase_source : 6eb078869182f40343e201993c0d0442ed96ad46
2018-11-29 00:34:07 +02:00
Coroiu Cristina
d4aafa8e1c Merge inbound to mozilla-central a=merge 2018-11-28 23:49:09 +02:00
Gabriel Luong
232fe851f6 Bug 1507750 - Compare the flexbox state for any changes before updating on reflows. r=pbro 2018-11-28 11:25:19 -05:00
Michael Ratcliffe
8675703759 Bug 1509457 - Flex line background pattern shouldn't be draw outside of flex lines r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12749

--HG--
extra : moz-landing-system : lando
2018-11-28 12:27:20 +00:00
Julian Descottes
f4898fa9c5 Bug 1510182 - Load edit menu strings for each new toolbox window;r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D13222

--HG--
extra : moz-landing-system : lando
2018-11-28 11:43:34 +00:00
Jan-Erik Rediger
5fd1cd8036 Bug 1498163 - Migrate external callers to the new snapshot API r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D12890

--HG--
extra : moz-landing-system : lando
2018-11-28 09:36:03 +00:00
Narcis Beleuzu
f2028b4c38 Backed out changeset dfacecb798cc (bug 1510430) for dt failures on browser_dbg-sourcemaps-bogus.js. a=backout 2018-11-28 11:57:10 +02:00
Narcis Beleuzu
32a0676730 Merge autoland to mozilla-central. a=merge 2018-11-28 11:48:31 +02:00
Daisuke Akatsuka
0504c51e3b Bug 1505287: Notify closing event on background tab. r=ochameau,jdescottes
For now, even when close the background/lazy tabs, could not reflect to
`about:debugging` page. In this patch, notify to DevTools clients when close
any tabs.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 03:23:41 +00:00
Razvan Caliman
76d7282cde Bug 1508338 - Add dark theme colors to Changes panel; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12770

--HG--
extra : moz-landing-system : lando
2018-11-28 21:58:22 +00:00
Cosmin Sabou
03a482b756 Merge mozilla-central to mozilla-inbound. 2018-11-28 06:12:39 +02:00
Jason Laster
e1f96f969a Bug 1510430 - Update Debugger Frontend v104. r=dwalsh 2018-11-27 21:47:47 -05:00
Jason Laster
9306b9f35f Bug 1510048 - Player UI Updates. r=dwalsh
Tags:

Bug #: 1510048

Differential Revision: https://phabricator.services.mozilla.com/D13017
2018-11-27 21:46:20 -05:00
Coroiu Cristina
47323ec73b Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-11-28 23:56:03 +02:00
Alexandre Poirot
3ebe15353b Bug 1509315 - Make the console test helper use getTab instead of listTabs. r=yulia
Ideally, it would use TargetFactory. But as that's mochitest chrome,
we don't have natural access to gBrowser/firefox tab.

MozReview-Commit-ID: 4nrfFZu6jAU

Depends on D12734

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

--HG--
extra : moz-landing-system : lando
2018-11-27 21:48:12 +00:00
Alexandre Poirot
110b92d8eb Bug 1509315 - Refactor console attachConsole test helpers to async. r=yulia
MozReview-Commit-ID: 2jIm73AiIPN

Depends on D12733

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

--HG--
extra : moz-landing-system : lando
2018-11-27 21:48:05 +00:00
Alexandre Poirot
bec5bd8427 Bug 1509315 - Remove unecessary calls to listTabs. r=yulia
These tests are calling listTabs, but that is no longer necessary thanks to rootForm
being automatically managed within RootFront.

MozReview-Commit-ID: AmC6dTIJjiY

Depends on D12732

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

--HG--
extra : moz-landing-system : lando
2018-11-27 21:48:03 +00:00
Alexandre Poirot
8436b28fee Bug 1509315 - Remove leftover from debugger head.js file. r=yulia
I also removed the get root form leftover.

MozReview-Commit-ID: DxPwG9a5YAG

Depends on D12731

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

--HG--
extra : moz-landing-system : lando
2018-11-27 21:48:01 +00:00
Alexandre Poirot
ae8986ee28 Bug 1509315 - Use TargetFactory.forTab for creating targets in tests. r=yulia
There is 4 patterns here:
* Tests using attachThreadActorForUrl like event-listeners ones. I augmented this helper method to call TargetFactory.
* Tests using attachTargetActorForUrl like debugger-statement, dbg-navigation and target-scoped-actor. Uses TargetFactory directly.
* Tests using connectDebuggerClient like navigateEvents and spaw_actor_in_parent. Uses TargetFactory directly.
* All the others, where creating DebuggerClient on their own, and calling listTabs+attachTarget. They now use TargetFactory directly.

A note about webconsole-helpers, only consoleClient attribute was used from tests using this helper.
Also, in various tests I remove the call to client.destroy, that's because shared-head will
close all the tabs/toolboxes and it should lead to target/client destruction.
Finally, debugger-statement now request the thread actor via the client instead of manual request,
it should help the refactoring to a front!

MozReview-Commit-ID: 2ah4UmSjuoi

Depends on D12730

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

--HG--
extra : moz-landing-system : lando
2018-11-27 21:47:59 +00:00
Alexandre Poirot
90639c1f6b Bug 1509315 - Pass the full target form to all BrowsingContextTargetFront instances. r=yulia
For now, we only pass { actor } for all tab target fronts created via DebuggerClient.attachTarget,
whereas parent process target fronts were passing the full form from RootFront.getProcess.

MozReview-Commit-ID: 1H2NxFv8glY

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

--HG--
extra : moz-landing-system : lando
2018-11-27 21:47:52 +00:00
Brian Hackett
0e10d8b139 Bug 1510675 - Allow seeking to page errors in console, r=jlast.
--HG--
extra : rebase_source : 9d1a544dd3373b3bd7ed0d7cf972dd58edbd7876
2018-11-28 06:30:50 -10:00
Jason Laster
8d9e4eddb0 Bug 1510440 - Skip breakpoints fails when devtools is re-opened r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D13140

--HG--
extra : moz-landing-system : lando
2018-11-28 18:53:26 +00:00
Narcis Beleuzu
9529070146 Backed out 2 changesets (bug 1507125) for ESlint failure on runtimes.js . CLOSED TREE
Backed out changeset 2b9aaf2f3b58 (bug 1507125)
Backed out changeset 641de22d6480 (bug 1507125)

--HG--
extra : rebase_source : a8338286873050d9636dc6c801f61c7c456e10fd
2018-11-28 19:58:15 +02:00
Julian Descottes
9c97680ee1 Bug 1507125 - Front should throw when sending packet without actorID or destination;r=ochameau
Depends on D13137. I could use help to write the test in a better.
I believe there is a cleaner way to create the front here?
I also had other suggestions for making the fronts more robust in the bug.
Let me know if you think I should try to investigate them more.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 17:36:25 +00:00
Julian Descottes
d26d90b49b Bug 1507125 - Stop destroying DebuggerServer when moving from This Firefox runtime page;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D13137

--HG--
extra : moz-landing-system : lando
2018-11-28 11:56:24 +00:00
Alexandre Poirot
0b2acc477f Bug 1506546 - Remove unused AddonClient module. r=jdescottes
MozReview-Commit-ID: ExKMirBQJ3K

Depends on D12578

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

--HG--
extra : moz-landing-system : lando
2018-11-27 19:16:34 +00:00
Alexandre Poirot
a9fa13cfb7 Bug 1506546 - Use protocol.js to fetch WebExtension target actor. r=yulia
We were dipatching the "connect" request manually, whereas we should be using
protocol.js specifications. It also help getting rid of another use of "form"
instead of "front"/activeTab in Target class.

MozReview-Commit-ID: IOH4mDprAVL

Depends on D12577

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

--HG--
extra : moz-landing-system : lando
2018-11-27 19:16:51 +00:00
Alexandre Poirot
fb70cfb9ed Bug 1506546 - Refactor about:debuggings. r=yulia,jdescottes
I did a dedicated patch for converting both about:debuggings as it is slightly more
complex as we have to tweak redux data, wrappers, mocks.
This patch also convert a manual "reload" request being done by about:debugging
and instead use protocol.js front to do it.
Also, I moved isLegacyTemporaryExtension to the front as it depends on accessing the form
and it should be better to keep form processing to the fronts, if possible.

MozReview-Commit-ID: 16qZkuCBp9b

Depends on D12576

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

--HG--
extra : moz-landing-system : lando
2018-11-27 19:17:11 +00:00
Alexandre Poirot
2118292883 Bug 1506546 - Refactor listAddons call sites. r=yulia
Adapt to the new returned value of listAddons
and also always call it from RootFront instead of DebuggerClient.
Fix the spec in order to expose reload on the front (it was a miss from a previous patch).

MozReview-Commit-ID: AQ5EOQEqnxX

Depends on D12575

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

--HG--
extra : moz-landing-system : lando
2018-11-27 19:17:48 +00:00
Alexandre Poirot
cca3ec2d57 Bug 1506546 - Implement RootFront.getAddon and use it to retrieve a single AddonTargetFront. r=yulia
MozReview-Commit-ID: nWTkfbF9qb

Depends on D12574

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

--HG--
extra : moz-landing-system : lando
2018-11-27 19:18:06 +00:00
Alexandre Poirot
78feeeba2d Bug 1506546 - Change the spec type of listAddons and accomodate using the front rather than the form. r=yulia
MozReview-Commit-ID: 4MAjszUiGUZ

Depends on D12573

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

--HG--
extra : moz-landing-system : lando
2018-11-27 19:18:28 +00:00
Alexandre Poirot
fe4a5688be Bug 1506546 - Refactor getAddonActorForId test helper. r=yulia
MozReview-Commit-ID: A7JxzO7rhhe

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

--HG--
extra : moz-landing-system : lando
2018-11-27 19:18:46 +00:00
Razvan Maries
8965794e05 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-27 19:35:52 +02:00
Razvan Maries
99a5f987b3 Merge mozilla-inbound to mozilla-central a=merge 2018-11-27 19:32:31 +02:00
Julian Descottes
b23c6925ca Bug 1492700 - Migrate AdbRuntime to a class;r=daisuke
Depends on D12766

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

--HG--
extra : moz-landing-system : lando
2018-11-27 12:53:26 +00:00
Julian Descottes
6efcd4a365 Bug 1492700 - Extract AdbRuntime out of adb-scanner.js;r=daisuke
Depends on D12765

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

--HG--
rename : devtools/shared/adb/adb-scanner.js => devtools/shared/adb/adb-runtime.js
extra : moz-landing-system : lando
2018-11-27 12:52:00 +00:00
Julian Descottes
784ad32ab4 Bug 1492700 - Merge Runtime and FirefoxForAndroidRuntime into AdbRuntime;r=daisuke
Depends on D12764

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

--HG--
extra : moz-landing-system : lando
2018-11-27 12:51:37 +00:00
Julian Descottes
49a9d44d6b Bug 1492700 - Fold FirefoxOnAndroidRuntime.detect in scanner.detectRuntimes;r=daisuke
Depends on D12763

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

--HG--
extra : moz-landing-system : lando
2018-11-27 12:51:14 +00:00
Julian Descottes
5e8457cd7d Bug 1492700 - Stop exposing shell() on adb-device because it only forwards to ADB;r=daisuke
Depends on D12762

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

--HG--
extra : moz-landing-system : lando
2018-11-27 12:50:57 +00:00
Julian Descottes
47188bc4cd Bug 1492700 - adb-device.js should export AdbDevice and not Device;r=daisuke
Depends on D12761

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

--HG--
extra : moz-landing-system : lando
2018-11-27 12:50:45 +00:00
Julian Descottes
8ebe10b461 Bug 1492700 - Convert Devices.jsm to adb-devices-registry module;r=daisuke
Depends on D12760

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

--HG--
rename : devtools/shared/adb/Devices.jsm => devtools/shared/adb/adb-devices-registry.js
extra : moz-landing-system : lando
2018-11-27 12:50:12 +00:00
Julian Descottes
886ea34f17 Bug 1492700 - Move Devices.jsm to devtools/shared/adb folder;r=daisuke
Depends on D12759

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

--HG--
rename : devtools/shared/apps/Devices.jsm => devtools/shared/adb/Devices.jsm
extra : moz-landing-system : lando
2018-11-27 12:49:49 +00:00
Julian Descottes
e9f2a32f79 Bug 1492700 - Stop sending adb-addon updates from Devices.jsm;r=daisuke
Depends on D12758

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

--HG--
extra : moz-landing-system : lando
2018-11-27 12:49:11 +00:00
Julian Descottes
db59e29448 Bug 1492700 - Fix ADB stop() in case ADB start() was called several times;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D12758

--HG--
extra : moz-landing-system : lando
2018-11-27 12:48:48 +00:00
Andreea Pavel
772607498b Backed out 7 changesets (bug 1506546) fo failing devtools at devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_system_addons.js on a CLOSED TREE
Backed out changeset fbe3f2183f32 (bug 1506546)
Backed out changeset 8972a2f14015 (bug 1506546)
Backed out changeset 00fe26234b3d (bug 1506546)
Backed out changeset 7d8e650e25c2 (bug 1506546)
Backed out changeset a293a37483b9 (bug 1506546)
Backed out changeset 7b75250a4f12 (bug 1506546)
Backed out changeset 23ad29cb776e (bug 1506546)
2018-11-27 14:37:14 +02:00
Belén Albeza
e6a8a6668e Bug 1479746 - (part 3) Instructions to upgrade react-router-dom library. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D12743

--HG--
extra : moz-landing-system : lando
2018-11-27 12:05:54 +00:00
Belén Albeza
a7dfb0dfc3 Bug 1479746 - (part 2) Add test for routes. r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D12316

--HG--
extra : moz-landing-system : lando
2018-11-27 12:08:04 +00:00
Belén Albeza
aace8a36d8 Bug 1479746 - Add router-like feature to navigate via URL bar. r=jdescottes,daisuke
I'm sorry this is just one commit, I should have split it :( I will submit tests in another patch.

- Vendored [react-router-dom](https://www.npmjs.com/package/react-router-dom) library.
- Removed `getSelectedPageComponent` from `App` component and changed it to use React Router's `Route` components.
- Made the sidebar links to point to proper URL's. Thanks to this we don't need a lot of code/props we were passing to these items to select the proper page.

Some considerations over the implementation:

- React Router's `Switch` is used to wrap our routes, to ensure only one is rendered. Right now is not strictly necessary, but I think it helps to clarify that the routes are _not_ nested.
- We need to pass a `key` prop to the `RuntimePage` rendered in the route, so when we change the actual runtime shown, the page gets updated.
- The action `selectPage` gets called on `componentWillMount`, so it doesn't change state while rendering.
- When we reload the page and a device runtime is selected, we redirect to "This Firefox" page.

(Click on this GIF to see navigation 👇)
{F1100903}

I'm sorry this has taken this long, it has been a bit of a headache 🙏

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

--HG--
extra : moz-landing-system : lando
2018-11-27 12:03:12 +00:00
Alexandre Poirot
d88759d6e8 Bug 1506546 - Remove unused AddonClient module. r=jdescottes
MozReview-Commit-ID: ExKMirBQJ3K

Depends on D12578

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

--HG--
extra : moz-landing-system : lando
2018-11-27 11:23:33 +00:00
Alexandre Poirot
a255c9814e Bug 1506546 - Use protocol.js to fetch WebExtension target actor. r=yulia
We were dipatching the "connect" request manually, whereas we should be using
protocol.js specifications. It also help getting rid of another use of "form"
instead of "front"/activeTab in Target class.

MozReview-Commit-ID: IOH4mDprAVL

Depends on D12577

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

--HG--
extra : moz-landing-system : lando
2018-11-27 11:23:26 +00:00
Alexandre Poirot
9056c84768 Bug 1506546 - Refactor about:debuggings. r=yulia,jdescottes
I did a dedicated patch for converting both about:debuggings as it is slightly more
complex as we have to tweak redux data, wrappers, mocks.
This patch also convert a manual "reload" request being done by about:debugging
and instead use protocol.js front to do it.
Also, I moved isLegacyTemporaryExtension to the front as it depends on accessing the form
and it should be better to keep form processing to the fronts, if possible.

MozReview-Commit-ID: 16qZkuCBp9b

Depends on D12576

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

--HG--
extra : moz-landing-system : lando
2018-11-27 11:23:24 +00:00
Alexandre Poirot
1ecba9148a Bug 1506546 - Refactor listAddons call sites. r=yulia
Adapt to the new returned value of listAddons
and also always call it from RootFront instead of DebuggerClient.
Fix the spec in order to expose reload on the front (it was a miss from a previous patch).

MozReview-Commit-ID: AQ5EOQEqnxX

Depends on D12575

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

--HG--
extra : moz-landing-system : lando
2018-11-27 11:23:22 +00:00
Alexandre Poirot
a4a14bea9f Bug 1506546 - Implement RootFront.getAddon and use it to retrieve a single AddonTargetFront. r=yulia
MozReview-Commit-ID: nWTkfbF9qb

Depends on D12574

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

--HG--
extra : moz-landing-system : lando
2018-11-27 11:23:20 +00:00
Alexandre Poirot
31a22e9610 Bug 1506546 - Change the spec type of listAddons and accomodate using the front rather than the form. r=yulia
MozReview-Commit-ID: 4MAjszUiGUZ

Depends on D12573

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

--HG--
extra : moz-landing-system : lando
2018-11-27 11:23:18 +00:00
Alexandre Poirot
70a9542626 Bug 1506546 - Refactor getAddonActorForId test helper. r=yulia
MozReview-Commit-ID: A7JxzO7rhhe

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

--HG--
extra : moz-landing-system : lando
2018-11-27 11:23:11 +00:00
Julian Descottes
61a987ed24 Bug 1497457 - Remove transportDetails from runtimeDetails;r=daisuke,ladybenko
Depends on D12095. Now that we pass a remoteId to open about:devtools-toolbox, we actually don't need transportDetails

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

--HG--
extra : moz-landing-system : lando
2018-11-27 10:23:24 +00:00
Julian Descottes
f4b238c47e Bug 1497457 - Clear clients stored in remote client manager after tests;r=daisuke,ladybenko
Depends on D12040. If we don't cleanup the clients after the test, some tests may leak.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 10:22:40 +00:00
Julian Descottes
34aeb20514 Bug 1497457 - Reuse clients from remote client manager in about:devtools-toolbox;r=daisuke,ladybenko
Depends on D12039

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

--HG--
extra : moz-landing-system : lando
2018-11-27 10:22:31 +00:00
Julian Descottes
bbe4268927 Bug 1497457 - Test runtime is still connected after about:debugging reload;r=daisuke,ladybenko
Depends on D11993

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

--HG--
extra : moz-landing-system : lando
2018-11-27 10:17:55 +00:00
Julian Descottes
8e5ba0d31f Bug 1497457 - Introduce remote client manager to persist connected remote clients;r=daisuke,ladybenko
Depends on D11992

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

--HG--
extra : moz-landing-system : lando
2018-11-27 10:14:50 +00:00
Julian Descottes
ff4d366afa Bug 1497457 - Allow to remove one time listeners on event-source;r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D11992

--HG--
extra : moz-landing-system : lando
2018-11-27 10:13:47 +00:00
Ehsan Akhgari
6099c9f67b Bug 1508472 - Part 1: First batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal.  I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 10:08:58 +00:00
Andreea Pavel
ebe85db8e7 Backed out changeset ad857edac6a5 (bug 1498163) for failing devtools/client/performance/test/browser_perf-telemetry-04.js on a CLOSED TREE 2018-11-27 11:05:28 +02:00
Razvan Caliman
f0aaeeed1b Bug 1508293 - Update comment for TRACK_CHANGE event in Changes reducer; r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D12768

--HG--
extra : moz-landing-system : lando
2018-11-26 15:55:36 +00:00
Jan-Erik Rediger
c6e72f0819 Bug 1498163 - Migrate external callers to the new snapshot API r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D12890

--HG--
extra : moz-landing-system : lando
2018-11-26 14:34:23 +00:00
Jason Laster
bd9afa5c32 Bug 1510430 - Update Debugger Frontend v104. r=dwalsh 2018-11-28 10:58:22 -05:00
Daniel Varga
2be7e87387 Backed out 7 changesets (bug 1497457) for devtools failure at devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_sidebar_usb_runtime_refresh.js on a CLOSED TREE
Backed out changeset d3b46f3a0306 (bug 1497457)
Backed out changeset bd490139b395 (bug 1497457)
Backed out changeset b2830500918c (bug 1497457)
Backed out changeset 9923755ee205 (bug 1497457)
Backed out changeset f2a39a18f2f6 (bug 1497457)
Backed out changeset 95365a2d7470 (bug 1497457)
Backed out changeset 0e93acc09952 (bug 1497457)

--HG--
extra : amend_source : cc8af90091ef2da669704e6a56a893bd5c72e136
2018-11-27 00:59:34 +02:00
Julian Descottes
ff9bd01e6b Bug 1497457 - Fix aboutdebugging systemaddons test after signature change; r=fix
--HG--
extra : rebase_source : 6a76ffad197a9e30fcd34073124fdce50358ec9d
2018-11-26 22:18:18 +01:00
Julian Descottes
e7b6520ec9 Bug 1497457 - Remove transportDetails from runtimeDetails;r=daisuke,ladybenko
Depends on D12095. Now that we pass a remoteId to open about:devtools-toolbox, we actually don't need transportDetails

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

--HG--
extra : moz-landing-system : lando
2018-11-26 19:57:35 +00:00
Julian Descottes
7dd0c0b1dc Bug 1497457 - Clear clients stored in remote client manager after tests;r=daisuke,ladybenko
Depends on D12040. If we don't cleanup the clients after the test, some tests may leak.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 19:57:02 +00:00
Julian Descottes
0b513829b4 Bug 1497457 - Reuse clients from remote client manager in about:devtools-toolbox;r=daisuke,ladybenko
Depends on D12039

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

--HG--
extra : moz-landing-system : lando
2018-11-26 19:55:33 +00:00
Julian Descottes
0574f9c77a Bug 1497457 - Test runtime is still connected after about:debugging reload;r=daisuke,ladybenko
Depends on D11993

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

--HG--
extra : moz-landing-system : lando
2018-11-26 19:54:15 +00:00
Julian Descottes
90a9afefff Bug 1497457 - Introduce remote client manager to persist connected remote clients;r=daisuke,ladybenko
Depends on D11992

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

--HG--
extra : moz-landing-system : lando
2018-11-26 19:53:47 +00:00
Julian Descottes
5998cb7718 Bug 1497457 - Allow to remove one time listeners on event-source;r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D11992

--HG--
extra : moz-landing-system : lando
2018-11-26 19:53:05 +00:00
Julian Descottes
378cd2a356 Bug 1488499 - Hide system addons in aboutdebugging-new if showSystemAddons pref is false;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D12462

--HG--
extra : moz-landing-system : lando
2018-11-26 19:02:23 +00:00
Patrick Brosset
2a90173ad1 Bug 1509070 - Add histogram to track the type of flex elements selected r=miker
Differential Revision: https://phabricator.services.mozilla.com/D12564

--HG--
extra : moz-landing-system : lando
2018-11-26 16:39:23 +00:00
Julian Descottes
5e119846dc Bug 1501393 - Backed out changeset f21a33a5ef89, remove test-only code;r=pbro,gl
Sorry but 65 is coming to an end, we really need to address this before the
release is closed.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 16:20:00 +00:00
Michael Ratcliffe
dc2b4df5e8 Bug 1509543 - Add missing option parameter comment to devtools/server/actors/styles.js::getComputed() r=rcaliman
Rasvan, if you could r+ this for me then that would be great.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 09:41:36 +00:00
Julian Descottes
35b050ddab Bug 1509781 - Check if server supports changes actor to enable Changes panel;r=yulia,rcaliman
This will enable connecting to Firefox 63 (and 64? not sure in which release the changes actor
was introduced) from Nightly. Pinging yulia for review to check if there is a better way to handle such
backward compatible code when using the getFront API.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 13:20:18 +00:00
Ola Gasidlo
6bd455d006 Bug 1509301. Adding contact info to README.md r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D12894

--HG--
extra : moz-landing-system : lando
2018-11-26 12:03:45 +00:00
Emilio Cobos Álvarez
9ed36d7ba6 Bug 1506547 - Align user-select behavior more with other UAs. r=mats
There's a few subtle behavior changes here, which I'll try to break down in the
commit message.

The biggest one is the EditableDescendantCount stuff going away. This
was added in bug 1181130, to prevent clicking on the non-editable div from
selecting the editable div inside. This is problematic for multiple reasons:

 * First, I don't think non-editable regions of an editable element should
   be user-select: all.

 * Second, it just doesn't work in Shadow DOM (the editable descendant count is
   not kept up-to-date when not in the uncomposed doc), so nested
   contenteditables behave differently inside vs. outside a Shadow Tree.

 * Third, I think it's user hostile to just entirely disable selection if you
   have a contenteditable descendant as a child of a user-select: all thing.

   WebKit behaves like this patch in the following test-case (though not Blink):

     https://crisal.io/tmp/user-select-all-contenteditable-descendant.html

   Edge doesn't seem to support user-select: all at all (no pun intended).

   But we don't allow to select anything at all which looks wrong.

 * Fourth, it's not tested at all (which explains how we broke it in Shadow DOM
   and not even notice...).

In any case I've verified that this doesn't regress the editor from that bug. If
this regresses anything we can fix it as outlined in the first bullet point
above, which should also make us more compatible with other UAs in that
test-case.

The other change is `all` not overriding everything else. So, something like:

  <div style="-webkit-user-select: all">All <div style="-webkit-user-select: none">None</div></div>

Totally ignores the -webkit-user-select: none declaration in Firefox before this
change. This doesn't match any other UA nor the spec, and this patch aligns us
with WebKit / Blink.

This in turn makes us not need -moz-text anymore, whose only purpose was to
avoid this.

This also fixes a variety of bugs uncovered by the previous changes, like the
SetIgnoreUserModify(false) call in editor being completely useless, since
presShell->SetCaretEnabled ended in nsCaret::SetVisible, which overrode it.

This in turn uncovered even more bugs, from bugs in the caret painting code,
like not checking -moz-user-modify on the right frame if you're the last frame
of a line, to even funnier bits where before this patch you show the caret but
can't write at all...

In any case, the new setup I came up with is that when you're editing (the
selection is focused on an editable node) moving the caret forces it to end up
in an editable node, thus jumping over non-editable ones.

This has the nice effect of not completely disabling selection of
-moz-user-select: all elements that have editable descendants (which was a very
ad-hoc hack for bug 1181130, and somewhat broken per the above), and also
not needing the -moz-user-select: all for non-editable bits in contenteditable.css
at all.

This also fixes issues with br-skipping like not being able to insert content in
the following test-case:

  <div contenteditable="true"><span contenteditable="false">xyz </span><br>editable</div>

If you start moving to the left from the second line, for example.

I think this yields way better behavior in all the relevant test-cases from bug
1181130 / bug 1109968 / bug 1132768, shouldn't cause any regression, and the
complexity is significantly reduced in some places.

There's still some other broken bits that this patch doesn't fix, but I'll file
follow-ups for those.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 09:21:37 +00:00
Julian Descottes
0c3ccdabad Bug 1507708 - Add default values for aboutdebugging wifi and network features;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D12444

--HG--
extra : moz-landing-system : lando
2018-11-23 16:51:12 +00:00
Brindusan Cristian
31f0c21cca Backed out changeset 1575904619b5 (bug 1506547) for mochitest failures on test_reftests_with_caret.html. 2018-11-26 03:03:14 +02:00
Emilio Cobos Álvarez
b74c31e4d9 Bug 1506547 - Align user-select behavior more with other UAs. r=mats
There's a few subtle behavior changes here, which I'll try to break down in the
commit message.

The biggest one is the EditableDescendantCount stuff going away. This
was added in bug 1181130, to prevent clicking on the non-editable div from
selecting the editable div inside. This is problematic for multiple reasons:

 * First, I don't think non-editable regions of an editable element should
   be user-select: all.

 * Second, it just doesn't work in Shadow DOM (the editable descendant count is
   not kept up-to-date when not in the uncomposed doc), so nested
   contenteditables behave differently inside vs. outside a Shadow Tree.

 * Third, I think it's user hostile to just entirely disable selection if you
   have a contenteditable descendant as a child of a user-select: all thing.

   WebKit behaves like this patch in the following test-case (though not Blink):

     https://crisal.io/tmp/user-select-all-contenteditable-descendant.html

   Edge doesn't seem to support user-select: all at all (no pun intended).

   But we don't allow to select anything at all which looks wrong.

 * Fourth, it's not tested at all (which explains how we broke it in Shadow DOM
   and not even notice...).

In any case I've verified that this doesn't regress the editor from that bug. If
this regresses anything we can fix it as outlined in the first bullet point
above, which should also make us more compatible with other UAs in that
test-case.

The other change is `all` not overriding everything else. So, something like:

  <div style="-webkit-user-select: all">All <div style="-webkit-user-select: none">None</div></div>

Totally ignores the -webkit-user-select: none declaration in Firefox before this
change. This doesn't match any other UA nor the spec, and this patch aligns us
with WebKit / Blink.

This in turn makes us not need -moz-text anymore, whose only purpose was to
avoid this.

This also fixes a variety of bugs uncovered by the previous changes, like the
SetIgnoreUserModify(false) call in editor being completely useless, since
presShell->SetCaretEnabled ended in nsCaret::SetVisible, which overrode it.

This in turn uncovered even more bugs, from bugs in the caret painting code,
like not checking -moz-user-modify on the right frame if you're the last frame
of a line, to even funnier bits where before this patch you show the caret but
can't write at all...

In any case, the new setup I came up with is that when you're editing (the
selection is focused on an editable node) moving the caret forces it to end up
in an editable node, thus jumping over non-editable ones.

This has the nice effect of not completely disabling selection of
-moz-user-select: all elements that have editable descendants (which was a very
ad-hoc hack for bug 1181130, and somewhat broken per the above), and also
not needing the -moz-user-select: all for non-editable bits in contenteditable.css
at all.

This also fixes issues with br-skipping like not being able to insert content in
the following test-case:

  <div contenteditable="true"><span contenteditable="false">xyz </span><br>editable</div>

If you start moving to the left from the second line, for example.

I think this yields way better behavior in all the relevant test-cases from bug
1181130 / bug 1109968 / bug 1132768, shouldn't cause any regression, and the
complexity is significantly reduced in some places.

There's still some other broken bits that this patch doesn't fix, but I'll file
follow-ups for those.

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

--HG--
extra : moz-landing-system : lando
2018-11-25 20:01:07 +00:00
Nazım Can Altınova
e88550b119 Bug 1476775 - Part 2: Change the profiler usage in devtools after API change r=julienw,gregtatum
Depends on D6267

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

--HG--
extra : moz-landing-system : lando
2018-11-23 16:10:08 +00:00
Razvan Caliman
aa56ee0d4c Bug 1506751 - Re-assign listeners for Observable instances that monitor TargetActor windows on navigate. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D12560

--HG--
extra : moz-landing-system : lando
2018-11-23 15:46:26 +00:00
Michael Ratcliffe
3db97f6d83 Bug 1509107 - Debugger icons missing from event bubble popup r=pbro
Updated to the new path and found a filter that gives us the exact colours we had previously in both light and dark mode.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 15:25:29 +00:00
Narcis Beleuzu
195847fe14 Backed out changeset 0fa44cb3f4b6 (bug 1506751) for xpcshell failures on reflow.js
--HG--
extra : rebase_source : 77d529bcc65ad571092dc6a47e45c8e1a5ccdb44
2018-11-23 16:46:26 +02:00
Razvan Caliman
2de06b5abe Bug 1506751 - Re-assign listeners for Observable instances that monitor TargetActor windows on navigate. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D12560

--HG--
extra : moz-landing-system : lando
2018-11-23 13:19:44 +00:00
Yulia Startsev
095f257055 Bug 1508655 - "Migrate boxmodel utils out of highlighterutils". r=ochameau CLOSED TREE
--HG--
extra : histedit_source : 6b1d51c35a53d6e5881bfc91d67b0fd5bbfc8402
2018-11-23 04:57:00 +02:00
yulia
8fec0e1f69 Bug 1508655 - BoxModel highlighter move nodeHighlighter to highlighterFront; r=ochameau
Depends on D12319

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

--HG--
extra : moz-landing-system : lando
2018-11-23 10:50:21 +00:00
yulia
d86df65170 Bug 1508655 - BoxModel highlighter split domGrip methods to make them more closely related to the walker; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D12319

--HG--
extra : moz-landing-system : lando
2018-11-23 10:49:29 +00:00
Patrick Brosset
e2e2117d83 Bug 1503180 - Part 4 - Give the sizing section names the right colors; r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D12681

--HG--
extra : moz-landing-system : lando
2018-11-22 18:23:46 +00:00
Julian Descottes
93898fe8f8 Bug 1508307 - Rollback getDeviceDescription change and add test for this-firefox mock;r=daisuke
Changed my mind about getDeviceDescription :)
I think it is better to remain explicit and to always say which properties we are exporting.
I also added a small test for the this-firefox mock to avoid future regressions.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 08:11:41 +00:00
Daniel Varga
cef4893007 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-22 23:53:13 +02:00
Alexandre Poirot
c9952b3d09 Bug 1508287 - Refactor server xpcshell tests that do not pass in worker context. r=yulia
MozReview-Commit-ID: 4qGo1ZF7ITC

Depends on D12311

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

--HG--
extra : moz-landing-system : lando
2018-11-22 15:23:26 +00:00
Alexandre Poirot
f1e741b9fd Bug 1508287 - Refactor xpcshell tests using custom principal. r=yulia
MozReview-Commit-ID: 3a9IB4XFjff

Depends on D12310

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

--HG--
extra : moz-landing-system : lando
2018-11-22 15:23:24 +00:00
Alexandre Poirot
8a6b87edaa Bug 1508287 - Refactor most debugger server test using run_test_with_server to share more code. r=yulia
There is a lot of code being copy paste in all these tests
and as I'm most likely going to change things around them in the near future
regarding fission, it would be better if we start sharing more code.

After this there is still a couple of copy paste code (but way less!):
* breakpoints: wait a paused event and eval a custom script in a sandbox
* object grips: set the security.allow_eval_with_system_principal pref, eval stopMe and wait for paused
* stepping: use executeOnNextTickAndWaitForPause to eval a custom script and wait for pause while doing this only on next tick

There is most likely more to share, but at least this isn't framework code, but now only code specific to the debugger.

MozReview-Commit-ID: JgD389cas2j

Depends on D12309

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

--HG--
extra : moz-landing-system : lando
2018-11-22 15:23:22 +00:00
Alexandre Poirot
807406b3ec Bug 1508287 - Ensure exposing console to modules loaded for worker server. r=yulia
Without this devtools/server/tests/unit/test_breakpoint-22.js fails in protocol.js
writeError function when trying to use console object.

MozReview-Commit-ID: JFhFboHugUh

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

--HG--
extra : moz-landing-system : lando
2018-11-22 15:23:15 +00:00
Jason Laster
7da451a65c Bug 1507312 - disable column breakpoints. r=dwalsh 2018-11-21 09:21:00 +02:00
Gabriel Luong
f96806cda8 Bug 1488972 - Adjust horizontal spacing for the dropdown menu buttons. r=Honza 2018-11-22 12:00:23 -05:00
Brian Hackett
77b291f6f7 Bug 1508314 Part 3 - Clear out stepping hooks via ReplayDebugger, r=lsmyth.
--HG--
extra : rebase_source : 7c24a7202a54e28d29209e6ce0bcf6f2702f4ccc
2018-11-20 14:27:18 -10:00
Brian Hackett
aa673ff385 Bug 1508840 - Handle messages with no execution point in the console, r=jlast.
--HG--
extra : rebase_source : 68222ca5d7b251de50888ace6348d4a4d5455e47
2018-11-20 12:37:31 -10:00
Brian Hackett
bdeca38a2c Bug 1506718 - Tolerate exceptions being thrown when getting environment names, r=lsmyth.
--HG--
extra : rebase_source : 73c784b8d5fb19a6538b0e93e85f751de929a21d
2018-11-20 12:00:12 -10:00
Gabriel Luong
874059cbeb Bug 1507748 - Add a pointer cursor to the flexbox inspector buttons. r=mtigley 2018-11-21 20:36:54 -05:00
Coroiu Cristina
ecebb3cfcd Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-11-21 23:50:57 +02:00
Coroiu Cristina
b27585482c Merge inbound to mozilla-central a=merge 2018-11-21 23:43:13 +02:00
Mats Palmgren
91372ff9f3 Bug 1507905 - Add -webkit-appearance:textarea and make that the default for <textarea> for compatibility with other UAs. r=jwatt 2018-11-21 22:05:20 +01:00
Gabriel Luong
fd9406741e Bug 1508353 - [Track Changes] Enable track changes for nightly. r=rcaliman 2018-11-21 12:09:29 -05:00
Cosmin Sabou
6a888dd9ac Merge mozilla-central to mozilla-inbound. a=merge 2018-11-21 18:25:38 +02:00
Razvan Caliman
12acae9b30 Bug 1507476 - Update Changes panel tests to use helpers for rendered declarations. r=pbro
Depends on D12434

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

--HG--
extra : moz-landing-system : lando
2018-11-21 08:16:06 +00:00
Razvan Caliman
c88c8173d9 Bug 1507476 - Match exact tracked declaration when renaming a property. r=pbro
Ensure the exact declaration is matched when aggregating changes and attempting to remove declarations which cancel each other out.
Without checking both the index and the property name, we used to lose tracked declarations that were renamed.

The test checks for the expected rename behaviour and that renaming the declaration to its original clears any tracked changes.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 16:36:01 +00:00
Brian Hackett
f27cfbb569 Bug 1508314 Part 2 - Use parent frame's location when finding step offsets, r=jlast.
--HG--
extra : rebase_source : e94dc3a4e600eee150338227fb2cc72cf7529e17
2018-11-19 14:09:56 -10:00
Michael Ratcliffe
ee65ba9576 Bug 1507733 - Multiple flex-badges can appear active, even though just a single highlighter is visible on page r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D12566

--HG--
extra : moz-landing-system : lando
2018-11-21 17:19:36 +00:00
Michael Ratcliffe
36ecc953a3 Bug 1499630 - Text nodes that are flex items aren't highlighted correctly in the flexbox highlighter when they wrap r=gl
Depends on D11654 and D12307

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

--HG--
extra : moz-landing-system : lando
2018-11-21 14:20:30 +00:00
Michael Ratcliffe
477330588f Bug 1505578 - Flexbox highlighter is offset when container contains padding r=gl
Differential Revision: https://phabricator.services.mozilla.com/D11654

--HG--
extra : moz-landing-system : lando
2018-11-21 17:04:35 +00:00
Julian Descottes
8ffb5d613a Bug 1500005 - Add types file for aboutdebugging debug-target;r=ladybenko,daisuke
Depends on D11780

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

--HG--
extra : moz-landing-system : lando
2018-11-21 07:24:00 +00:00
Julian Descottes
59ebb01f92 Bug 1500005 - Stop storing worker front in aboutdebugging state;r=daisuke
Depends on D11780

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

--HG--
extra : moz-landing-system : lando
2018-11-21 07:20:28 +00:00
Julian Descottes
07bc63a79a Bug 1500005 - Add dedicated types folder for aboutdebugging types;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D11780

--HG--
rename : devtools/client/aboutdebugging-new/src/types.js => devtools/client/aboutdebugging-new/src/types/runtime.js
extra : moz-landing-system : lando
2018-11-21 07:15:07 +00:00
Julian Descottes
1dc0b2885d Bug 1506056 - Rename runtimeDetails.client to clientWrapper;r=daisuke
Note that I fixed the worker bug at the same time. We can keep your other bug to add a test.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 06:51:56 +00:00
Barret Rennie
4575169eee Bug 1457546 - Add checkbox to record screenshots in new performance pane r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D12339

--HG--
extra : moz-landing-system : lando
2018-11-20 18:32:00 +00:00
yulia
b28f7899f4 bug 1507146 - make getting accessibility front async in inspector; r=ochameau
Depends on D11898

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

--HG--
extra : moz-landing-system : lando
2018-11-19 12:08:45 +00:00
yulia
d916755a60 bug 1507146 - make getting reflow front async; r=ochameau
Depends on D11888

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

--HG--
extra : moz-landing-system : lando
2018-11-19 12:05:45 +00:00
yulia
7f0f51acb8 bug 1507146 - make getting animation front async in animation panel; r=ochameau
Animations panel also had a sync getTarget location. Unfortunately this animation front was used in
a number of locations. In this case, I used getFront in each call location, as these were always
async. I am not sure if this was the best way

Depends on D11887

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

--HG--
extra : moz-landing-system : lando
2018-11-21 14:34:42 +00:00
yulia
9bb161f3bc bug 1507146 - make changesView have an async init method; r=ochameau
ChangesView was challenging because the async call was in the constructor. I moved it out of the
constructor to the init method, and do a check to see if its been initialized in the destroy method.

Depends on D11886

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

--HG--
extra : moz-landing-system : lando
2018-11-21 14:39:17 +00:00
shindli
cbbdd02331 Merge inbound to mozilla-central. a=merge 2018-11-21 05:59:34 +02:00
Micah Tigley
3d84ed1aef Bug 1503347 - Modify the Flex Item actor to consider CSS rules using the important keyword. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D11789

--HG--
extra : moz-landing-system : lando
2018-11-20 22:19:58 +00:00
shindli
95b9b72836 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-20 23:50:05 +02:00
shindli
e75ab0ac9a Merge inbound to mozilla-central. a=merge 2018-11-20 23:44:09 +02:00
Jason Laster
d7eb5542a4 Bug 1507260 - Pretty Print fails with sourceMap error when Source Maps is off. r=lsmyth
Tags:

Bug #: 1507260

Differential Revision: https://phabricator.services.mozilla.com/D11928
2018-11-20 15:07:48 -05:00
Razvan Caliman
c786ea6851 Bug 1508691 - Ensure range inputs in Font Editor do not have a background color. r=gl
MozReview-Commit-ID: EmF55t1eQbN

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

--HG--
extra : moz-landing-system : lando
2018-11-20 17:19:06 +00:00
Tom Schuster
5a9d2a428c Bug 1493292 - Remove aDataLen parameters from nsITransferable.getTransferData. r=smaug
Depends on D11200

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

--HG--
extra : moz-landing-system : lando
2018-11-20 16:59:56 +00:00
Patrick Brosset
ac51e25eb7 Bug 1508581 - Fix a few UI inconsistencies in the flex inspector in RTL; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D12418

--HG--
extra : moz-landing-system : lando
2018-11-20 14:44:28 +00:00
Julian Descottes
b9883553c8 Bug 1493968 - Wait for requests to finish in aboutdebugging navigate test;r=ladybenko
Still not sure what is the root issue here, but none of the regular connect tests are failing so I think the issue occurs when we remove tabs in the second step.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 15:38:27 +00:00
Razvan Caliman
a06dcc1b42 Bug 1507749 - Account for changing TextProperty when editing inline styles. r=pbro
The patch for https://bugzilla.mozilla.org/show_bug.cgi?id=1467076 discards previous TextProperty instances for the element's inline style when the inline style is updated.

On start, the Shape Path Editor kept a reference to the original TextProperty instance. This outdated instance caused the update mechanism of the Shape Path Editor to fail.

This patch fixes the issue by keeping metadata (index and property name) about the TextProperty to re-identify the correct one when needed instead of relying on a potentially outdated reference.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 15:19:47 +00:00
Csoregi Natalia
df7483024d Backed out 6 changesets (bug 1493292) for bustage on /nsTransferable.cpp. CLOSED TREE
Backed out changeset f198bf91320b (bug 1493292)
Backed out changeset 6487aa307123 (bug 1493292)
Backed out changeset f2cabd69c568 (bug 1493292)
Backed out changeset 71430fceb4a3 (bug 1493292)
Backed out changeset 3a9b6d65d8c7 (bug 1493292)
Backed out changeset 55769869037c (bug 1493292)
2018-11-20 17:13:18 +02:00
Tom Schuster
b292ec7c2c Bug 1493292 - Remove aDataLen parameters from nsITransferable.getTransferData. r=smaug
Depends on D11200

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

--HG--
extra : moz-landing-system : lando
2018-11-20 14:47:02 +00:00
Michael Ratcliffe
3ed091cf70 Bug 1509004 - Flexbox highlighter remains in place when toggling display:flex in the styles r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12665

--HG--
extra : moz-landing-system : lando
2018-11-28 16:40:20 +00:00
Florens Verschelde
456a7243bd Bug 1507924 - Remove codemirror/old-debugger.css and related assets; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D12174

--HG--
rename : devtools/client/themes/images/debugger-step-in.svg => devtools/client/themes/images/canvasdebugger-step-in.svg
rename : devtools/client/themes/images/debugger-step-out.svg => devtools/client/themes/images/canvasdebugger-step-out.svg
rename : devtools/client/themes/images/debugger-step-over.svg => devtools/client/themes/images/canvasdebugger-step-over.svg
extra : moz-landing-system : lando
2018-11-28 14:21:11 +00:00
Gabriel Luong
c69b6a3edd Bug 1507844 - Push the devtools.inspector.flexboxHighlighter.enabled pref in browser_markup_display_node[01/02].js; r=pbro 2018-11-20 12:16:10 -05:00
arthur.iakab
a5b0a4bc98 Merge mozilla-central to inbound 2018-11-20 18:49:12 +02:00
Andrew Osmond
aaa036b430 Bug 1507691 - Followup to fix broken test expecting accept header without image/webp. r=aosmond CLOSED TREE 2018-11-20 08:51:00 -05:00
Razvan Caliman
5800899d90 Bug 1503924 - Mark style sources from iframes in the Changes panel. r=gl
Depends on D12590

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

--HG--
extra : moz-landing-system : lando
2018-11-26 05:02:06 +00:00
Razvan Caliman
c7340b7ac9 Bug 1503924 - Move level definition to CSS variable in DOM and reuse in Changes panel stylesheet. r=gl
Depends on D12588

Support indefinite nesting by declaring the --diff-level CSS custom property as an inline style on the element at its level of nesting.
This custom property will be used in the stylesheet to compute the appropriate padding-left to create the indentation necessary.

A minumum offset is used, --diff-level-min-offset, to account for the first level (zero-indexed) and to allow additional padding on added/removed lines to clear  the +/- icons.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 19:12:27 +00:00
Razvan Caliman
eedbbcdc2c Bug 1503924 - Trim source URLs to filename in Changes panel. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12588

--HG--
extra : moz-landing-system : lando
2018-11-23 16:25:18 +00:00
Patrick Brosset
1b46e0b9bd Bug 1509908 - Enabling the flexbox tools on all channels; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12942

--HG--
extra : moz-landing-system : lando
2018-11-26 17:17:13 +00:00
Nicolas Chevobbe
500794ec29 Bug 1509440 - Fix JsTerm completionText handling with Left/Home/End keys; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D12772

--HG--
extra : moz-landing-system : lando
2018-11-27 12:39:45 +00:00
Nicolas Chevobbe
0689e637de Bug 1473841 - Don't return dot-notation invalid properties; r=Honza.
In JsPropertyProvider, if doing a property access (with a dot),
check that the results are suited for a dot notation (e.g. `data`
is, while `data-test` is not).
In case, of an element access, we can return everything.

This implies making some changes to some tests which were using
invalid dot notation access in some case, which revealed a
bug with bracket autocomplete and spaces.

So the bracket autocomplete with spaces is now also fixed, and
a test case was added for that as well.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 13:46:46 +00:00
yulia
899e52534b bug 1507146 - add await to all target.getFront calls in async callsites; r=ochameau
Depends on D11885

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

--HG--
extra : moz-landing-system : lando
2018-11-14 15:11:59 +00:00
yulia
a9d93a06b4 bug 1507146 - account for async fronts when we destroy; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D11885

--HG--
extra : moz-landing-system : lando
2018-11-15 08:50:59 +00:00
Florens Verschelde
79228b0294 Bug 1507715 - Update console error, warning and info icons; r=nchevobbe
- Add a new 12px round icon for Console errors.
- Update the warning (triangle) icon to use the same 12px size.
- Update the info icon to use the same 12px size,
  and differentiate its design from the error icon.
- Tweak the Console's input and return icons to be a tiny bit
  bigger (for better overall visual balance) and crisper @1x.

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

--HG--
rename : devtools/client/themes/images/devtools-components/checkbox.svg => devtools/client/themes/images/checkbox.svg
extra : moz-landing-system : lando
2018-11-20 06:21:46 +00:00
Nicolas Chevobbe
701560ca88 Bug 1506867 - Use AST to get the properties-access chain; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D11893

--HG--
extra : moz-landing-system : lando
2018-11-20 06:43:03 +00:00
Andreea Pavel
d8849bad00 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-20 07:12:30 +02:00
Razvan Maries
208d16134b Merge mozilla-inbound to mozilla-central a=merge 2018-11-20 07:03:17 +02:00
Micah Tigley
40e7017dba Bug 1507746 - Shorten the flexbox container's selector in the accordion header if its too long. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12292

--HG--
extra : moz-landing-system : lando
2018-11-20 01:55:29 +00:00
Logan Smyth
70404f6a96 Bug 1507911 - Update Debugger Frontend v103 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D12188

--HG--
extra : moz-landing-system : lando
2018-11-19 23:37:10 +00:00
Michael Ratcliffe
426d291b06 Bug 1508297 - Expose DOMRect to DevTools modules r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12307

--HG--
extra : moz-landing-system : lando
2018-11-19 21:15:44 +00:00
Nicolas Chevobbe
2df90a7acc Bug 1506118 - Use chromeUtilsWindow to start the parser worker; r=Honza.
As we were using the browserWindow to start the
parser worker, this was causing an exception
when evaluation from the browser toolbox.
Using chromUtilsWindow fixes the issue.

There is no tests yet as I'm not sure there's
an easy way to test things in the browser toolbox.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 16:33:22 +00:00
Julian Descottes
6380b99f50 Bug 1498143 - Pass nodeActorID to screenshot actor to enable feature in iframes and shadowroots;r=pbro,yulia
Differential Revision: https://phabricator.services.mozilla.com/D12124

--HG--
extra : moz-landing-system : lando
2018-11-19 13:27:51 +00:00
Ted Campbell
49eabf2337 Bug 1508180 - Use uppercase names for high-order macros in js/ r=jandem
This pleases clang-format and makes many of these behave better when
auto formatted. Special cases may still be marked |clang-format off| in
later commits.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 13:05:09 +00:00
Patrick Brosset
22136caa2e Bug 1506792 - Bail out when trying to get getComputedStyle for a non attached node; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D12117

--HG--
extra : moz-landing-system : lando
2018-11-19 10:55:45 +00:00
Tom Schuster
0a9cb5e742 Bug 1473224 - Use blob URL instead of data URL for image data in clipboard test. r=yulia
String.fromCharCode(...charCodes) is limited by the maximum number of arguments that SpiderMonkey
can pass on the stack, if the screenshot gets to large this can easily fail.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 09:53:36 +00:00
Florens Verschelde
2f2e6df330 Bug 1507941 - Style CodeMirror folding buttons with the theme-twisty arrow; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D12185

--HG--
extra : moz-landing-system : lando
2018-11-19 10:27:22 +00:00
Jefry Lagrange
d67a0a3656 Bug 1508584 - Add some space between console message and file name. r=nchevobbe 2018-11-26 09:26:00 +02:00
Jason Laster
f9117e8d6d Bug 1510629 - Update Debugger Frontend v105. r=dwalsh 2018-11-28 13:58:42 -05:00
Csoregi Natalia
a56e662df5 Backed out changeset 26baf1ec73c6 (bug 1510023) for browser_flexbox_highlighter_color_picker_on_RETURN.js failures. CLOSED TREE 2018-11-28 20:53:39 +02:00
Brindusan Cristian
e3fe5207ff Backed out changeset cfb51d413370 (bug 1509459) for devtools failures on browser_flexbox_highlighter_color_picker_on_ESC.js. 2018-11-28 19:23:08 +02:00
Gabriel Luong
df66599cf0 Bug 1509459 - Get the flexbox highlighter state if the highlighter is ready in the flexbox panel. r=pbro 2018-11-28 11:39:40 -05:00
Gabriel Luong
51fff5d43c Bug 1510023 - Fetch the flexbox highlighter color from the async storage instead of the Redux store. r=mtigley 2018-11-28 11:30:11 -05:00
Gabriel Luong
e83ad74571 Bug 1508402 - Flex item selector dropdown menu should the whole selector if it fits. r=pbro 2018-11-28 11:28:01 -05:00
Gabriel Luong
dbea89314d Bug 1508394 - Clicking a flex item in the flex item list should scroll the layout pane to the top. r=mtigley 2018-11-28 11:25:56 -05:00
Daniel Holbert
177fb00698 Backed out changeset 713eea9bd41b (bug 1502524) since it turned out to be depending on a bug in our css "contain:size" implementation.
--HG--
extra : rebase_source : 5cdaf6712d3b6a248b22c08e7db5530aeea67658
2018-12-17 11:36:58 -08:00
Jason Laster
da7beb3705 Bug 1514760 - Debugger variables cannot be expanded when re-paused. r=nchevobbe
Tags:

Bug #: 1514760

Differential Revision: https://phabricator.services.mozilla.com/D14747
2018-12-17 14:36:10 -05:00
Gabriel Luong
9eeeffbc02 Bug 1493745 - Support RDM toolbar on small viewports. r=pbro 2018-11-21 14:01:23 -05:00
Denis Palmeiro
1d2e62c07a Bug 1497016 - Add an API to extract tracelogger data and use this within the gecko profiler r=mstange,djvj
Add a new class to extract tracelogger data using chunked buffers and use this to write the data out to the profiler JSON output.  Copying the data in chunks lets us minimize our memory overhead when writing out to the profiler so a large array of millions of elements does not need to be allocated ahead of time.

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

--HG--
extra : moz-landing-system : lando
2018-12-04 21:43:38 +00:00
Nicolas Chevobbe
b837211005 Bug 1512016 - Add ObjectInspector test for getters; r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D13561

--HG--
extra : moz-landing-system : lando
2018-12-04 18:43:14 +00:00