Commit Graph

652243 Commits

Author SHA1 Message Date
Nicolas Chevobbe
3a21dca1bc Bug 1534932 - Ensure filtering works with warningGroups. r=Honza.
We want the warningGroup to be displayed if at least one of its
children will be visible.
We also want all the children if the warningGroup should be
visible.
This requires a few changes in the message reducers, mainly
in the getVisibility function. But we also modify
maybeSortVisibleMessages to place the messages in warningGroups
at the expected positions.

A complete mochitest is added to ensure the output always has
the expected messages in the expected order.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 12:43:04 +00:00
Nicolas Chevobbe
d8c2d3926c Bug 1419358 - Never filter-out navigation markers message. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D31219

--HG--
extra : moz-landing-system : lando
2019-05-21 12:42:34 +00:00
Aaditya Arora
5ddcc4b261 Bug 1533277 - Use SearchBox component in console filter bar. r=ntim.
The code is adapted to work with the SearchBox, which means
we can get rid of an event listener in webconsole-ui.js.
Also, we take this as an opportunity to remove the element
refs as they were only used in tests, where we can more easily
use query selectors to get those elements.
Some changes were needed in SearchBox's `onChange` function since
`setState` is asynchronous.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 12:20:50 +00:00
Mihai Alexandru Michis
68421ffba4 Backed out changeset 754426d70d28 (bug 1551729) for causing wpt failures. CLOSED TREE 2019-05-21 15:17:37 +03:00
Emilio Cobos Álvarez
84b1872a1c Bug 1383650 - followup: Regenerate property database again. r=bustage
CLOSED TREE
2019-05-21 13:59:18 +02:00
Ola Gasidlo
ca0c3895a1 Bug 1520191 - Polish style for error and warning messages r=jdescottes,ladybenko,flod
Wrapped error log in <details>

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

--HG--
extra : moz-landing-system : lando
2019-05-21 11:14:47 +00:00
Miko Mynttinen
a89d7cedff Bug 1552789 - Check NS_FRAME_FORCE_DISPLAY_LIST_DESCEND_INTO flag for every line r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D31865

--HG--
extra : moz-landing-system : lando
2019-05-20 22:54:18 +00:00
fluks
f672a898c2 Bug 1498187 - Let the user sort by column in about:performance. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D31612

--HG--
extra : moz-landing-system : lando
2019-05-21 10:46:35 +00:00
violet
058a50476b Bug 1383650 - Run mach devtools-css-db to sync css db r=emilio
This is the last part of this seris of patches to implement geometry property.
This particular patch just run `./mach devtools-css-db` to update db per instruction
at the beginning of devtools/shared/tests/unit/test_css-properties-db.js, and also a manual addition to the animation property db.

After this patch, the SVG geometry propery is implemented for <rect>, <circle>,
<ellipse> and <foreignObject>. We already implemented outer <svg>. Thus the
remainings are inner <svg> and <image>, which are kind of different to the
others, so they will be handled in some follow-ups. Note that these patches won't
impact old behavior of inner <svg> and <image>.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:22 +00:00
violet
f30d87431e Bug 1383650 - Add reftest for rect, circle, ellipse and foreignObject r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D30807

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:22 +00:00
violet
4cb90f9c62 Bug 1383650 - Use CSS to layout foreignObject r=longsonr
Should also update layout code for foreignObject to use CSS geometry property.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:22 +00:00
violet
b4ab687af2 Bug 1383650 - Optimize attribute mapping by not parsing same thing twice r=longsonr
Geometry properties are the most used SVG attributes. When authors specify
them as attributes, we have to parse them in SVG side. So we don't want to
parse them in CSS side again, otherwise the introduced performance loss
is relatively high.

With this optimization, this feature implementation doesn't slow down
overall performace even if there are thousands of geometry elements.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:21 +00:00
violet
8ebdbe5a90 Bug 1383650 - Notify style system when SMIL animation changes length r=birtles,longsonr
When animating geometry attribute, we need to notify style system about the change of SMIL override style.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:20 +00:00
violet
b081f29f41 Bug 1383650 - Add conversion utilities to get CSS counterpart of SVG unit and AttrEnum r=longsonr
We need some utilities to convert SVG unit and attrenum to CSS unit and property id.
This is useful when we need to pass parsed geometry property directly to CSS.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:21 +00:00
violet
00adbe98b0 Bug 1383650 - Add geometry property support for Servo glue r=emilio
These functions are useful to directly pass already parsed SVG
geometry property to CSS side.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:21 +00:00
violet
cadaa5cf8e Bug 1383650 - Invalidate path cache when geometry changed via CSS r=longsonr
We cached the path of an element. Previously we only need to invalidate
the cached path if an geometry attribute is changed. Now we also need
to invalidate if the corresponding CSS is changed.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:20 +00:00
violet
b1f320104b Bug 1383650 - Resolve SVG geometry metrics from CSS r=longsonr,emilio
This patch makes SVG retrieve metrics from CSS style.

It doesn't handle <svg> element because geometry properties for
outer <svg> element has been partially implemented long ago, it
needs special change.

It doesn't deal with the impact on SMIL.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:20 +00:00
violet
6002ad9aeb Bug 1383650 - Map SVG geometry attributes to CSS r=longsonr
This patch maps SVG geometry attributes to CSS property, so that the
values set via SVG attribute will be known by CSS.

It doesn't deal with how the value is used.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:19 +00:00
violet
30fa1da169 Bug 1383650 - Add SVG geometry property support in CSS r=emilio
This patch adds SVG geometry properties to CSS, it doesn't deal with
how SVG handles them.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:19 +00:00
violet
a052d53ee2 Bug 1383650 - Support AllowQuirks::Always option in helpers.mako.rs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D29936

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:18 +00:00
Gijs Kruitbosch
943215f0d0 Bug 1550697 - fix focus colours for banners in hamburger menu, r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D31617

--HG--
extra : moz-landing-system : lando
2019-05-21 10:17:31 +00:00
James Graham
4d68b337bf Bug 1552682 - Fix fallback for wpt manifest download, r=ato
It seems like bool(req) was evaluated as False and there were several error
paths where we didn't fall back to a reasonable default URL. Fixing this should
mean we almost never fall back to not downloading anything

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

--HG--
extra : moz-landing-system : lando
2019-05-20 21:52:06 +00:00
Paul Adenot
4be4624d57 Bug 1552530 - Make the wav dumper in AudioStream.cpp reusable. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D31648

--HG--
extra : moz-landing-system : lando
2019-05-21 10:10:04 +00:00
Paul Adenot
a78de7c1b3 Bug 1552530 - Templatize ByteWriter.h to allow writing big or little endian, and fix call sites. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D31766

--HG--
extra : moz-landing-system : lando
2019-05-21 10:10:04 +00:00
Razvan Caliman
ad3c70e6a9 Bug 1552275 - Fix Copy Link context menu in DevTools Inspector markup view. r=gl
- Fixes the references to the correct event handler & InspectorFront after a previous mass refactoring in Bug 1529364.
- Augments a test to ensure the clipboard content is correct executing the context menu action to copy a link.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 16:03:00 +00:00
Andreas Farre
c6af33c82e Bug 1552775 git clang-format hook: Ignore deleted files. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D31758

--HG--
extra : moz-landing-system : lando
2019-05-20 11:43:04 +00:00
diana.iacos
967d1baf46 Bug 1533365 - On tablets the icon from Sync page its not displayed correctly; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D31963

--HG--
extra : moz-landing-system : lando
2019-05-21 08:20:55 +00:00
Andrea Marchesini
32c1b6bb89 Bug 1551729 - Revert bug 1548432 - Re-introducing the support for cookies without values, r=mayhemer
This patch reverts the second part of bug 1548432.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 08:57:21 +00:00
Julian Descottes
033f059748 Bug 1553029 - Show WebIDE deprecation message if the new about:debugging is enabled r=daisuke
Rather than having a separate preference for showing the deprecation message, we should reuse the aboutdebugging new pref

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

--HG--
extra : moz-landing-system : lando
2019-05-21 07:37:48 +00:00
Julian Descottes
5bd30911e3 Bug 1553031 - Hide Remote Debugging menu item when new aboutdebugging is disabled r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D31966

--HG--
extra : moz-landing-system : lando
2019-05-21 08:52:18 +00:00
Julian Descottes
2ad7ebc0fc Bug 1553028 - Disable new about:debugging on Beta and Release channels r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D31961

--HG--
extra : moz-landing-system : lando
2019-05-21 08:51:04 +00:00
Julian Descottes
62d2b67271 Bug 1553029 - Update WebIDE deprecation message to stop mentioning release 69 r=flod,daisuke
There was a last minute schedule change for remote debugging release and we will not ride the trains with Firefox 68
The deprecation schedule is therefore shifting by one release. We update the deprecation message in WebIDE here and we should
uplift this change to beta if possible. The patch was written in order to be uplifted, we can go for a simpler version if the
uplift is a no go.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 08:48:51 +00:00
Masayuki Nakano
fc57d9bf0f Bug 1549661 - part 7: Make GetInternalCommand() take nsCommandParams instead of nsAString r=m_kato
`GetInternalCommand()` is currently used only by `EditorCommand` and it
treats the additional parameter only when given command is `cmd_align`.
However, the value is complicated since `AlignCommand` allows both `CString`
value and `String` value.  Therefore, `EditorCommand::DoCommandParams()` may
fail to solve `cmd_align` to a `Command` value without checking both of them.

Therefore, it must make sense that `GetInternalCommand()` take `nsCommandParams`
as optional argument and check it only when given command matches `cmd_align`.
Then, we don't need to waste unnecessary run-time cost.

Note that this bug has been hidden since `AlignCommand` class does not refer
the `Command` value but refers only `nsCommandParams`.  However, the previous
patch makes `EditorCommand::GetParamType()` not allow `Command::DoNothing`.
Therefore, we need this follow-up fix now.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 07:47:51 +00:00
Masayuki Nakano
29dd5c8e74 Bug 1549661 - part 6: Create EditorCommand::DoCommandParam(Command aCommand, nsITransferable* aTransferableParam, TextEditor& aTextEditor) r=m_kato
If `nsIControllerCommand::DoCommandParams()` is called without aParams or
`nsITransferable` pointer, this patch sets nullptr to `aTransferableParam` for
`DoCommandParam()`.  This allows each implementation to choose ignore or
return error.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 07:47:49 +00:00
Masayuki Nakano
276f23b02c Bug 1549661 - part 5: Make commands for MultiStateCommandBase take both CString and String r=m_kato
Only `MultiStateCommandBase::DoCommandParams()` allows `CString` param and
`String` param (the former is preferred).  This patch makes
`EditorCommand::DoCommandParams()` aware of this case.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 07:47:47 +00:00
Masayuki Nakano
3e190307e7 Bug 1549661 - part 4: Create EditorCommand::DoCommandParam(Command aCommand, const nsAString& aStringParam, TextEditor& aTextEditor) r=m_kato
If `nsIControllerCommand::DoCommandParams()` is called with `nullptr` for its
`aParams`, this patch sets `VoidString()` to `DoCommandParam()` for making
each implementation be able to consider whether the case is an error or
treat it as specific default value.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 07:45:55 +00:00
Masayuki Nakano
723ebc93fe Bug 1549661 - part 3: Create EditorCommand::DoCommandParam(Command aCommand, const nsACString& aCStringParam, TextEditor& aTextEditor) r=m_kato
If `nsIControllerCommand::DoCommandParams()` is called with `nullptr` for its
`aParams`, this patch sets `VoidCString()` to `DoCommandParam()` for making
each implementation be able to consider whether the case is an error or
treat it as specific default value.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 07:45:22 +00:00
Masayuki Nakano
2b5a319f77 Bug 1549661 - part 2: Create EditorCommand::DoCommandParam(Command aCommand, const Maybe<bool>& aBoolParam, TextEditor& aTextEditor) r=m_kato
We should use `Maybe` for `bool` because some command may treat the default
value when the parameter is omitted as `true` or `false.  Although, current
implementation does not do that.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 07:44:39 +00:00
Masayuki Nakano
ef7e3647d8 Bug 1549661 - part 1: Create EditorCommand::DoCommandParam(Command aCommand, TextEditor& aTextEditor) and make it just call DoCommand() r=m_kato
Most `EditorCommand` classes don't require additional params for executing
a command.  All of them just calls their `DoCommand()` or returns same result.
So, we can create new virtual method,
`EditorCommand::DoCommandParam(Command aCommand, TextEditor& aTextEditor)`,
which just delegates to `DoCommand()`.

This patch adds some undeclared commands but which are handled by
`EditorCommand` subclasses, and changes `CommandInt` type from `int8_t` to
`uint8_t` since the count of `Command` items becomes over 128.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 07:44:11 +00:00
Mathieu Leplatre
a93a98c46e Bug 1552199 - Include records from dump in Remote Settings sync event created data r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D31599

--HG--
extra : moz-landing-system : lando
2019-05-21 07:38:29 +00:00
Mirko Brodesser
dff9cbe75c Bug 1552752: Part 2) Rename ConvertAndWrite to EncodeAndWrite and slighlty simplify method. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D31768

--HG--
extra : moz-landing-system : lando
2019-05-21 07:36:49 +00:00
Ran Xu
30d5c2a4db Bug 1547184 - Remove taobao in android search plugins r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D28945

--HG--
extra : moz-landing-system : lando
2019-05-21 04:54:31 +00:00
Mirko Brodesser
d762bd2dd7 Bug 1552869: propagate nsresult values of various Append* calls in SerializeNodeStart, SerializeNodeEnd r=hsivonen
Might helpt to discover and prevent bugs.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 05:38:20 +00:00
Mirko Brodesser
bd167d6f1e Bug 1552752: Part 1) Split off text streaming in nsDocumentEncoder to separate class. r=hsivonen
Abstracts the streaming details away. Reduces complexity of
`nsDocumentEncoder`.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 05:38:06 +00:00
Jon Coppeard
22445824ad Bug 1537909 - Optimise external read barriers r=sfink?
Add a special path for the external read barrier API where we inline most of the checks and then always perform the barrier if we call into the engine.  This also skips dispatching on trace kind since we know the barrier tracer is always a GCMarker.

This is kind of hacky and I'm not sure how much it gains us (it's difficult to tell in profiles where GC may occur at different times).  What do you think?

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

--HG--
extra : moz-landing-system : lando
2019-05-20 17:58:16 +00:00
Jon Coppeard
ea2ed53caf Bug 1395509 - Remove existing malloc accounting for externally allocated memory r=sfink?
Since we now have precise memory accounting for externally allocated memory associated with GC things we should be able to remove use of the existing malloc counter here.  This should help with cases where we trigger too many GCs because we think there is more memory associated than there really is.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 17:27:02 +00:00
Matthew Noorenberghe
6c9f60f8cc Bug 1548381 - Tests for the password generation autocomplete UI. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D31576

--HG--
extra : moz-landing-system : lando
2019-05-21 00:24:16 +00:00
Matthew Noorenberghe
443b0dcc04 Bug 1548381 - Simplify test_autocomplete_new_password and use more common patterns. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D31575

--HG--
extra : moz-landing-system : lando
2019-05-21 00:24:18 +00:00
Matthew Noorenberghe
c7e2647572 Bug 1548381 - Password generation autocomplete UI. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D31211

--HG--
extra : moz-landing-system : lando
2019-05-21 00:24:20 +00:00
Matthew Noorenberghe
49af8c9279 Bug 1548381 - Make a generic two-line autocomplete richlistitem element. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D31210

--HG--
extra : moz-landing-system : lando
2019-05-21 00:24:22 +00:00