Commit Graph

15253 Commits

Author SHA1 Message Date
Cosmin Sabou
6f67a6f9e5 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-02 00:55:55 +03:00
Brian Hackett
33ca510058 Bug 1529867 - Wait for worker source, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D25612

--HG--
extra : rebase_source : 940a415ade4c80a9fa884375749e2f4c9cc2cbf0
2019-04-01 07:48:39 -06:00
Oana Pop Rus
201450283c Merge inbound to mozilla-central. a=merge 2019-04-01 12:48:18 +03:00
Nicolas Chevobbe
1dcf4bfd19 Bug 1312823 - Run console mocha tests on TRY. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D25045

--HG--
extra : moz-landing-system : lando
2019-04-01 07:19:18 +00:00
Nicolas Chevobbe
088541bb3a Bug 1312823 - Fix console mocha tests. r=jdescottes.
This adds missing preferences to mocha-test-setup.js, and
add URLSearchParams to the global object if it's not
defined there (e.g. in Node < v.10.0.0).

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

--HG--
extra : moz-landing-system : lando
2019-04-01 07:18:48 +00:00
Sebastian Hengst
c23936fcc6 Bug 1539131 - Only test bigInt propertypes in test_objectgrips-08.js if bigInt is enabled r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D25508

--HG--
extra : moz-landing-system : lando
2019-04-01 05:39:57 +00:00
Philip Chimento
7262bcdffb Bug 1506324 - Use DefaultGlobalClassOps in existing code. r=tcampbell
Reviewers: tcampbell

Subscribers: jandem

Bug #: 1506324

Differential Revision: https://phabricator.services.mozilla.com/D11571
2019-03-31 15:30:45 -07:00
Brian Hackett
feba11acf4 Bug 1539506 - Ensure reducer breakpoints and installed breakpoints are in sync, r=loganfsmyth.
--HG--
extra : histedit_source : b09b60352936d209874d13a4de019aba885dcfc1%2Cfb7aa4914c85d479ebef5fa7e0aa9fc8ddfb9f27
2019-03-31 13:44:14 -06:00
Daniel Varga
dd6c317f56 Backed out changeset bdc95cb69849 (bug 1539506) for debugger FAIL src/actions/sources/tests/loadSource.spec.js 2019-03-31 22:32:39 +03:00
Nicolas Chevobbe
c94181f930 Bug 1540149 - Don't use Array.map in prepareConsoleMessageForRemote. r=bgrins.
`Array.map` triggers a deprecation warnings, and it
turns out we can use `.map`  directly on the objects
we were calling `Array.map` on.

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

--HG--
extra : moz-landing-system : lando
2019-03-30 20:06:44 +00:00
Paul Bone
f99907635a Bug 1518138 - Try to work-around OOMs during tests r=ochameau
I'm not sure if this'll work, I'll check the crash rates in one week.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 09:56:47 +00:00
Nicolas Chevobbe
77d707b079 Bug 1524276 - Group content blocking messages. r=bgrins,Honza.
If there's at least 2 content blocking messages displayed
for a given page navigation, we display a warning group
containing the messages, collapsed by default.
This means we need to move or insert those warning messages
at the right position in visibleMessages, either when they're
added, or when we expand a group.
Two mochitest are added to make sure this works as expected,
one for generic warningGroup features (expanding, group per
navigation session, …), and another one specifically for
content blocking warning group, where we check that every
type of content blocking message can be grouped.

The grouping won't occur unless the groupWarnings preferences
is on.

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

--HG--
extra : moz-landing-system : lando
2019-03-30 11:09:21 +00:00
Nicolas Chevobbe
7b6e74c208 Bug 1524276 - Add WarningGroup message component. r=bgrins.
This component will be used to render warning groups messages.
We also add a `inWarningGroup` prop to the `Message` component
so warnings that will be displayed in such warningGroup can
be styled differently (no warning icon, a different color for
the indent).
Add some utils functions and constants to check if a message
should be a warning group.

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

--HG--
extra : moz-landing-system : lando
2019-03-30 11:08:56 +00:00
Nicolas Chevobbe
cc5fae5bf3 Bug 1524276 - Add groupWarnings preference in console redux state. r=bgrins.
This will be used to enable groups of warning messages (Tracking Protection,
CSP, CORS, …).

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

--HG--
extra : moz-landing-system : lando
2019-03-30 11:08:26 +00:00
Nicolas Chevobbe
4a7ea2cf9d Bug 1524276 - Expose category and innerWindowID properties in ConsoleMessage. r=bgrins.
This will be used to group similar messages together.
Stubs are updated.

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

--HG--
extra : moz-landing-system : lando
2019-03-30 11:07:56 +00:00
Mellina Yonashiro
a647f7852d Bug 1534400 - Gutter hover shouldn't display if source is blackboxed r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D23229

--HG--
extra : moz-landing-system : lando
2019-03-29 22:30:47 +00:00
Brian Hackett
783ec7dcfd Bug 1539506 - Ensure reducer breakpoints and installed breakpoints are in sync, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D25275

--HG--
extra : rebase_source : 2cc769e6f032bf30e1f5761160338ef1cd5343dc
2019-03-28 12:33:27 -06:00
Jason Laster
52ffc8ce81 Bug 1540239 Update module-manifest. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D25466

--HG--
extra : moz-landing-system : lando
2019-03-29 21:02:24 +00:00
David Walsh
c28222aaf1 Bug 1537988 - Improve spacing and icons for workers r=jlast
Improves spacing and alignment for workers in the right pane and sources tree.  Also changes the Main thread icon to be document in the worker pane.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:05:40 +00:00
David Walsh
a3681b9588 Bug 1540151 - Sync dictionary and development config from GitHub r=jlast
I keep needing to reset these during commits so we should update MC

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

--HG--
extra : moz-landing-system : lando
2019-03-29 18:02:44 +00:00
Jason Laster
2dc9aa5a90 Bug 1539493 - Remove source metadata. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25122

--HG--
extra : moz-landing-system : lando
2019-04-01 12:49:18 +00:00
shindli
ebbe440e94 Backed out changeset e78a1f8b81db (bug 1536237) for ES lint failure in /builds/worker/checkouts/gecko/devtools/client/inspector/fonts/fonts.js CLOSED TREE 2019-04-01 14:38:48 +03:00
Razvan Caliman
bc55f8ae1c Bug 1536237 - Add support for letter spacing in Font Editor. r=gl
- Reads the value for the letter-spacing CSS property and shows it in the Font Editor. When it is default, show the "normal" identifier. As soon as the user tries to edit it using the value slider, switch to an em-based value.

- Tweaks the unit conversion method to support letter-spacing: using correct reference node for em units, returning high-precision results even for pixels (allow sub-pixel precision)

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

--HG--
extra : moz-landing-system : lando
2019-04-01 09:45:11 +00:00
Julian Descottes
dac606a5ca Bug 1518469 - Redirect old about:debugging routes to This Firefox;r=ladybenko
Depends on D25061
Two motivations to support the old routes:
- we have some links inside Firefox (application panel, about:addons, Developer Menu) that link to about:debugging. With this fix we avoid updating the links with code that depends on the value of the preference. We will fully update the links once the old aboutdebugging codebase is removed.
- there are some external pages that refer to about:debugging#workers or about:debugging#addons (did a quick google search). not a lot of them but this will also allow to keep supporting them

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

--HG--
extra : moz-landing-system : lando
2019-03-29 17:48:21 +00:00
Julian Descottes
0ee8134ffe Bug 1518469 - Enable new about:debugging by default;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D25061

--HG--
extra : moz-landing-system : lando
2019-03-29 17:48:19 +00:00
Daniel Varga
baeeb7c24b Backed out 4 changesets (bug 1524276) for mochitest-devtools at devtools/client/webconsole/test/fixtures/stub-generators/browser_webconsole_check_stubs_console_api.js. On a CLOSED TREE
Backed out changeset 78fb95dc20e3 (bug 1524276)
Backed out changeset 30570673a894 (bug 1524276)
Backed out changeset 9476f9253c9c (bug 1524276)
Backed out changeset 6f1c417146be (bug 1524276)
2019-03-29 17:48:19 +02:00
Brian
d8eb046cd9 Bug 1523763 - Move tab context menu strings to FTL file loaded on-demand. r=Gijs,flod
Moved tab context menu out of browser.dtd to browser.xul except for sendPageToDevice, sendLinkToDevice, moveTabOptions, moveSelectedTabOptions, undoCloseTab. Not sure if tabbrowser.js and tabbrowser.xul are working as intended.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:55:12 +00:00
Nicolas Chevobbe
d45c05f470 Bug 1524276 - Group content blocking messages. r=bgrins,Honza.
If there's at least 2 content blocking messages displayed
for a given page navigation, we display a warning group
containing the messages, collapsed by default.
This means we need to move or insert those warning messages
at the right position in visibleMessages, either when they're
added, or when we expand a group.
Two mochitest are added to make sure this works as expected,
one for generic warningGroup features (expanding, group per
navigation session, …), and another one specifically for
content blocking warning group, where we check that every
type of content blocking message can be grouped.

The grouping won't occur unless the groupWarnings preferences
is on.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:19:50 +00:00
Nicolas Chevobbe
10c0d470ac Bug 1524276 - Add WarningGroup message component. r=bgrins.
This component will be used to render warning groups messages.
We also add a `inWarningGroup` prop to the `Message` component
so warnings that will be displayed in such warningGroup can
be styled differently (no warning icon, a different color for
the indent).
Add some utils functions and constants to check if a message
should be a warning group.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:18:18 +00:00
Nicolas Chevobbe
ece7da37a9 Bug 1524276 - Add groupWarnings preference in console redux state. r=bgrins.
This will be used to enable groups of warning messages (Tracking Protection,
CSP, CORS, …).

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:17:32 +00:00
Nicolas Chevobbe
9539eccd33 Bug 1524276 - Expose category and innerWindowID properties in ConsoleMessage. r=bgrins.
This will be used to group similar messages together.
Stubs are updated.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:17:03 +00:00
Belén Albeza
df8a6860a4 Bug 1538678 - Fix react 'unique key prop' error in ConnectSteps. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25227

--HG--
extra : moz-landing-system : lando
2019-03-28 15:56:32 +00:00
Daniel Varga
1380d5ef8d Backed out 4 changesets (bug 1524276) for mochitest-devtools failure at devtools/client/webconsole/test/fixtures/stub-generators/browser_webconsole_check_stubs_console_api.js. On a CLOSED TREE
Backed out changeset 47363a80ef6d (bug 1524276)
Backed out changeset 1fee0c357772 (bug 1524276)
Backed out changeset 8bbe3e4f5a54 (bug 1524276)
Backed out changeset d21159afd969 (bug 1524276)
2019-03-29 13:47:46 +02:00
Patrick Brosset
bcfd6cd961 Bug 1409085 - Tell RDM when picking to stop simulating touch; r=mtigley,gl
Differential Revision: https://phabricator.services.mozilla.com/D25231

--HG--
extra : moz-landing-system : lando
2019-03-29 09:47:35 +00:00
Nicolas Chevobbe
8e2534c46c Bug 1538700 - Fix NotificationBox proptype. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D25358

--HG--
extra : moz-landing-system : lando
2019-03-29 09:17:08 +00:00
Nicolas Chevobbe
8997da599c Bug 1524276 - Group content blocking messages. r=bgrins,Honza.
If there's at least 2 content blocking messages displayed
for a given page navigation, we display a warning group
containing the messages, collapsed by default.
This means we need to move or insert those warning messages
at the right position in visibleMessages, either when they're
added, or when we expand a group.
Two mochitest are added to make sure this works as expected,
one for generic warningGroup features (expanding, group per
navigation session, …), and another one specifically for
content blocking warning group, where we check that every
type of content blocking message can be grouped.

The grouping won't occur unless the groupWarnings preferences
is on.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 08:04:24 +00:00
Nicolas Chevobbe
48e44d1ff1 Bug 1524276 - Add WarningGroup message component. r=bgrins.
This component will be used to render warning groups messages.
We also add a `inWarningGroup` prop to the `Message` component
so warnings that will be displayed in such warningGroup can
be styled differently (no warning icon, a different color for
the indent).
Add some utils functions and constants to check if a message
should be a warning group.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 08:03:59 +00:00
Nicolas Chevobbe
b2556ed8a4 Bug 1524276 - Add groupWarnings preference in console redux state. r=bgrins.
This will be used to enable groups of warning messages (Tracking Protection,
CSP, CORS, …).

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

--HG--
extra : moz-landing-system : lando
2019-03-29 08:03:34 +00:00
Nicolas Chevobbe
6685c3a7a7 Bug 1524276 - Expose category and innerWindowID properties in ConsoleMessage. r=bgrins.
This will be used to group similar messages together.
Stubs are updated.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 08:03:15 +00:00
Mellina Yonashiro
23924e188c Bug 1536043 - Box shadow around cards is cut on the sides r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D24661

--HG--
extra : moz-landing-system : lando
2019-03-28 17:36:33 +00:00
Mellina Yonashiro
bd5eb1b373 Bug 1537772 - Change wording in UI from runtime to browser r=jdescottes,flod
Differential Revision: https://phabricator.services.mozilla.com/D24664

--HG--
extra : moz-landing-system : lando
2019-03-28 19:21:09 +00:00
David Walsh
89d52ec831 Bug 1539889 - Fix postcss issue in debugger launchpad r=jlast
I agree that we should remove PostCSS but since we have contributors moving to MC, I want to get this fixed ASAP.

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

--HG--
extra : moz-landing-system : lando
2019-03-28 19:44:28 +00:00
David Walsh
09f42f8e66 Bug 1532359 - Remove Node from library options r=nchevobbe
Removes Node.js as an option for library detection to prevent issues in console.

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

--HG--
extra : moz-landing-system : lando
2019-03-28 16:51:26 +00:00
Oana Pop Rus
6450336590 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-28 19:41:57 +02:00
Brian Hackett
199bb297a6 Bug 1538397 - Don't use source actor for event listeners with mapped sources, r=ochameau.
--HG--
extra : histedit_source : ff5792d263f849c3a8255371e5570cd842f02a05%2C2fba09ffff23dd9d0901aaabad74c6a1708a30da
2019-03-28 06:50:41 -06:00
Noemi Erli
27004cd495 Backed out changeset e855e9c6b125 (bug 1537772) for devtools failures in browser_aboutdebugging_process_main.js CLOSED TREE 2019-03-27 23:34:14 +02:00
Julian Descottes
b3ffc1fee6 Bug 1538708 - Stop storing sockets in adb-client.js;r=ochameau
The client close() method is not used anywhere. Individual callers should be responsible for closing opened sockets if needed.
Removing this method and the _sockets array, we no longer leak strings when calling adb.updateRuntimes()

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

--HG--
extra : moz-landing-system : lando
2019-03-28 15:21:21 +00:00
Mellina Yonashiro
99cb87981e Bug 1532295 - Webconsole's onViewSourceInDebugger doesn't pass column number to debugger panel when opening a source. .
Pass on column from props.onViewSourceInDebugger (///devtools/client/shared/components/reps/reps.js:6844//) to
//devtools/client/webconsole/webconsole-wrapper.js:267// as **frame.column**

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

--HG--
extra : moz-landing-system : lando
2019-03-28 13:52:28 +00:00
Jason Laster
acbbab537b Bug 1537757 - Breakpoint line marker is misaligned. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24906

--HG--
extra : moz-landing-system : lando
2019-03-27 22:29:35 +00:00
Jason Laster
ae258d7199 Bug 1537597 - Unexpectedly getting the second breakpoint enabled on line. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D24987

--HG--
extra : moz-landing-system : lando
2019-03-27 21:42:38 +00:00