Commit Graph

16733 Commits

Author SHA1 Message Date
Csoregi Natalia
0c754625a9 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-07-04 12:54:22 +03:00
Oana Pop Rus
2ad74ef9f7 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-07-04 06:38:21 +03:00
Nicolas Chevobbe
a48d2333b8 Bug 1560426 - Fix dead link in getting started page. r=sole.
Differential Revision: https://phabricator.services.mozilla.com/D35486

--HG--
extra : moz-landing-system : lando
2019-07-04 17:06:35 +00:00
J
8d50baa36e Bug 1561755 - Replace flex display badge tooltip with the correct inlineFlex tooltip string id in element-editor.js. r=gl 2019-07-03 14:49:46 -04:00
Yura Zenevich
da1fd387a0 Bug 1562194 - update links to MDN since the wording and thus MDN doc headings are updated as well. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D36763

--HG--
extra : moz-landing-system : lando
2019-07-04 14:21:41 +00:00
Yura Zenevich
548f92d410 Bug 1562194 - update heading with no content text label audit rule from failure to warning. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D36762

--HG--
extra : moz-landing-system : lando
2019-07-04 10:39:55 +00:00
Yura Zenevich
724ec6a79b Bug 1562194 - update <fieldset> no name from legend text label audit rule from failure to warning. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D36761

--HG--
extra : moz-landing-system : lando
2019-07-04 10:38:46 +00:00
Yura Zenevich
459cd85753 Bug 1562194 - update <optgroup> text label audit rules and only keep the text label for optgroup from label rule. r=nchevobbe,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36760

--HG--
extra : moz-landing-system : lando
2019-07-04 15:16:57 +00:00
Yura Zenevich
1012544d50 Bug 1518808 - add accessibility highlighter infobar for text label audit. When accessible object does not pass text label accessibility audit, the infobar will display a short message describing the particular labeling issue. r=nchevobbe,flod
Differential Revision: https://phabricator.services.mozilla.com/D35961

--HG--
extra : moz-landing-system : lando
2019-07-04 15:16:57 +00:00
Yura Zenevich
a2bb375be2 Bug 1552067 - add checks section for text label audit. r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D35497

--HG--
extra : moz-landing-system : lando
2019-07-04 03:36:35 +00:00
Yura Zenevich
76b7fe4f3e Bug 1552067 - move common error/warning/error icons to devtools/client/themes/images/. r=nchevobbe,fvsch
Differential Revision: https://phabricator.services.mozilla.com/D35496

--HG--
rename : devtools/client/themes/images/alert.svg => devtools/client/themes/images/alert-small.svg
rename : devtools/client/themes/images/webconsole/error.svg => devtools/client/themes/images/error-small.svg
rename : devtools/client/themes/images/webconsole/info.svg => devtools/client/themes/images/info-small.svg
extra : moz-landing-system : lando
2019-07-04 03:36:27 +00:00
Julian Descottes
043855ab8e Bug 1562583 - Add license headers in devtools/shared/protocol files r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D36480

--HG--
extra : moz-landing-system : lando
2019-07-03 18:00:30 +00:00
Yura Zenevich
d1477ea4b5 Bug 1518808 - add accessibility highlighter infobar for text label audit. When accessible object does not pass text label accessibility audit, the infobar will display a short message describing the particular labeling issue. r=nchevobbe,flod
Differential Revision: https://phabricator.services.mozilla.com/D35961

--HG--
extra : moz-landing-system : lando
2019-07-03 17:25:13 +00:00
Yura Zenevich
04eaa20e54 Bug 1552067 - add checks section for text label audit. r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D35497

--HG--
extra : moz-landing-system : lando
2019-07-03 17:25:06 +00:00
Yura Zenevich
654c4e2673 Bug 1552067 - move common error/warning/error icons to devtools/client/themes/images/. r=nchevobbe,fvsch
Differential Revision: https://phabricator.services.mozilla.com/D35496

--HG--
rename : devtools/client/themes/images/alert.svg => devtools/client/themes/images/alert-small.svg
rename : devtools/client/themes/images/webconsole/error.svg => devtools/client/themes/images/error-small.svg
rename : devtools/client/themes/images/webconsole/info.svg => devtools/client/themes/images/info-small.svg
extra : moz-landing-system : lando
2019-07-03 17:26:43 +00:00
arthur.iakab
7bc47eec9b Backed out 2 changesets (bug 1552168) for causing mochitest crashes on test_menubar.xul CLOSED TREE
Backed out changeset 83590619ce06 (bug 1552168)
Backed out changeset 7ff83cc5d33a (bug 1552168)
2019-07-03 16:08:23 +03:00
Nicolas Chevobbe
8921a25384 Bug 1562914 - Fix PropTypes error in FilterBar in split console. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D36618

--HG--
extra : moz-landing-system : lando
2019-07-03 11:15:28 +00:00
Nicolas Chevobbe
ea96bb70c8 Bug 1562839 - Put editor mode behind a pref. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D36582

--HG--
extra : moz-landing-system : lando
2019-07-03 11:14:22 +00:00
Sebastian Streich
ce99ef5438 Bug 1552168 - Fix Tests that rely on data_uri.unique_opaque_origin r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35006

--HG--
extra : moz-landing-system : lando
2019-07-03 10:23:46 +00:00
Narcis Beleuzu
60d6348455 Backed out 3 changesets (bug 1552067, bug 1518808) as per yzen`s req . CLOSED TREE
Backed out changeset e677852d2ea5 (bug 1518808)
Backed out changeset d60bcc3b1c72 (bug 1552067)
Backed out changeset 2cee1703625e (bug 1552067)

--HG--
rename : devtools/client/themes/images/error-small.svg => devtools/client/themes/images/webconsole/error.svg
rename : devtools/client/themes/images/info-small.svg => devtools/client/themes/images/webconsole/info.svg
2019-07-04 02:21:44 +03:00
Kris Maglione
b459f53a11 Bug 1561061: Move SpecialPowers pref env code to parent and make sane-ish. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D35706

--HG--
extra : rebase_source : ec33af8c17048c3828d4ca4643e2e17bd2a854c0
extra : source : c2d0956f41d82e76c682f829807e818863cd802a
2019-06-24 13:47:53 -07:00
Maliha Islam
20343ec334 Bug 1558544 - Fix CSS styling for overlapping sliders on color preview, r=gl
Differential Revision: https://phabricator.services.mozilla.com/D34924

--HG--
extra : moz-landing-system : lando
2019-06-13 21:34:10 +00:00
Ciure Andrei
f0ee56947e Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
extra : rebase_source : dc375a75c39378fa7cb5db8220af0ee49528a568
2019-07-03 00:51:32 +03:00
Ciure Andrei
d2edc7f197 Merge inbound to mozilla-central. a=merge 2019-07-03 00:47:39 +03:00
Maliha Islam
2d69e323f1 Bug 1559975 - Make directories python3 compatible r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D35257

--HG--
extra : moz-landing-system : lando
2019-07-02 15:47:34 +00:00
Razvan Maries
fd165b8d1b Backed out changeset e43b59849492 (bug 1552278) for debugger failure. CLOSED TREE 2019-07-02 20:44:02 +03:00
David Walsh
f17e16215c Bug 1552278 - Improve Quick Open animation r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D36507

--HG--
extra : moz-landing-system : lando
2019-07-02 16:14:45 +00:00
Alex Rosenfeld
2e33d7a927 Bug 1561577 - prevent default when esc is pressed on shortcutsModal r=jlast
Prevent toggling open Split Console with escape is pressed to toggle shortcutsModal closed.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 16:23:17 +00:00
David Walsh
a5e1307a53 Bug 1557895 - Provide a tooltip for directories in the sources tree r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D34264

--HG--
extra : moz-landing-system : lando
2019-06-26 18:19:24 +00:00
Jason Laster
e508e7c9eb Bug 1553291 - CodeMirror chokes on large minified files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D36237

--HG--
extra : moz-landing-system : lando
2019-06-28 17:22:35 +00:00
Connor Brewster
6180037e31 Bug 1561060 - Enable filter tooltip for backdrop-filter in devtools r=gl
Differential Revision: https://phabricator.services.mozilla.com/D36292

--HG--
extra : moz-landing-system : lando
2019-07-02 00:13:17 +00:00
Greg Tatum
56a3070459 Bug 1545582 - Hook JS allocations into the profiler popup; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34545

--HG--
extra : moz-landing-system : lando
2019-07-01 21:53:40 +00:00
Logan Smyth
e572b4c130 Bug 1561707 - Support excluding listeners from the event collector list. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D36076

--HG--
extra : moz-landing-system : lando
2019-06-27 06:23:54 +00:00
Gabriel Luong
91807979e8 Bug 1558783 - Fixes the subgrid and parent grid highlighter states when both are highlighted. r=mtigley
This fixes 2 issues that we had when the subgrid and parent grid highlighter are shown:

1) When the subgrid and its parent grid container are both highlighted and the parent grid container
is unhighlighted, we need to still show a translucent parent grid container highlight.

2) Avoid showing a translucent parent grid container highlight for a subgrid, when the
parent grid container is already highlighted.

Differential Revision: https://phabricator.services.mozilla.com/D35725
2019-06-24 17:46:04 -04:00
David Walsh
2eae45b214 Bug 1562249 - Improve perceived performance of column breakpoints by rendering offscreen breakpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D36343

--HG--
extra : moz-landing-system : lando
2019-06-28 21:41:43 +00:00
shindli
d8e8b80c16 Backed out 2 changesets (bug 1558914) for SM bustages on Array.slice . CLOSED TREE
Backed out changeset ac7ca81ef7c6 (bug 1558914)
Backed out changeset e7fbcb7b6694 (bug 1558914)
2019-07-01 19:02:49 +03:00
Kris Maglione
fd61f8b9d4 Bug 1541557: Part 7 - Convert SpecialPowers to use JSWindowActors rather than framescripts. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35057

--HG--
rename : testing/specialpowers/content/SpecialPowersObserverAPI.jsm => testing/specialpowers/content/SpecialPowersAPIParent.jsm
rename : testing/specialpowers/content/SpecialPowers.jsm => testing/specialpowers/content/SpecialPowersChild.jsm
rename : testing/specialpowers/content/SpecialPowersObserver.jsm => testing/specialpowers/content/SpecialPowersParent.jsm
extra : rebase_source : f3edaf8edc918bb4291b66cb50f4de117f57b2bd
extra : source : 46ff845a7b0cdabf640bb2e3c783735ab68b7cd1
2019-06-12 10:48:29 -07:00
Tom Schuster
d572d1339c Bug 1558914 - Remove non-standard Array.sort from devtools test. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D36438

--HG--
extra : moz-landing-system : lando
2019-07-01 12:52:59 +00:00
Nicolas Chevobbe
d430ca54b8 Bug 1546917 - Create this.printSimulation in rule.js in the constructor. r=gl.
This fixes an issue in the destroy function without having to guard for the
property existence.

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

--HG--
extra : moz-landing-system : lando
2019-07-01 13:56:55 +00:00
Jatin
a9bd762a6a Bug 1554209 - Added spacing to Accessibility icon in RTL Firefox builds. r=yzen,gl
Before this change, the accessibility icon was too close to the text beside it
on the RTL versions of Firefox.
Now a margin has been added to create sufficient space between the icon and
the text.

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

--HG--
extra : moz-landing-system : lando
2019-06-30 19:01:21 +00:00
Csoregi Natalia
29f8e6aebd Merge inbound to mozilla-central. a=merge 2019-06-29 12:59:53 +03:00
Kagami Sascha Rosylight
29904ec6bf Bug 1454622: Remove DOMQuad bounds attribute r=bzbarsky
The bounds attribute has been deprecated and shown zero use, and thus this change removes it.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 02:27:47 +00:00
jaril
6e05066510 Bug 1548369 - Render an SVG in the gap between the token and the preview where it shouldn't unrender the preview right away (WIP)
Still WIP

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

--HG--
extra : moz-landing-system : lando
2019-06-28 21:17:51 +00:00
shindli
67c134b492 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-29 02:23:28 +03:00
Gabriel Luong
1aa241f2d1 Bug 1550030 - Part 1: Implement the DOM mutation breakpoint context menu items in the markup view. r=loganfsmyth,jdescottes
This implements the context menu items for the DOM mutation breakpoint.
In addition, there were some server changes to:
- Update the mutationBreakpoints form for the NodeActor
- Expose the mutationBreakpoints form
- Moved the setMutationBreakpoints method from the Node spec to Walker spec
since the Node spec only consisted of getter methods. It made more sense
that the setter went into the Walker spec to be more consistent with how
the Walker and Node spec have been arranged.

Unit tests will be followed up in Part 2 immediately.

Differential Revision: https://phabricator.services.mozilla.com/D36074
2019-06-26 15:16:22 -04:00
Cosmin Sabou
798a05e2dc Merge mozilla-central to mozilla-inbound. 2019-06-28 19:16:36 +03:00
Bryan Kok
b425bf8630 Bug 1519315 - Display CodeMirror's gutter in console input when devtools.webconsole.input.editor is true. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D33995

--HG--
extra : moz-landing-system : lando
2019-06-28 16:27:55 +00:00
Julien Wajsberg
a0fc08dc4a Bug 1561886 - Color the profiler icon in blue if the profiler is running at startup r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D36198

--HG--
extra : moz-landing-system : lando
2019-06-28 14:12:00 +00:00
Julian Descottes
91b274be5b Bug 1561565 - Add linting rule and update documentation for setupInParent r=ochameau,yulia,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D36003

--HG--
extra : moz-landing-system : lando
2019-06-28 12:09:25 +00:00
Julien Wajsberg
050b115653 Bug 1561875 - Increase the profiler's popup's width to fix layout issues on Linux r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D36181

--HG--
extra : moz-landing-system : lando
2019-06-27 23:01:47 +00:00
Razvan Caliman
8eb3b5c195 Bug 1561871 - Restore default numeric value for letter-spacing to 0 in the Font Editor. r=gl
Fix for accidental regression in D35394 form careless copy / paste.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 17:07:43 +00:00
Nicolas Chevobbe
4257b47fac Bug 1519105 - Add a keyboard shortcut to switch between inline and editor mode. r=Honza.
We use Cmd/Ctrl + B to switch between inline and editor mode. This
should be familiar for VSCode users as it toggles the file sidebar.
When changing the layout, we persist the choice into the editor pref
so the user keeps the same layout the next time they open the console.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 09:25:59 +00:00
Nicolas Chevobbe
66150262ef Bug 1519312 - Render the console input to the left of the panel when editor preference is true; r=Honza.
When the editor preference is true, a CSS class is added to
the panel that allow us to shift the layout to a CSS Grid, where
the input panel is on the left and the output on the right.

A toolbar is added to be able to execute an expression when in
editor mode.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:13:32 +00:00
Nicolas Chevobbe
43fd57f33f Bug 1560804 - Fix double scrollbar in network message detail. r=Honza.
We take this as an opportunity to fix the alignment between the XHR
badge and the URL.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 08:50:43 +00:00
Jefry Lagrange
bd7874038e Bug 1517728 - Export Console content to file. .
Add a context menu entry to export the console output to a file.
We group the 2 export entries into a submenu.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 08:28:53 +00:00
tanhengyeow
44c6145f6e Bug 1559398 - Implement table and preview sections in WebSocket side panel. r=Honza
Implement table and preview sections in WebSocket side panel.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:24:59 +00:00
lloan
fb05c2c381 Bug 1556350 - Each child in an array or iterator should have a unique key prop. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D36038

--HG--
extra : moz-landing-system : lando
2019-06-28 07:17:05 +00:00
Gerald Squelart
b13eeec2e9 Bug 1552063 - Use PowerOfTwo and PowerOfTwoMask in profilers - r=gregtatum
PowerOfTwo makes for a cleaner and more expressive interface, showing that the
profiler will use a power-of-2 storage size.

Using PowerOfTwoMask in ProfilerBuffer also makes it more obvious that we want
cheap modulo operations.
And we don't need to keep the original capacity, as it's only used once and can
easily be recomputed from the mask.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:12:57 +00:00
Charlie Marlow
8d6b1bcaa4 Bug 1561131: Adding parsing support for text-decoration-skip-ink r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D35831

--HG--
extra : moz-landing-system : lando
2019-06-27 21:34:33 +00:00
Andreea Pavel
ea400c1438 Backed out changeset 21d365e43fec (bug 1561131) for failing test_bug1112014.html on a CLOSED TREE 2019-06-28 00:12:41 +03:00
Andreea Pavel
c41e3df739 Bug 1559547 - disabled browser_dbg-worker-scopes.js on linux asan r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D36232

--HG--
extra : moz-landing-system : lando
2019-06-27 19:03:46 +00:00
Charlie Marlow
3f0f7ff856 Bug 1561131: Adding parsing support for text-decoration-skip-ink r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D35831

--HG--
extra : moz-landing-system : lando
2019-06-27 18:09:10 +00:00
Razvan Caliman
ad206d66fc Bug 1561639 - Simplify handling for font variation instances in Font Editor. r=gl
The Redux action/reducer setup for handling selecting and applying font variation instances is needlessly complex. The indirection is not necessary.

The flow is as follows:
- When a font variation instance (provided by some variable font files) is selected from the _Instances_ select menu, update all variation axes with the values associated with that instance.

- When the user makes any manual change to any of the axis values, save all axis values associated with a "Custom" variation instance. This enables the user to revert to them.

This patch removes the needless indirection about saving the axis values and applying the "Custom" variation instance. The logic is now moved to the UPDATE_AXIS_VALUE reducer.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:20:01 +00:00
Herpiko Dwi Aguno
6edc04621b Bug 1548076. Let the devtools gain focus even if the click hits an empty area on UI. r=jdescottes,yzen
Differential Revision: https://phabricator.services.mozilla.com/D35686

--HG--
extra : moz-landing-system : lando
2019-06-27 13:01:28 +00:00
Nicolas Chevobbe
68245b3595 Bug 1548866 - Fix intermittent failure on browser_webconsole_keyboard_accessibility.js. r=jdescottes.
The failure was happening on window7, which I guess is
pretty slow. Looking at the failure screenshot I was able
to see that the console output was empty.
The test is initially waiting for a 100 messages to be displayed
in the console output.
We are using the waitFor helper function for that. waitFor by default
call the function argument 500 times, at a 10ms interval, and then
fail.
Here, we bump the interval to 100ms, and set the max number of
tries to 500, in order to give extra time for the 100 messages
to be rendered in the output.

Pushed a TV job a re-ran it a few times without seeing the failure,
so the fix should be good.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 12:45:56 +00:00
tanhengyeow
c5423a8f4a Bug 1561676 - WebSocket panel crashes in WebConsole. r=nchevobbe,Honza
Hide WebSocketsPanel in console.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 11:54:37 +00:00
Nicolas Chevobbe
c1f5c82eda Bug 1560320 - Dismiss autocomplete on Ctrl+A on OSX. r=Honza.
Ctrl + A moves the cursor to the beginning of the line,
so we need to dismiss autocomplete.
A test case is added to make sure this behaves as
expected.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 11:48:34 +00:00
Nicolas Chevobbe
06b2ed9350 Bug 1559329 - Set "group similar messages" to true by default. r=Honza.
This was making browser_webconsole_scroll.js fail.
After some investigation, I found that the `isInWarningGroup`
prop, a function defined in `mapStateToProp` was causing a
re-rendering (because we were creating a new function each
time), impacting the shouldScrollToBottom behaviour.

To fix this, we no longer create a `isInWarningGroup` prop,
but directly use the `isMessageInWarningGroup` selector, which
was modified to take an array of visible messages instead of
the whole state.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 11:42:15 +00:00
Nicolas Chevobbe
81c6695582 Bug 1559335 - Fix messages ordering when 2 messages have the same timestamp. r=Honza.
If 2 messages are emitted during the same microsecond,
their timestamps are similar, and the sorting we do when
filtering for warning groups might be erroneous.
In such case, we now check the message id, to see which
one we handled first, which should be enough.

A test is added to ensure this works as expected. Basically,
we now render 2 logs one after the another, to increase the
chance they'll get the same timestamp.
The updated test was failing without the fix, and seems to
pass with it.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 11:41:56 +00:00
Dorel Luca
357997da30 Backed out changeset 5f0520d9b5de (bug 1561639) for ESlint failure 2019-06-27 14:06:28 +03:00
Razvan Caliman
5a3ef1cbf6 Bug 1561639 - Simplify handling for font variation instances in Font Editor. r=gl
The Redux action/reducer setup for handling selecting and applying font variation instances is needlessly complex. The indirection is not necessary.

The flow is as follows:
- When a font variation instance (provided by some variable font files) is selected from the _Instances_ select menu, update all variation axes with the values associated with that instance.

- When the user makes any manual change to any of the axis values, save all axis values associated with a "Custom" variation instance. This enables the user to revert to them.

This patch removes the needless indirection about saving the axis values and applying the "Custom" variation instance. The logic is now moved to the UPDATE_AXIS_VALUE reducer.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 10:35:31 +00:00
Coroiu Cristina
f91bd38732 Merge inbound to mozilla-central a=merge 2019-06-27 12:36:00 +03:00
Nicholas Nethercote
ca8e78069d Bug 1561491 - Make gfx.* static prefs follow the naming convention. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D35975

--HG--
extra : rebase_source : 9090ac828f1da9582510975047d5ad59a228dda5
2019-06-26 10:38:09 +10:00
Gurzau Raul
f5eb98192b Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-27 01:04:55 +03:00
Jason Laster
890892c4e2 Bug 1560445 - Extract classes from protocol.js. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D35502

--HG--
rename : devtools/shared/protocol.js => devtools/shared/protocol/Actor.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Actor/generateActorSpec.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Front.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Front/FrontClassWithSpec.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Pool.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Request.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Response.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/types.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/utils.js
extra : moz-landing-system : lando
2019-06-26 15:53:20 +00:00
Logan Smyth
76d6b8f5c2 Bug 1550835 - DOM mutation breakpoint server API. r=jlast,gl
Differential Revision: https://phabricator.services.mozilla.com/D33528

--HG--
extra : moz-landing-system : lando
2019-06-26 06:23:03 +00:00
Florens Verschelde
2eb0a8831a Bug 1558630 - Move Netmonitor tab to 4th place to reflect popularity; r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D35397

--HG--
extra : moz-landing-system : lando
2019-06-26 14:10:38 +00:00
Nicolas Chevobbe
04e73a0fed Bug 1526886 - Convert evaluateJsAsync from Promise to an async function. r=yulia.
We take this as an opportunity to clean-up the function that
waits for the evaluation result.
This change was causing an issue in main.js `_queueResponse`.
Previously, since `evaluateJsAsync` wasn't returning anything,
`_queueResponse` wouldn't be called (See https://searchfox.org/mozilla-central/rev/928742d3ea30e0eb4a8622d260041564d81a8468/devtools/server/main.js#1305-1308).
But now `ret` isn't falsy (the async function always return a
Promise), which means we ended up trying to send a response.
To fix this, we simply check if the response isn't falsy, or we
bail out.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 15:28:04 +00:00
Nicolas Chevobbe
082c14256e Bug 1526886 - Fix nits in main.js error messages. r=yulia.
Differential Revision: https://phabricator.services.mozilla.com/D35984

--HG--
extra : moz-landing-system : lando
2019-06-26 15:27:16 +00:00
jaril
627c8a353c Bug 1560831 - Add getting started docs for setting up mozilla-central. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D35631

--HG--
extra : moz-landing-system : lando
2019-06-25 15:43:36 +00:00
Armando Ferreira
a7e460857f Bug 1522104 - Re-organise devtools/client/webconsole/components/ folder. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D35932

--HG--
rename : devtools/client/webconsole/components/FilterBar.js => devtools/client/webconsole/components/FilterBar/FilterBar.js
rename : devtools/client/webconsole/components/FilterButton.js => devtools/client/webconsole/components/FilterBar/FilterButton.js
rename : devtools/client/webconsole/components/FilterCheckbox.js => devtools/client/webconsole/components/FilterBar/FilterCheckbox.js
rename : devtools/client/webconsole/components/ConfirmDialog.js => devtools/client/webconsole/components/Input/ConfirmDialog.js
rename : devtools/client/webconsole/components/JSTerm.js => devtools/client/webconsole/components/Input/JSTerm.js
rename : devtools/client/webconsole/components/ReverseSearchInput.css => devtools/client/webconsole/components/Input/ReverseSearchInput.css
rename : devtools/client/webconsole/components/ReverseSearchInput.js => devtools/client/webconsole/components/Input/ReverseSearchInput.js
rename : devtools/client/webconsole/components/CollapseButton.js => devtools/client/webconsole/components/Output/CollapseButton.js
rename : devtools/client/webconsole/components/ConsoleOutput.js => devtools/client/webconsole/components/Output/ConsoleOutput.js
rename : devtools/client/webconsole/components/ConsoleTable.js => devtools/client/webconsole/components/Output/ConsoleTable.js
rename : devtools/client/webconsole/components/GripMessageBody.js => devtools/client/webconsole/components/Output/GripMessageBody.js
rename : devtools/client/webconsole/components/Message.js => devtools/client/webconsole/components/Output/Message.js
rename : devtools/client/webconsole/components/MessageContainer.js => devtools/client/webconsole/components/Output/MessageContainer.js
rename : devtools/client/webconsole/components/MessageIcon.js => devtools/client/webconsole/components/Output/MessageIcon.js
rename : devtools/client/webconsole/components/MessageIndent.js => devtools/client/webconsole/components/Output/MessageIndent.js
rename : devtools/client/webconsole/components/MessageRepeat.js => devtools/client/webconsole/components/Output/MessageRepeat.js
rename : devtools/client/webconsole/components/message-types/CSSWarning.js => devtools/client/webconsole/components/Output/message-types/CSSWarning.js
rename : devtools/client/webconsole/components/message-types/ConsoleApiCall.js => devtools/client/webconsole/components/Output/message-types/ConsoleApiCall.js
rename : devtools/client/webconsole/components/message-types/ConsoleCommand.js => devtools/client/webconsole/components/Output/message-types/ConsoleCommand.js
rename : devtools/client/webconsole/components/message-types/DefaultRenderer.js => devtools/client/webconsole/components/Output/message-types/DefaultRenderer.js
rename : devtools/client/webconsole/components/message-types/EvaluationResult.js => devtools/client/webconsole/components/Output/message-types/EvaluationResult.js
rename : devtools/client/webconsole/components/message-types/NetworkEventMessage.js => devtools/client/webconsole/components/Output/message-types/NetworkEventMessage.js
rename : devtools/client/webconsole/components/message-types/PageError.js => devtools/client/webconsole/components/Output/message-types/PageError.js
rename : devtools/client/webconsole/components/message-types/WarningGroup.js => devtools/client/webconsole/components/Output/message-types/WarningGroup.js
rename : devtools/client/webconsole/components/message-types/moz.build => devtools/client/webconsole/components/Output/message-types/moz.build
extra : moz-landing-system : lando
2019-06-26 09:19:54 +00:00
Cosmin Sabou
2fa3b2ee5b Merge mozilla-inbound to mozilla-central. a=merge 2019-06-26 06:58:03 +03:00
arthur.iakab
785bee02e8 Merge mozilla-central to mozilla-inbound 2019-06-26 01:09:31 +03:00
janelledement
bec014efe2 Bug 1548933 Preview should ignore search results. r=davidwalsh
This patch addresses bug 1548933.  It adds/removes the preview highlight to related tokens (if necessary) as well as the target token. This happens when one token is broken into pieces due to a search query that only covers part of the token.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 16:46:14 +00:00
Julian Descottes
9d682b17d1 Bug 1553042 - Enable new about:debugging on all channels r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D35792

--HG--
extra : moz-landing-system : lando
2019-06-25 18:36:02 +00:00
Jim Porter
32b61264e9 Bug 1551992 - Compress profile data before sending to perf-html; r=mstange,julienw
Differential Revision: https://phabricator.services.mozilla.com/D33399

--HG--
extra : moz-landing-system : lando
2019-06-25 09:54:49 +00:00
David Walsh
e65a1b74dd Bug 1486416 - Show extension name in the debugger r=jlast,rpl,jdescottes
Showing moz-extension URLs in the debugger is not helpful -- we should display the name of the extension instead.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 17:17:39 +00:00
David Walsh
8292ca922e Bug 1560642 - Provide URLs as tooltips for hidden tabs r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35578

--HG--
extra : moz-landing-system : lando
2019-06-24 19:02:03 +00:00
Jason Laster
a6c6431f41 Bug 1560572 - Format Rust files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D35557

--HG--
extra : moz-landing-system : lando
2019-06-25 15:43:34 +00:00
chujun
7a1483fb01 Bug 1520375 Invalid conditional breakpoint only pauses when pauseOnExceptions is checked
test_conditional_breakpoint-03.js tests the behavior of the last case in the [[ https://docs.google.com/spreadsheets/d/1VIQpKgFHv8AhgwUYZ1JaQBr3AOSZojnlcSi6VB4gWUQ/edit#gid=0 | Google sheet ]].

I'm not sure if it's the correct way to test a breakpoint doesn't pause in test_conditional_breakpoint-04.js. Look forward to your feedback.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 14:09:00 +00:00
Gabriel Luong
f65cbba81d Bug 1548703 - Rearrange the markup context menu items. r=rcaliman
This patch rearranges the second and third group of context menu items
in the markup context menu.

Differential Revision: https://phabricator.services.mozilla.com/D35675
2019-06-24 13:12:10 -04:00
Ciure Andrei
7e158713cf Merge inbound to mozilla-central. a=merge 2019-06-25 12:39:48 +03:00
Connor Brewster
691d3c2a59 Bug 1555165 - Part 1: Parse backdrop-filter CSS property r=emilio,boris
Differential Revision: https://phabricator.services.mozilla.com/D35816

--HG--
extra : moz-landing-system : lando
2019-06-26 23:02:16 +00:00
lloan
5f8bbed9ba Bug 1174100 - Cache information is not exposed to HAR. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33570

--HG--
extra : moz-landing-system : lando
2019-06-26 15:07:06 +00:00
Brian Hackett
359882bb51 Bug 1484818 - Fix record/replay problems with protocol.js ThreadClient, r=yulia.
--HG--
extra : rebase_source : 71683eca53cc53ba03f3d356bd73c40667d44073
2019-06-20 06:31:55 -10:00
Yury Delendik
b29ae38d77 Bug 1560209 - Display original variables in WebAssembly when DWARF is provided. r=jlast
* Use XScopes data to display original varaibles (prototype)
* Move DWARF debugger logic to the separate package.

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

--HG--
rename : devtools/client/debugger/packages/devtools-source-map/src/utils/convertToJSON.js => devtools/client/debugger/packages/devtools-wasm-dwarf/src/convertToJSON.js
rename : devtools/client/debugger/packages/devtools-source-map/wasm/dwarf_to_json.wasm => devtools/client/debugger/packages/devtools-wasm-dwarf/wasm/dwarf_to_json.wasm
extra : moz-landing-system : lando
2019-06-21 20:53:57 +00:00
yulia
8bb0b7b9ac Bug 1559591 - disable start-service-worker test r=jdescottes,yulia
due to leaks related to this test on other linux platforms, we might want to disable this
test on linux in general

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

--HG--
extra : moz-landing-system : lando
2019-06-24 09:11:18 +00:00
Logan Smyth
d0d8f42f64 Bug 1561392 - Handle backward-compat for new event-breakpoint implementation. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D35847

--HG--
extra : moz-landing-system : lando
2019-06-25 20:17:24 +00:00
Nicolas Chevobbe
85b42f62ab Bug 1358983 - Fix zombie highlighters. r=miker.
Due to how highlighters work, it requires the inspector to be initialized.
It can happen than the user will mouseenter/mouseout on an element that
calls highlight/unhighlight very quickly.
Since the hightlight can take some time, it might happen that the unhighlight
call is handled first, before the highlight call, meaning that we now have an
highlighter displayed, even though the user isn't hovering anything that
should cause this anymore.

This patch introduces a new toolbox function called `getHighlighter` that
returns an object with a `highlight and a `unhighlight` function.
We keep a reference to any possible pending `highlight` call so we can wait
for it to be done in `unhighlight`, before destroying it.

The console makes use of the new helper function, and a test is added to ensure
we don't have zombie highlighters anymore.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 22:15:57 +00:00
Emilio Cobos Álvarez
b301149caa Bug 1536871 - Make 'line-height: normal' return the 'normal' keyword from getComputedStyle() on Nightly and Early Beta, for now. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D25119

--HG--
extra : moz-landing-system : lando
2019-06-14 09:01:44 +00:00
Florens Verschelde
0baf9163d9 Bug 1560356 - Make sure we only expand one event header at a time; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D35563

--HG--
extra : moz-landing-system : lando
2019-06-21 22:19:23 +00:00
Florens Verschelde
773855f4a1 Bug 1558226 - Use theme-twisty in event tooltip headers; r=miker
- Uses theme-twisty for the triangle icon.
- Icon now has the correct orientation in RTL (handled by theme-twisty styles in common.css).
- Header rows are now always 24px tall excluding the border (before they were all 25px tall, including the first one.
- Accessible text color for event headers (dark theme, was 4.12).
- Make the event name 12px (our usual "biggish font" size, used in accordion headers and tab labels).

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

--HG--
extra : moz-landing-system : lando
2019-06-21 22:06:35 +00:00
Razvan Caliman
ddacf7fb9f Bug 1559589 - Ensure Font Editor supports "normal" as computed style value for line-height; r=gl
Remove conversion for computed `line-height` value to unitless value to prevent Font Editor from crashing when the patch from [Bug 1536871](https://bugzilla.mozilla.org/show_bug.cgi?id=1536871) is applied (the default computed value for `line-height` is no longer numeric).

Add support for `normal` keyword value for `line-height` as the default returned by `getComputedStyle()`, similar to existing behavior for `letter-spacing`.

Fix misnomer of the class in `LetterSpacing.js` component.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 17:28:21 +00:00
David Walsh
34f1734412 Bug 1560571 - Enable event listener breakpoints r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D35554

--HG--
extra : moz-landing-system : lando
2019-06-21 21:41:56 +00:00
Gurzau Raul
e639b0bebd Backed out changeset 5656e43f9b43 (bug 1560006) for debugger test fails at SourcesTreeItem.spec.js
--HG--
extra : rebase_source : bb5081c6c4b2e735f41745bf047a39404cd1e6e4
2019-06-22 01:51:11 +03:00
Nicolas Chevobbe
a71fef0c9c Bug 1560429 - Fix low-alpha hexa longAlphaHex getter. r=miker.
A test case is added to make sure this is fixed.
We also add the ability to not run a given test case in the color test.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 22:17:34 +00:00
Michael Ratcliffe
7b2e58e5d4 Bug 1560006 - Upgrade React to v16.8.6 r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D35265

--HG--
extra : moz-landing-system : lando
2019-06-21 21:22:42 +00:00
David Walsh
53fb636dc3 Bug 1557782 - Update event listener breakpoints label to existing tools r=jlast
Per Harald's request

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

--HG--
extra : moz-landing-system : lando
2019-06-21 17:15:43 +00:00
David Walsh
ddef526000 Bug 1557784 - Align event listner breakpoint arrows and checkboxes with header r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35540

--HG--
extra : moz-landing-system : lando
2019-06-21 17:15:41 +00:00
J
c44db21903 Bug 1558656 - Remove inactive declaration in #inspector-main-content rule in inspector.css. r=gl
One of the css rules appied to this element defines flex: 1 1 auto; but since this element
is not inside a flex container, this declaration is inactive and was removed.
2019-06-26 15:34:42 -04:00
Yury Delendik
bfb70f4334 Bug 1560631 - Enable browser_dbg-wasm-sourcemaps.js test r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35574

--HG--
extra : moz-landing-system : lando
2019-06-24 18:44:22 +00:00
David Walsh
6dc75498cf Bug 1560174 - Prevent xmlns warning for breakpoint SVGs r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35362

--HG--
extra : moz-landing-system : lando
2019-06-20 22:21:28 +00:00
David Walsh
ff72acb0aa Bug 1560217 - Clean up WhyPaused component r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35390

--HG--
extra : moz-landing-system : lando
2019-06-20 22:22:00 +00:00
Ola Gasidlo
36f5b54e49 Bug 1558755 - Add docs on how to run mochitests in headless mode, r=pbro,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D34683

--HG--
extra : moz-landing-system : lando
2019-06-21 07:55:28 +00:00
Noemi Erli
2d7f1bd4ea Backed out changeset 52bdbeb64586 (bug 1541278) for failures in browser_markup_html_edit_01.js CLOSED TREE 2019-06-21 01:56:32 +03:00
Cosmin Sabou
55afe30077 Merge mozilla-central to autoland. CLOSED TREE 2019-06-21 01:44:45 +03:00
Yura Zenevich
c373d8c345 Bug 1559317 - ensure outline is not visible when tbody gets focus on :active. r=mtigley
Depends on D35065

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

--HG--
extra : moz-landing-system : lando
2019-06-20 20:43:58 +00:00
Yura Zenevich
2129218788 Bug 1559316 - ensure badge background does not turn white when tbody gets focus on :active. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D35065

--HG--
extra : moz-landing-system : lando
2019-06-20 20:43:35 +00:00
Vikas Prasad Mahato
e5e84bc614 Bug 1541278 - Markup View's background flash effect: use yellow from Box Model shift-hover highlight. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D32864

--HG--
extra : moz-landing-system : lando
2019-06-20 20:36:39 +00:00
Cosmin Sabou
149fc6da7d Bug 1557181 - Disable browser_grids_grid-outline-updates-on-grid-change.js cause of frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35233

--HG--
extra : moz-landing-system : lando
2019-06-20 17:02:25 +00:00
Razvan Maries
8ea522bf4e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-06-20 14:19:57 +03:00
Logan Smyth
bf92dc5ae0 Bug 1549999 - Use notification infrastructure to implement DOM event breakpoints. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D31002

--HG--
extra : moz-landing-system : lando
2019-06-19 22:27:57 +00:00
Dorel Luca
9bedd32999 Backed out changeset 4c6d64a74105 (bug 1559317) for DevTools failures in devtools/client/jsonview/test/browser_jsonview_row_selection.js 2019-06-20 07:38:48 +03:00
Yura Zenevich
61dcf45aaf Bug 1559317 - prevent on mouse down default action on TreeView's tbody so it never gets focused state. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D35335

--HG--
extra : moz-landing-system : lando
2019-06-19 18:15:53 +00:00
Gabriel Luong
f44521ca57 Bug 1560009 - Clean up the FlexItemSizingOutline component. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D35267
2019-06-18 16:35:00 -04:00
Florens Verschelde
849697766d Bug 1555570 - Slightly darken background colors in devtools dark theme; r=rcaliman
Following the color tests in https://bugzilla.mozilla.org/show_bug.cgi?id=1555570#c7
- Use a slightly darker background color for the body background, to improve text-to-background contrast
- As a result, tweak the sidebar and toolbar background, and the selection hover background

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

--HG--
extra : moz-landing-system : lando
2019-06-19 02:07:02 +00:00
Brian Grinstead
d99b0feeab Bug 1559208 - Stop setting [devtoolstheme] on browser-bottombox;r=jdescottes
This is unused since gcli removal

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

--HG--
extra : moz-landing-system : lando
2019-06-18 22:44:17 +00:00
Patrick Brosset
a16af7dace Bug 1559257 - Removing getSameTypeRootTreeItemIgnoreBrowserBoundaries and getSameTypeParentIgnoreBrowserBoundaries usage; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D34940

--HG--
extra : moz-landing-system : lando
2019-06-18 15:59:29 +00:00
Daniel Varga
352fafbea0 Backed out changeset b68dc81adbf9 (bug 1560006) for debugger failure
--HG--
extra : rebase_source : bd86f278fc400e530f3e21d33ae448735b9fd01a
2019-06-20 03:30:26 +03:00
Michael Ratcliffe
ca940dcbc5 Bug 1560006 - Upgrade React to v16.8.6 r=nchevobbe
Try is green.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 18:53:57 +00:00
Florens Verschelde
86d301cf44 Bug 1560142 - Improve contrast of string color in dark theme; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D35338

--HG--
extra : moz-landing-system : lando
2019-06-19 20:19:14 +00:00
tanhengyeow
1f04945904 Bug 1555625 - Basic skeleton of side panel for WS frames. r=Honza
Implement basic skeleton of side panel for WS frames.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 20:00:30 +00:00
Florens Verschelde
1086bcbf2b Bug 1559081 - Fix RDM toolbar height to match the toolbox; r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D35088

--HG--
extra : moz-landing-system : lando
2019-06-19 17:18:20 +00:00
Nicolas Chevobbe
9ca9ab3f7f Bug 1553356 - Fix browser_webconsole_warning_groups_filtering.js intermittent. r=Ola.
The failures indicated that some warning messages
were placed before the navigation marker, when they
should be placed after.
We now listen to the `load` event instead of `DOMContentLoaded`
to ensure the page is fully loaded and the warning gets
reported into the right page session.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 12:07:37 +00:00
Brendan Dahl
ccb8b2f945 Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan,bgrins
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.

Also, restores tests to how they were before copy/paste was always enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 20:40:19 +00:00
Dickson Tan
d974e4bf55 Bug 1544773 - fix clicking on disclosures in the console redirecting focus to input. r=nchevobbe
The top-level App component forcefully resets focus to the console input when something in the output gains focus, e.g disclosure toggles, and the clear output button.While this is useful for mouse users when typing, it breaks reading flow for screen reader users when reviewing output, being sent back to input when interacting with disclosures.

This commit prevents the unwanted focus behaviour when clicking by suppressing it in an onMouseDown, and prevents the click event from bubbling to the App component so focus doesn't get reset.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 19:17:58 +00:00
Cosmin Sabou
e6c37d6bc0 Bug 1557326 - Disable browser_grids_grid-list-on-mutation-element-added.js on all platforms for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35215

--HG--
extra : moz-landing-system : lando
2019-06-18 11:29:44 +00:00
Csoregi Natalia
00ee9d3ed1 Merge inbound to mozilla-central. a=merge 2019-06-17 00:48:46 +03:00
Brian Hackett
f55ecd123b Bug 1551256 - Show net monitor stacks for fetch() calls from workers, r=bzbarsky.
--HG--
extra : rebase_source : e21725f13ffc343befe68b26e4d70fc1a2733005
2019-06-15 06:46:22 -10:00
Nicolas Chevobbe
e42e1a1be5 Bug 1558558 - Fix toggle buttons padding and colors. .
Some colors weren't matching the UI spec document,
and the padding was a bit off.

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

--HG--
extra : moz-landing-system : lando
2019-06-16 02:42:07 +00:00
shindli
eb7050ee4c Merge inbound to mozilla-central. a=merge 2019-06-16 00:45:47 +03:00
violet
682af614dd Bug 1470695 - Implement overflow-block and overflow-inline properties r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D34738

--HG--
extra : moz-landing-system : lando
2019-06-15 13:09:16 +00:00
Andreea Pavel
8c09b0389f Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/util/OnboardingStringUtil.java => mobile/android/base/java/org/mozilla/gecko/util/OnboardingResources.java
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-1.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-2.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-2.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-b-1.0/manifest.json
2019-06-15 12:54:47 +03:00
Nicolas Chevobbe
31d2b0b04a Bug 1544864 - Enable Show Content Messages in browser console. r=bgrins.
This patch removes the preference we were using to
display the checkbox in the Browser Console; it's now
always displayed there.

We flip the pref to show content messages ini tests that need them.

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

--HG--
extra : moz-landing-system : lando
2019-06-15 08:07:17 +00:00
Ciure Andrei
2e6ac83efb Backed out changeset 7312aba8ec3b (bug 1558674) for causing browser_console_context_menu_entries.js to permafail CLOSED TREE 2019-06-15 08:48:18 +03:00
Brendan Dahl
7c478fba5b Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan,bgrins
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.

Also, restores tests to how they were before copy/paste was always enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-15 00:27:36 +00:00
Mihai Alexandru Michis
cff1990963 Backed out 4 changesets (bug 1545582) for causing build bustages in SavedStacks.cpp CLOSED TREE
Backed out changeset a47c4a44bae0 (bug 1545582)
Backed out changeset c05a5d68d9a8 (bug 1545582)
Backed out changeset 699de45940b1 (bug 1545582)
Backed out changeset 285673afaa99 (bug 1545582)
2019-06-15 02:19:08 +03:00
Greg Tatum
6dc22ec6a1 Bug 1545582 - Hook JS allocations into the profiler popup; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34545

--HG--
extra : moz-landing-system : lando
2019-06-13 20:25:26 +00:00
yulia
4056444ce3 Bug 1559487 - disable browser_application_panel_start-service-worker.js test on linux asan r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D35079

--HG--
extra : moz-landing-system : lando
2019-06-14 21:11:25 +00:00
yulia
9ab3272468 Bug 1494796 - fix verify test r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D34981

--HG--
extra : moz-landing-system : lando
2019-06-14 20:34:04 +00:00
yulia
9d1bf84ed1 Bug 1494796 - exit gracefully if docShell has been destroyed; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32724

--HG--
extra : moz-landing-system : lando
2019-06-14 20:27:35 +00:00
yulia
9ea8f553f1 Bug 1494796 - update setBreakpoint action on the debugger to be aware of server response; r=jdescottes,jlast
This was a difficult situation. We are not waiting for a server response when setting or
removing breakpoints. The result is that the server has not completed those actions by the time the
test closed, leaving setBreakpoint or removeBreakpoint requests hanging, causing a number of tests
to fail. In order to get around this, I made the panel action "SET_BREAKPOINT" and
"REMOVE_BREAKPOINT" aware of the server response. This involved rewriting the helper methods
`clientSetBreakpoint` and `clientRemoveBreakpoint` so that they no longer relied on the dispatch.

It was not possible to use the dispatches to wait, as they had no event exposed to the tests,
especially in cases when we triggered these requests via button presses.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:09 +00:00
yulia
4b589da1f6 Bug 1494796 - change test code for reaching into the server; r=jdescottes
we shouldn't have this code, but we do

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:07 +00:00
yulia
492954347a Bug 1494796 - Fix host resize test caused by timing issue; r=jdescottes
this is the weird one. we have a Debugger.executeSoon call for the destruction of the host.
However, before this happened immediately after the test closed. Now, it happens a little later, and
this messes up the data set up. The comment says that we cannot remove this.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:05 +00:00
yulia
6f57978eb3 Bug 1494796 - Delete registerClient functionality; r=jdescottes
The webConsoleFront and the threadClient front both used to depend on the debugger-client
to destroy them via registered clients. This is no longer the case, and this code can be deleted

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:11 +00:00
yulia
0f5736a52e Bug 1494796 - maintain backwards compatibility r=jdescottes
Introduce a flag to maintain backwards compatibility with old servers

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:23:59 +00:00
yulia
bf027a18fa Bug 1494796 - use getFront to retrieve threadClient; r=jdescottes
In order for a front to be available to getFront on a given target, it must be first --
registered on the target scope, and second -- set on the target's targetForm. This makes that update
for both browsing context and worker targets. This works as part of a work around until we can get
the server into better shape.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:13 +00:00
yulia
5f77a853c5 Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast
The resume case is much more complex than the other events, because we do an
unsafeSynchronize to send an unsolicited pause. In the old system, the resume response would have
been ignored, but that is no longer the case. With the new system, we do not want to send a response
to a resume action if it did not come from the UI. This also update the debugger panel code to
accept a resume.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:17 +00:00
yulia
780b2f0e28 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, interrupt method; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32847

--HG--
extra : moz-landing-system : lando
2019-06-14 04:23:57 +00:00
yulia
dd7caa0576 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, attach/detach methods and events; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32845

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:01 +00:00
yulia
33ce714526 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient ; r=jdescottes
This is part one of removing threadClient specifics out of the debuggerClient. We were
managing messages from the thread client in a special way -- this was the "Unsolicited Pauses"
object that we had before. This patch updates the threadClient to use Front style events. This
required updating the spec for the threadClient, and several of the methods. What has not been fully
migrated here is the "resumed" event, as this is much more complex. This is taken care of in the
next patch.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:15 +00:00
yulia
6816bf4706 Bug 1494796 - Convert ThreadClient into a Front; r=jdescottes
This is the first part of the threadClient refactor. It only moves the methods to the new
front. and does some basic fixes.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:19 +00:00
yulia
e9327cc5a4 Bug 1494796 - fork threadclient for backwards compatibility r=jdescottes
make sure we have a copy of thread client for old servers

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

--HG--
rename : devtools/shared/client/thread-client.js => devtools/shared/client/deprecated-thread-client.js
extra : moz-landing-system : lando
2019-06-14 04:23:55 +00:00
Dorel Luca
b4311cbef0 Backed out changeset 6fb248823c0d (bug 1544864) for DevTools failures in devtools/client/webconsole/test/mochitest/browser_console_clear_cache.js. CLOSED TREE 2019-06-14 20:57:29 +03:00
Brian Hackett
90aa1dfe93 Bug 1124122 - Suppress postMessage events on a window's document when event handling is suppressed, r=smaug.
--HG--
extra : rebase_source : 7aa7eceb16238eebe414c67e06fcb0908138f3f6
2019-06-11 12:53:00 -10:00
Gurzau Raul
079e2377e2 Backed out changeset b4f0ee392b97 (bug 1174100) for failing at browser_net_har_import.js on a CLOSED TREE. 2019-06-14 18:27:26 +03:00
Nicolas Chevobbe
aaf29517bf Bug 1544864 - Enable Show Content Messages in browser console. r=bgrins.
This patch removes the preference we were using to
display the checkbox in the Browser Console; it's now
always displayed there.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 13:40:32 +00:00
Gregor Weber
a15d4fbe01 Bug 1554881 - Simplify RequestListItem render r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D35010

--HG--
extra : moz-landing-system : lando
2019-06-14 13:38:55 +00:00
lloan
ba376c9970 Bug 1174100 - Cache information is not exposed to HAR. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33570

--HG--
extra : moz-landing-system : lando
2019-06-14 12:12:44 +00:00
Jean-Yves Avenard
57cda3041a Bug 1556131 - P2. Don't attempt to needlessly change preference during test. r=bradwerth
In an attempt to reduce intermittent failures, the pref apz.keyboard.enabled is set to false. However, this preference is only ever read once, on startup before any JS test has a chance to run and modify the pref..

It doesn't do what it was thought to do.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 15:55:48 +00:00
Nicolas Chevobbe
f9e6c563e9 Bug 1553127 - Display a warning when place-items or place-content is used on non flex/grid container. r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D34843

--HG--
extra : moz-landing-system : lando
2019-06-14 05:50:22 +00:00
Nicolas Chevobbe
a986a13e41 Bug 1553127 - Display a warning when place-self is used on non flex/grid items. r=pbro.
We take this as an opportunity to add tests for `align-self` as well.
This requires the test to change a bit so we can create more than one
element in order to test the inactive property helper on grid/flex item
(i.e. with a parent flex/grid container).
This is done by providing a `createTestElement` function in the test case,
that  creates whatever nodes it need and append it in the rootNode parameter.
The function then returns the element that needs to be tested with isPropertyUsed.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 05:49:35 +00:00
Narcis Beleuzu
7d018750a1 Backed out 13 changesets (bug 1494796) for dt failures on browser_dbg-navigation.js . CLOSED TREE
Backed out changeset 5db908b26d50 (bug 1494796)
Backed out changeset c48f00f0df72 (bug 1494796)
Backed out changeset 591453b88e8b (bug 1494796)
Backed out changeset a14e820311bc (bug 1494796)
Backed out changeset 0e214d450b35 (bug 1494796)
Backed out changeset 1a4ab8b35a85 (bug 1494796)
Backed out changeset fe1559f5f1d4 (bug 1494796)
Backed out changeset 35d967de4223 (bug 1494796)
Backed out changeset 1d21a55cae15 (bug 1494796)
Backed out changeset 33eec873a43e (bug 1494796)
Backed out changeset 25e69c21dc2e (bug 1494796)
Backed out changeset b900d41c8ae8 (bug 1494796)
Backed out changeset c2a034e34fa6 (bug 1494796)
2019-06-14 07:20:42 +03:00
Narcis Beleuzu
72a734cf98 Backed out changeset aa7f507ac743 (bug 1558674) for dt failures on browser_console_context_menu_entries.js . CLOSED TREE 2019-06-14 05:57:52 +03:00
yulia
ee582580f9 Bug 1494796 - exit gracefully if docShell has been destroyed; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32724

--HG--
extra : moz-landing-system : lando
2019-06-14 00:21:41 +00:00
yulia
1c2c423009 Bug 1494796 - update setBreakpoint action on the debugger to be aware of server response; r=jdescottes,jlast
This was a difficult situation. We are not waiting for a server response when setting or
removing breakpoints. The result is that the server has not completed those actions by the time the
test closed, leaving setBreakpoint or removeBreakpoint requests hanging, causing a number of tests
to fail. In order to get around this, I made the panel action "SET_BREAKPOINT" and
"REMOVE_BREAKPOINT" aware of the server response. This involved rewriting the helper methods
`clientSetBreakpoint` and `clientRemoveBreakpoint` so that they no longer relied on the dispatch.

It was not possible to use the dispatches to wait, as they had no event exposed to the tests,
especially in cases when we triggered these requests via button presses.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:19:20 +00:00
yulia
98302b3f7b Bug 1494796 - change test code for reaching into the server; r=jdescottes
we shouldn't have this code, but we do

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:19:02 +00:00
yulia
76b82cde68 Bug 1494796 - Fix host resize test caused by timing issue; r=jdescottes
this is the weird one. we have a Debugger.executeSoon call for the destruction of the host.
However, before this happened immediately after the test closed. Now, it happens a little later, and
this messes up the data set up. The comment says that we cannot remove this.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:40 +00:00
yulia
35d91ebc2b Bug 1494796 - Delete registerClient functionality; r=jdescottes
The webConsoleFront and the threadClient front both used to depend on the debugger-client
to destroy them via registered clients. This is no longer the case, and this code can be deleted

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:32 +00:00
yulia
a2f0af32b2 Bug 1494796 - maintain backwards compatibility r=jdescottes
Introduce a flag to maintain backwards compatibility with old servers

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:25 +00:00
yulia
542bcd0e56 Bug 1494796 - use getFront to retrieve threadClient; r=jdescottes
In order for a front to be available to getFront on a given target, it must be first --
registered on the target scope, and second -- set on the target's targetForm. This makes that update
for both browsing context and worker targets. This works as part of a work around until we can get
the server into better shape.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:19 +00:00
yulia
607a83590c Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast
The resume case is much more complex than the other events, because we do an
unsafeSynchronize to send an unsolicited pause. In the old system, the resume response would have
been ignored, but that is no longer the case. With the new system, we do not want to send a response
to a resume action if it did not come from the UI. This also update the debugger panel code to
accept a resume.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:17 +00:00
yulia
2e3fde9d0e Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, interrupt method; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32847

--HG--
extra : moz-landing-system : lando
2019-06-14 00:16:39 +00:00
yulia
844b51e01a Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, attach/detach methods and events; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32845

--HG--
extra : moz-landing-system : lando
2019-06-14 00:32:28 +00:00
yulia
ecc3907641 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient ; r=jdescottes
This is part one of removing threadClient specifics out of the debuggerClient. We were
managing messages from the thread client in a special way -- this was the "Unsolicited Pauses"
object that we had before. This patch updates the threadClient to use Front style events. This
required updating the spec for the threadClient, and several of the methods. What has not been fully
migrated here is the "resumed" event, as this is much more complex. This is taken care of in the
next patch.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:28:03 +00:00
yulia
650d7f9c31 Bug 1494796 - Convert ThreadClient into a Front; r=jdescottes
This is the first part of the threadClient refactor. It only moves the methods to the new
front. and does some basic fixes.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:14:58 +00:00
yulia
57a1e6ce79 Bug 1494796 - fork threadclient for backwards compatibility r=jdescottes
make sure we have a copy of thread client for old servers

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

--HG--
rename : devtools/shared/client/thread-client.js => devtools/shared/client/deprecated-thread-client.js
extra : moz-landing-system : lando
2019-06-14 00:14:36 +00:00
Brendan Dahl
04a85879bb Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.

Also, restores tests to how they were before copy/paste was always enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:32:21 +00:00
Barret Rennie
43bd779652 Bug 1510569 - Port Content:LoadURIResult message to IPDL r=mconley
The `WebProgress#sendLoadCallResult` method only existed to send a empty async
message and was only called from the `WebNavigationChild`. Since
`WebNavigationChild` is in the process of being removed, it makes sense to
inline the replaced method into its call site.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 21:00:34 +00:00
Barret Rennie
2de25cc4ca Bug 1510569 - Port onLocationChange notifications inside WebProgressChild.jsm to C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D34563

--HG--
extra : moz-landing-system : lando
2019-06-13 21:08:40 +00:00
Brindusan Cristian
3f9e2ec379 Backed out changeset 64b2f8306217 (bug 1536871) for dt failures at browser_fontinspector.js. CLOSED TREE 2019-06-14 00:14:16 +03:00
Yury Delendik
827de35634 Bug 1555518 - Fixes original stack display for wasm files, and ref to original source. r=jlast
- Fixes expandFrames() to ensure the thread property is set
- Refactors getSourceLocationFromMouseEvent to use fromEditorLine
- Replaces dwarf_to_json (for proper DWARF conversion)

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

--HG--
extra : moz-landing-system : lando
2019-06-13 18:02:14 +00:00
Narcis Beleuzu
ed60adfc3c Backed out 5 changesets (bug 1510569) for bustages on BrowserChild.cpp . CLOSED TREE
Backed out changeset 4f0f5351be8b (bug 1510569)
Backed out changeset 14bbe0916bdd (bug 1510569)
Backed out changeset 19e734aeffa9 (bug 1510569)
Backed out changeset abb51690fd32 (bug 1510569)
Backed out changeset 1bf1907ee0c9 (bug 1510569)
2019-06-13 22:08:23 +03:00
Barret Rennie
75f83f43fc Bug 1510569 - Port Content:LoadURIResult message to IPDL r=mconley
The `WebProgress#sendLoadCallResult` method only existed to send a empty async
message and was only called from the `WebNavigationChild`. Since
`WebNavigationChild` is in the process of being removed, it makes sense to
inline the replaced method into its call site.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 17:55:04 +00:00
Barret Rennie
15c17bbb9f Bug 1510569 - Port onLocationChange notifications inside WebProgressChild.jsm to C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D34563

--HG--
extra : moz-landing-system : lando
2019-06-13 17:54:23 +00:00
Emilio Cobos Álvarez
7d1f93b8c6 Bug 1536871 - Make 'line-height: normal' return the 'normal' keyword from getComputedStyle() on Nightly and Early Beta, for now. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D25119

--HG--
extra : moz-landing-system : lando
2019-06-13 18:30:07 +00:00
Ciure Andrei
217ab9d060 Backed out 4 changesets (bug 1545582) for causing spidermonkey bustages CLOSED TREE
Backed out changeset c53f9e22d5f7 (bug 1545582)
Backed out changeset 6640b7f3d7e0 (bug 1545582)
Backed out changeset c65de5ec10da (bug 1545582)
Backed out changeset 3224107774b1 (bug 1545582)
2019-06-20 19:39:54 +03:00
Greg Tatum
34c1fdc5b4 Bug 1545582 - Hook JS allocations into the profiler popup; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34545

--HG--
extra : moz-landing-system : lando
2019-06-19 21:08:45 +00:00
arthur.iakab
a549fe0532 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 144e998695db067f1dad805e5263b591ed98e50f
2019-06-28 13:10:08 +03:00
Razvan Maries
968156f90a Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-06-28 06:41:53 +03:00
Razvan Maries
6cd0726ada Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-06-28 00:46:58 +03:00
Brian Hackett
9b229e4f05 Bug 1561327 - Add ReplayDebugger.addDebuggees. 2019-06-27 10:07:15 -10:00
Boris Zbarsky
a4410ccb51 Bug 1558726. Stop using [array] in nsISocketTransportService. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D34668

--HG--
extra : moz-landing-system : lando
2019-06-13 04:21:32 +00:00
Nicolas Chevobbe
cb521cd00a Bug 1558692 - Fix browser_webconsole_warning_group_multiples.js intermittent. r=bgrins.
Making the URLs unique seems to fix the issue.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 16:04:11 +00:00
Miriam
334b0c25ee Bug 1550064 - Improve debug line highlight visibility.
This implements Victoria's suggestion for improving highlight line visibility.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 15:05:58 +00:00
Jason Laster
4e2a60b020 Bug 1555293 - Fix 0.13 - 0.16% installer size. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34779

--HG--
rename : devtools/client/shared/source-map/worker.js => devtools/client/shared/vendor/whatwg-url.js
extra : moz-landing-system : lando
2019-06-13 14:18:10 +00:00
Nicolas Chevobbe
8c902ec959 Bug 1557632 - Don't check if input is compilable unit on Ctrl+Enter. r=Honza.
In the regular webconsole input, on Enter, we check that the
input is a compilable unit, so the user don't accidentally
execute an incomplete snippet.
In the editor mode, the user will have to use Ctrl/Cmd + Enter to
execute, so we don't have to worry about Enter (it will simply
append a new line).
And since the user might deal with a large number of characters,
we don't want to prevent them to execute. If it's malformed, they
will get an error in the output and can fix their input easily, since
it wasn't cleared.

The patch adds a test to ensure this work as expected.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 12:35:04 +00:00
Nicolas Chevobbe
87dddd801b Bug 1557031 - Fix test leaks caused by InactivePropertyHelper. r=miker.
We put some objects on the InactivePropertyHelper (node, rule),
but never reset those properties, which was causing leaks in some
inspector tests.
This patch adds a unselect function that clears all the references
added in the select function.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 10:51:35 +00:00
Nicolas Chevobbe
90335906a2 Bug 1558805 - Fix test_inspector-inactive-property-helper.html beta permafail. r=jdescottes.
The inactive CSS feature is only enabled in Nightly at
the moment, which is what's causing the test to fail
on beta simulation.
Forcing the pref to true in the test should fix the issue.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 10:27:03 +00:00
yulia
efb4e81f0c Bug 1494796 - wait for paintflash requests to settle r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32721

--HG--
extra : moz-landing-system : lando
2019-06-12 23:36:30 +00:00
yulia
19ed9a4da3 Bug 1494796 - wait in aboutdebugging addons nobg test for tabs before closing; r=jdescottes
This test was failing due to the tab closing before a response from the tab was recieved.
It is due to the threadClient closing more quickly. This waits for the last message before closing

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:36:13 +00:00
yulia
69155c39cd Bug 1494796 - fix blob stylesheet test to not fail retrieving sourcemap; r=nchevobbe
this test was failing because the threadClient was posting messages due to being unable to
find the source map. After investigating, I found that the sourcemap was formatted incorrectly. I do
not know if this was intentional. If it wasn't this fix works. If it was, then we need to find a way
to wait on source map failures, and the test name might need to be updated

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:35:49 +00:00
yulia
c0aa01fcc2 Bug 1494796 - fix timing issue and rewrite object grip test; r=nchevobbe
There was an issue where this test was timing out, and due to the way it was written it was
very hard to identify where -- there were many nested promises. I rewrote the test in order to
identify the time out.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:35:16 +00:00
yulia
4ca11160ea Bug 1494796 - fix netmonitor test to ensure elements exist on the dom before testing; r=Honza
the test `browser_net_params_sorted` may not have been functioning for some time. While
investigating this, I discovered that we were getting an empty array for `actualKeys`. Iterating
over this array returned immediately. As a result the test always passed, even though the shape of
the data changed. I updated this code so that it waits for the dom to be populated with the number
of keys expected. I also updated the test to reflect the data the front end has today.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:34:59 +00:00
yulia
41a63bce0d Bug 1494796 - fix timing issues in general tests due to threadClient refactor; r=jdescottes
this patch fixes a few tests that had miscellanous timeouts

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:34:36 +00:00
yulia
6d5d4fea40 Bug 1494796 - fix timing issues in debugger tests due to threadClient refactor; r=jlast
There were a few miscellaneous situations in which the test would fail due to a hanging
request. These tests passed in the past because the old way of using the threadActor did not
identify which requests had been responded to.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:34:00 +00:00
violet
d5bbf998dd Bug 1351432 - Implement the break-spaces value of the white-space property r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34499

--HG--
extra : moz-landing-system : lando
2019-06-12 10:23:49 +00:00
Ehsan Akhgari
b3c4267b3c Bug 1557887 - Part 6: Pass a storage principal to the rest of the call sites for createAboutBlankContentViewer(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34460

--HG--
extra : moz-landing-system : lando
2019-06-12 09:07:33 +00:00
Jason Laster
c2697b1ae8 Bug 1531493 - fix intermittent browser_dbg-worker-scopes.js. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34716

--HG--
extra : moz-landing-system : lando
2019-06-12 21:37:31 +00:00
Edwin Gao
cc854e7601 Bug 1555454 - migrate mochitest-devtools-chrome to macosx1014 r=gbrown
Changes:
- migrate `mochitest-devtools-chrome` to macosx1014

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

--HG--
extra : moz-landing-system : lando
2019-06-12 21:21:32 +00:00
Thomas
6d0f6d5946 Bug 1519537 - layout flex inspector - change min/max color in diagram and info chart. r=mtigley
In the layout panel of the inspector, in the flex part, change color of min and max properties.
Change the min/max labels, and lock icon color of the flex outline box to the same color too.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 19:53:34 +00:00
chujun
c7b8502fb8 Bug 1536854 - Log errors from logpoint as actual errors in the console r=davidwalsh,nchevobbe
If logpoint throws, set `level` to "error".
Add tests to ensure the correct level is set.

Demo function: https://luxuriant-system.glitch.me/
Add some logpoints. The first two statements are invalid. The third one is valid.
{F1311386}

In console:
{F1311387}

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

--HG--
extra : moz-landing-system : lando
2019-06-12 12:10:35 +00:00
Jason Laster
43b1de0cda Bug 1552015 - improve column breakpoint rendering performance.
Differential Revision: https://phabricator.services.mozilla.com/D34711

--HG--
extra : moz-landing-system : lando
2019-06-12 13:24:15 +00:00
Nicolas Chevobbe
9129865b0e Bug 1558468 - Split InactivePropertyHelper test cases in multiple files. r=rcaliman.
This should make the test more managable as we add properties
validators in InactivePropertyHelper.
eslint doesn't support dynamic import yet, so we have to ignore
the test file.

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

--HG--
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/gap.js
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/max-min-width-height.js
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/vertical-align.js
extra : moz-landing-system : lando
2019-06-12 09:49:16 +00:00
Belén Albeza
1268639223 Bug 1553783 - Add mochitest for unregister service worker button r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D34168

--HG--
extra : moz-landing-system : lando
2019-06-11 21:27:26 +00:00
Belén Albeza
9a15238677 Bug 1553784 - Add mochitest for empty list of service workers r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D34154

--HG--
extra : moz-landing-system : lando
2019-06-11 21:23:59 +00:00
Florens Verschelde
b2cdaf13a8 Bug 1558403 - Add sidebar background color to SecondaryPanes sidebar; r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D34520

--HG--
extra : moz-landing-system : lando
2019-06-11 18:34:49 +00:00
Bogdan Tara
22ebc89901 Backed out changeset 6b3192ef9401 (bug 1552015) for es lint failure on visibleColumnBreakpoints.js CLOSED TREE 2019-06-12 04:15:58 +03:00
Miriam
a5efe7af40 Bug 1558273 - For arrays and objects, highlight from token to end of line when paused.
Differential Revision: https://phabricator.services.mozilla.com/D34392

--HG--
extra : moz-landing-system : lando
2019-06-10 20:40:04 +00:00
Jason Laster
a2f1b1ad93 Bug 1552015 - improve column breakpoint rendering performance. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34358

--HG--
extra : moz-landing-system : lando
2019-06-11 20:44:12 +00:00
Miriam
5a1f34625e Bug 1340971 - Use proper plural form in editor.searchResults and sourceSearch.resultsSummary1 r=davidwalsh,flod
Added proper plural form to editor.searchResults and sourceSearch.resultsSummary1. Updated the comments and IDs for the new strings as well. Replaced all instances of old string references with new string references.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 19:25:15 +00:00
tanhengyeow
0d8f2eb67b Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza,jdescottes
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:27:08 +00:00
Boris Zbarsky
9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Jason Laster
8578b45a14 Bug 1558303 - Stop using immutable.
Differential Revision: https://phabricator.services.mozilla.com/D34411

--HG--
extra : moz-landing-system : lando
2019-06-11 16:15:17 +00:00
David Walsh
dee0e36659 Bug 1558237 - Prevent unwanted background for event listener breakpoints toggles r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D34381

--HG--
extra : moz-landing-system : lando
2019-06-11 08:49:38 +00:00
Nicolas Chevobbe
63f04fee2d Bug 1545888 - Use template-styled message with placeholders as warning group labels. r=Honza.
This allows to have more meaningful warning group messages, i.e.
"Content Blocking" is turned into something like "The resource at
'<URL>' was blocked because content blocking is enabled".

This is done by parsing the message of the first warning to put
in the group, and replacing the URL with a generic placeholder.

We take this as an opportunity to decouple content blocked messages
and storage access blocked ones, as they have slightly different
meanings and consequences.

Tests are updated to match the new labels, and a new test is
added to make sure that we can have multiple warning group in a
single "page navigation" session.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 13:47:37 +00:00
Oana Pop Rus
f872d9fd84 Backed out changeset de1dc8a5ce54 (bug 1552458) for xpcshell failures on service-worker-registration on a CLOSED TREE 2019-06-11 12:10:59 +03:00
Nicolas Chevobbe
37c48f52e6 Bug 1557324 - Fix JSTerm keyboard navigation in old input. r=Honza.
Hitting Ctrl+ArrowRight didn't have any effect on windows/linux.
The patch fixes this and add a test to make sure a user can
navigate from word to word using Ctrl (or Alt on OSX) and
Arrow Left/Right keys.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 08:26:22 +00:00
tanhengyeow
5b709c20cd Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 08:16:31 +00:00
Nicolas Chevobbe
fe0fe361da Bug 1557330 - Lowercase node.nodename in InactivePropertyHelper. r=rcaliman.
Element.nodeName is usually all-caps, and we were testing lower cased version,
which brought erroneous results.
The test wasn't picking those errors because we were creating the element from
a XHTML document, where Element.nodeName keep the casing used for their creation.
The test is modified to deal with an HTML document instead.

After the test was modified, I could see it was failing, and was then able to
do the actual feature fix.

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

--HG--
rename : devtools/server/tests/browser/browser_inspector-inactive-property-helper.js => devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html
extra : moz-landing-system : lando
2019-06-11 05:57:13 +00:00
Brian Hackett
3e7cf51dc1 Bug 1558504 - Waive xrays on contents of Set and Map objects when previewing, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D34743

--HG--
extra : rebase_source : 0a7a278afe93c3873b6c90ade98a9271fbff9965
2019-06-12 06:11:48 -10:00
Brian Hackett
82d933962b Bug 1533308 - Report rejected non-exception objects to the console, r=kmag,arai.
--HG--
extra : rebase_source : a226e104ffac8b7db1c5cde797cb0fbe438c1c65
2019-06-11 11:53:27 -10:00
Yura Zenevich
e3e6d52193 Bug 1558194 - fix background styling for audit overlay in dark mode. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D34353

--HG--
extra : moz-landing-system : lando
2019-06-10 18:40:18 +00:00
Thomas
e4fd1c3d23 Bug 1521188 - Indicate grid/flex container/item in infobar highlighter. r=pbro
Indicate in the infobar highlighter if the element is of kind grid or flex, and if it is a container or an item.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 17:09:56 +00:00
Yura Zenevich
8e39f82bc5 Bug 1558188 - ensure TreeView's tbody container does not get keyboard focus. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D34351

--HG--
extra : moz-landing-system : lando
2019-06-10 18:32:40 +00:00
Razvan Caliman
d83b76d0d4 Bug 1557063 - Better checks for invalid CSS when using gap, column-gap and row-gap. r=miker,fluent-reviewers,flod
Splits the checks by appropriate container:
- column-gap and gap for flex-container, grid-container and multi-column container
- row-gap only for flex container and grid container

See CSS Box Alignment: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Alignment

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

--HG--
extra : moz-landing-system : lando
2019-06-07 21:09:41 +00:00
Jason Laster
0feee6b2a0 Bug 1527488 - Stop waiting for fetched content. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34075

--HG--
extra : moz-landing-system : lando
2019-06-07 21:27:19 +00:00
David Walsh
e5f1dbe9cf Bug 1556308 - Prevent nemonitor errors for failed requests r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33988

--HG--
extra : moz-landing-system : lando
2019-06-10 16:16:08 +00:00
David Walsh
c42d65aba2 Bug 1416916 - Syntax highlight .es# files r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D34191

--HG--
extra : moz-landing-system : lando
2019-06-10 15:57:22 +00:00
jaril
69f1083c8c Bug 1553557 - Change preview-selection to preview-token.
Differential Revision: https://phabricator.services.mozilla.com/D34293

--HG--
extra : moz-landing-system : lando
2019-06-10 13:47:45 +00:00
Andreea Pavel
37086877f5 Bug 1531493 - disabled browser_dbg-worker-scopes.js on all platforms r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D34338

--HG--
extra : moz-landing-system : lando
2019-06-10 14:11:44 +00:00
Nicolas Chevobbe
a03be2ac39 Bug 1551612 - Add componentDidCatch in Message component. r=bgrins.
This patch adds a componentDidCatch handler to the Message component
so we don't crash the whole console when a message can't be rendered.
When a message causes a crash, we display an error message instead,
asking the user to file a bug. A button allow to copy the message data
so it can be attached in the bug report.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 06:22:05 +00:00
phoenixabhishek
4deb2657c6 Bug 1525039 - Redesign toggleable buttons. r=ladybenko
The toggle buttons have been redesigned as per the shared mockup

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

--HG--
extra : moz-landing-system : lando
2019-06-10 06:10:25 +00:00
Micah Tigley
246762bd09 Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-08 21:35:42 +00:00
David Walsh
7301ca4449 Bug 1556454 - Use consistent red color and show blocked badge for blocked requests r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33862

--HG--
extra : moz-landing-system : lando
2019-06-07 08:21:24 +00:00
Tim Nguyen
d5dcb284d5 Bug 1557674 - Replace XUL textbox usages with HTML inputs in storage inspector. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D34190

--HG--
extra : moz-landing-system : lando
2019-06-07 21:42:59 +00:00
Dorel Luca
c735f1864c Backed out changeset 7bf9069eba43 (bug 1557674) for DevTools failures in devtools/client/storage/test/browser_storage_cookies_tab_navigation.js. CLOSED TREE 2019-06-08 00:10:09 +03:00
Tim Nguyen
4bc7c29815 Bug 1557674 - Replace XUL textbox usages with HTML inputs in storage inspector. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D34190

--HG--
extra : moz-landing-system : lando
2019-06-07 19:36:00 +00:00
Mihai Alexandru Michis
ea44e068e2 Backed out changeset e2af0f70828c (bug 1551612) for causing bc failures in webconsole.properties CLOSED TREE 2019-06-07 19:03:05 +03:00
Neil Deakin
17002c10a5 Bug 1556809, wait for render() method to complete r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D33802

--HG--
extra : moz-landing-system : lando
2019-06-06 17:39:01 +00:00
Nicolas Chevobbe
7939b78f6c Bug 1523864 - Move filter bar layout change to the App level. r=Honza.
This makes the console code more consistent, and adds the
nice benefit of being able to check if the layout should
be modified when performing non-window-resize events that
might still impact the layout (sidebar toggle, sidebar
resizing, ...).

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

--HG--
extra : moz-landing-system : lando
2019-06-07 14:23:35 +00:00
Kelly
78da19b9b9 Bug 1523864 Display filter buttons next to filter input if there is enough space. r=Honza
Set a minimum width on the filter bar of the Devtools Console window. When there is enough empty space
to the right of the filterbar, allow the filter buttons to be desplaying inline, rather than on their own
separate row.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 14:23:16 +00:00
Nicolas Chevobbe
3adf3cc47b Bug 1551612 - Add componentDidCatch in Message component. r=bgrins.
This patch adds a componentDidCatch handler to the Message component
so we don't crash the whole console when a message can't be rendered.
When a message causes a crash, we display an error message instead,
asking the user to file a bug. A button allow to copy the message data
so it can be attached in the bug report.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 13:03:48 +00:00
Belén Albeza
3e3b9a6493 Bug 1553110 - Part 3: add test for Start worker button r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D33929

--HG--
extra : moz-landing-system : lando
2019-06-07 12:57:16 +00:00
Belén Albeza
48588a63c9 Bug 1553110 - Part 2: Disable debugging/start links if sw cannot be debugged (multie10s) r=Ola,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D33637

--HG--
extra : moz-landing-system : lando
2019-06-07 12:58:16 +00:00
Razvan Caliman
a01a6f5ce4 Bug 1548833 - Replace message table data with generalized message payload. r=nchevobbe
Follow-up to [Bug 1093953](https://bugzilla.mozilla.org/show_bug.cgi?id=1093953) which introduced a generalized `payload` object for messages to be populated asynchronously with additional  data associated with the message after it is initially received.

The reasoning is: messages can have arbitrary data payload associated with them. The rendering component for the message type will consume and validate that payload data.

Here, we replace the specialized messageTableDataByID with the generalized messagePayloadByID, update corresponding Redux actions, reducers, selectors and tests.

The only place where `tableData` is used is in the `ConsoleApiCall` message type, in the `ConsoleTable` component. We replace it with `payload` which is sent down to all message types anyway.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 15:25:20 +00:00
Michael Ratcliffe
5964c04dcb Bug 1553472 - Ensure that all DevTools tooltips should conform with the Proton theme r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32309

--HG--
extra : moz-landing-system : lando
2019-06-06 15:09:48 +00:00
Bogdan Tara
d2b3af29d9 Backed out changeset f4ea30c29aa7 (bug 1556533) for browser_orientationchange_event.js failures CLOSED TREE 2019-06-07 04:54:14 +03:00
Micah Tigley
08a7bba50b Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-07 00:00:55 +00:00
Csoregi Natalia
df1edb3dc0 Merge mozilla-central to autoland. CLOSED TREE 2019-06-07 01:38:51 +03:00
Csoregi Natalia
0bbc9b655d Merge inbound to mozilla-central. a=merge 2019-06-07 00:52:54 +03:00
Bogdan Tara
2fbab54c99 Backed out changeset 91643c6f9a42 (bug 1556533) for es lint failure CLOSED TREE 2019-06-07 00:22:18 +03:00
Michael Ratcliffe
4f40762044 Bug 1493369 - Fix and rewrite browser_storage_updates.js r=rcaliman
### Changes

In a nutshell, the old test produced the occasional orange and was badly written so it was very difficult to follow, especially when there were failures. The new test uses a snapshot system, which is much easier to understand.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=39b92ebbce9ce1ae58f0466ccc1608314257bf81&group_state=expanded
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f0fdf5e246550494e41b1ad88da1258e62a63ab7&group_state=expanded
https://treeherder.mozilla.org/#/jobs?repo=try&revision=79489426ffcf177663aceb9db43efabc190de613&group_state=expanded
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6ee7fbfb846be73e08023caddd1baed2e6962d6b&group_state=expanded

That is 1040 successful test runs across all supported operating systems. There is just one window leak, which is common when running a single test in this way.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 15:26:34 +00:00
Nicolas B. Pierron
7d6c7e92af Bug 1488858 - Rename JSMSG_NOT_NONNULL_OBJECT to JSMSG_OBJECT_REQUIRED. r=jorendorff 2019-06-06 14:25:44 +02:00
shindli
f8c85e378a Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-06 13:11:16 +03:00
shindli
3caa33a7ea Merge inbound to mozilla-central. a=merge 2019-06-06 12:57:52 +03:00
Charlie Marlow
29aa4dbb9a Bug 1555863 added text-decoration-width support to style system including mochitests and web platform tests r=emilio
from-font support will be added later

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:12:22 +00:00
Micah Tigley
0b75341190 Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-06 19:18:16 +00:00
Yura Zenevich
0759de7245 Bug 1552067 - add filter and badge for text label audit type. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D33186

--HG--
extra : moz-landing-system : lando
2019-06-06 05:24:03 +00:00
Yura Zenevich
1deec0a684 Bug 1552067 - adding text label audit type serverside support. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D33185

--HG--
rename : devtools/server/actors/accessibility/contrast.js => devtools/server/actors/accessibility/audit/contrast.js
rename : devtools/server/actors/accessibility/moz.build => devtools/server/actors/accessibility/audit/moz.build
extra : moz-landing-system : lando
2019-06-06 08:05:19 +00:00
Yura Zenevich
a9aa355247 Bug 1552066 - add ALL filter to accessibility checks toolbar. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D33184

--HG--
extra : moz-landing-system : lando
2019-06-06 13:53:29 +00:00
Yura Zenevich
8a74234eb8 Bug 1548262 - updating walker/accessible audit API to support per type auditing. r=nchevobbe
This is done so the user has a choice what kind of audit to run or what kind of audit type to filter the accessibility tree by

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:58:33 +00:00
Michael Ratcliffe
09cf65be17 Bug 1554841 - l10n corrections in storage inspector cookie table headers r=pbro
### Changes

#### Set 1 - Match cookie creation strings, remove "on" and capitalize.

- Expires on {icon long-arrow-right} Expires
- Last accessed on {icon long-arrow-right} Last accessed
- Created on {icon long-arrow-right} Created
- sameSite {icon long-arrow-right} SameSite

#### Set 2 - Re-add missing strings

- table.headers.cookies.isHttpOnly=HttpOnly
- table.headers.cookies.isSecure=Secure
- table.headers.cookies.hostOnly=HostOnly

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

--HG--
extra : moz-landing-system : lando
2019-06-05 13:11:00 +00:00
Dhruvi Butti
4d7125f280 Bug 1539816 - Always filter the autocomplete popup items if the popup was opened. .
Currently, if the autocomplete preference is set to false, and the user
displays the autocomplete popup with Ctrl + Space, typing other letters
won't filter the popup, which feels very weird.
This patch fixes this behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 15:05:31 +00:00
janelledement
0e820e6a25 Bug 888161 - Adds download file option to the context menu of source tree items r=davidwalsh
This patch addresses bug 888161 by adding a ‘Download File’ option to the context menu of individual source tree item files.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:42:03 +00:00
Ola Gasidlo
ae788a0773 Bug 1473295 - add enviroment for unit tests, r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D32959

--HG--
extra : moz-landing-system : lando
2019-06-06 13:49:49 +00:00
Ryan Duffy
bd1d104ad9 Bug 1527488 - Change debugger build to support lazy loading modules
Differential Revision: https://phabricator.services.mozilla.com/D32865

--HG--
extra : moz-landing-system : lando
2019-06-06 13:02:36 +00:00
Nicolas Chevobbe
74f4a28c13 Bug 1556068 - Track JsPropertyProvider's analyzeInput string and bail if it's taking too long. r=Honza.
It can happen that the string we receive is quite large
and as a result takes a long time to analyze, freezing
the process.
This patch simply tracks for how long the for loop is running,
and bail out if it's greater than a given time (set to 2500 ms
for now).
This is mostly a safeguard, a future patch should try to improve
the performance of the function itself.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 13:08:21 +00:00
Brian Hackett
f169f9c96f Bug 1325195 Part 2 - Remove worker specific code in object previews, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D32874

--HG--
extra : rebase_source : d262de290a5a8de56085e614cd01435d91b9dee3
2019-05-28 08:33:00 -10:00
Brian Hackett
60bf728495 Bug 1545400 - Increment recursion depth when debugger has saved a thread's microtasks, r=arai,smaug.
Differential Revision: https://phabricator.services.mozilla.com/D32889

--HG--
extra : rebase_source : 33e2c281ef94a565fe4fc1d1490e41d005f7835b
2019-05-28 10:28:03 -10:00
arthur.iakab
94d096ca36 Merge mozilla-central to mozilla-inbound 2019-06-06 01:06:38 +03:00
Micah Tigley
03e3d3a28d Bug 1351487 - Part 2: Add tests for ensuring that window screen sizing values reported in RDM are correct. r=bradwerth
Depends on D32410

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

--HG--
extra : moz-landing-system : lando
2019-06-05 00:29:36 +00:00
chujun
aef340f83f Bug 1488662 Change go to line shortcut to Ctrl+G r=davidwalsh
The current “go to line” keyboard shortcut `CmdOrCtrl+;` conflicts with the “step in” shortcut. The "go to line" shortcut is replaced with the shortcut for Chrome debugger and Sublime Text: `Ctrl+G`. Upper or lower cases don’t matter.

1. Current behavior:
1a) With no file open in editor; or with a file open in editor, but not pausing at a breakpoint:
`Cmd+;` or `Cmd+Shift+;` opens the “go to line” box.

1b) Pause at a breakpoint:
`Cmd+;` runs `step in`, and also opens the “go to line” box;
`Cmd+Shift+;` runs `step over`, and also opens the “go to line” box.

2) Code changes:
2a) Create gotoLineModal.key3.
2b) Update localization note.
2b) Update snapshot test.

3) After the code changes, on macOS:
3a) With no file open in editor:
`Ctrl+G` opens the “go to line” box.

3b) With a file open, but not pausing at breakpoints:
`Ctrl+G`opens the “go to line” box; hitting `Ctrl+G` again or `escape` closes the box.

3c) Pause at a breakpoint:
`Cmd+;` or `Cmd+Shift+;` doesn’t open the “go to line” box.
`Ctrl+G` opens the “go to line” box.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 01:25:36 +00:00
Julian Descottes
39072efb4b Bug 1556652 - Document how to create perf profiles on try for DAMP r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D33601

--HG--
extra : moz-landing-system : lando
2019-06-04 12:44:57 +00:00
Gabriel Luong
6c4bdbacd6 Bug 1550519 - Show a translucent parent highlight when a subgrid is highlighted. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32507
2019-05-24 14:02:14 -04:00
Nicolas B. Pierron
1040b3de0b Bug 1533132 - Index JSMSG_SET_NON_OBJECT_RECEIVER MDN documentation. r=fscholz 2019-06-05 19:15:35 +02:00
Mihai Alexandru Michis
c70fbfe90e Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-05 18:56:22 +03:00
Gabriel Luong
86e6780079 Bug 1556729 - Set the node value when rendering the TextNode component. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D33709
2019-06-04 17:25:29 -04:00
Mihai Alexandru Michis
153172de0c Merge inbound to mozilla-central. a=merge 2019-06-05 12:51:25 +03:00
Narcis Beleuzu
83a9f3a6b3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-05 00:52:43 +03:00