Commit Graph

13290 Commits

Author SHA1 Message Date
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
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