Граф коммитов

670577 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 75507785e6 Bug 1574852 - part 108: Move `TextEditRules::WillOutputText()` to `TextEditor` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D45491

--HG--
extra : moz-landing-system : lando
2019-09-13 03:44:33 +00:00
Masayuki Nakano af80a20e09 Bug 1574852 - part 107: Get rid of `TextEditRules::GetTextNodeAroundSelectionStartContainer()` since nobody uses it r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D45490

--HG--
extra : moz-landing-system : lando
2019-09-13 03:39:13 +00:00
Masayuki Nakano 438470f81e Bug 1574852 - part 106-2: Move calling `DeleteSelectionWithTransaction()` and `HTMLEditor` specific post handling into `HandleDeleteSelection()` from `TextEditor::DeleteSelectionAsSubAction()` r=m_kato
In `TextEditor::HandleDeleteSelection()`, we have only one path of returning
`EditActionIgnored()`.  Therefore, it should call
`DeleteSelectionWithTransaction()` directly.

On the other hand, it's not clear in `HTMLEditor::HandleDeleteSelection()`
since it may be called recursively by its helper methods.  Therefore,
this patch creates `HTMLEditor::HandleDeleteSelectionInternal()` for the
recursive calls and makes `HTMLEditor::HandleDeleteSelection()` call
`DeleteSelectionWithTransaction()` if nobody handled it and to the
`HTMLEditor` specific post-process in it.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 03:20:04 +00:00
Paolo Amadini 4f013e5a6b Bug 1580180 - Use the correct background color for the "add" row. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D45342

--HG--
extra : moz-landing-system : lando
2019-09-12 22:05:35 +00:00
Paolo Amadini 5e340fd9af Bug 1529319 - Part 2 - Test clicking radio buttons in "about:config" with multiple forms displayed. r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D44298

--HG--
extra : moz-landing-system : lando
2019-09-12 16:09:27 +00:00
Nicolas Silva 04ec40580d Bug 1570081 - Put the blob dirty rect in the same space as the drawing commands and visible rect. r=jrmuizel
Depends on D43222

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

--HG--
extra : moz-landing-system : lando
2019-09-12 15:59:58 +00:00
Nicolas Silva 563b86112a Bug 1570081 - Don't insert blob images with empty visible rects. r=jrmuizel
Depends on D41389

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

--HG--
extra : moz-landing-system : lando
2019-09-12 15:53:41 +00:00
Nicolas Silva af26140db1 Bug 1570081 - Update reftests. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D41389

--HG--
extra : moz-landing-system : lando
2019-09-12 15:55:47 +00:00
Nicolas Silva ebc84206a7 Bug 1570081 - Wrench rawtest changes. r=jrmuizel
Other patches in this series change blob-related coordinate systems which
means rawtests have to be adapted since the previous test parameters will
now give different results.
In addition, the new model for specifying blobs mtaches the visible area
to the layout rectangle of the primitive, which means there is no more
decorrelation between the item and the portion of it that needs rendering,
so one of the test is adapted accordingly.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 15:56:16 +00:00
Nicolas Silva 3bfb23feb3 Bug 1570081 - Support changing the blob image visible rect in WebRender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D39911

--HG--
extra : moz-landing-system : lando
2019-09-12 15:54:50 +00:00
Emilio Cobos Álvarez 8e44d6c57b Bug 1577258 - Streamline the shrink-wrapping resize reflow code. r=botond
Now that this code path is on its own, we can write more straight-forward code.



Depends on D43799

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

--HG--
extra : moz-landing-system : lando
2019-09-12 21:27:06 +00:00
Ciure Andrei 86c41a5975 Backed out 5 changesets (bug 1579862) for causing build bustages CLOSED TREE
Backed out changeset ebb8ad9cd82e (bug 1579862)
Backed out changeset bbddaf060c98 (bug 1579862)
Backed out changeset e288a597f967 (bug 1579862)
Backed out changeset 6ce3c1949f8b (bug 1579862)
Backed out changeset 04c6be2f7cfa (bug 1579862)
2019-09-13 09:06:19 +03:00
David Teller 40f368c95e Bug 1579862 - Tweaking HuffmanTableImplementationSaturated;r=arai
A few changes to HuffmanTableImplementationSaturated:

- we can now create instances of HuffmanTableImplementationSaturated with max bit lengths up to 10;
- we reject cases in which we have more than 256 elements;
- internal indices in HuffmanTableImplementationSaturated are now represented with uint8_t instead of usize_t,
  which divides the size of this array by 4 and should improve memory locality.

According to my benchmarking, this decreases duration by ~7%.

Depends on D45644

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

--HG--
extra : moz-landing-system : lando
2019-09-13 05:35:04 +00:00
David Teller b3f28d9337 Bug 1579862 - Introducing HuffmanTableImplementationSaturated;r=arai
We introduce a new implementation of Huffman Tables that trades
space for a fast lookup. For the time being, this implementation
is reserved for tables with a max bitlength of 8 or less.

Depends on D45643

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

--HG--
extra : moz-landing-system : lando
2019-09-13 05:39:10 +00:00
David Teller 0284d41154 Bug 1579862 - Introducing HuffmanTableImplementationGeneric;r=arai
As we intend to have several implementations of Huffman Table depending
on the size of data, we start by introducing a small abstraction
`HuffmanTableImplementationGeneric` holding a `Variant<...>` with
possible implementations of Huffman Tables.

In this patch, there is only a single implementation `HuffmanTableImplementationMap`.
A followup patch will introduce an alternate fast but space-costly optimized for
small tables.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 05:43:18 +00:00
David Teller 01eb0a17db Bug 1579862 - New implementation HuffmanTableMap;r=arai
Depends on D45315

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

--HG--
extra : moz-landing-system : lando
2019-09-13 05:43:18 +00:00
David Teller 522796d3c3 Bug 1579862 - Get rid of HuffmanTableXXX::impl;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D45315

--HG--
extra : moz-landing-system : lando
2019-09-13 05:38:40 +00:00
Andreea Pavel 8d63d04d42 Bug 1578337 - disable test browser_storage_permission on all platforms r=egao
Differential Revision: https://phabricator.services.mozilla.com/D45477

--HG--
extra : moz-landing-system : lando
2019-09-11 05:50:28 +00:00
James Teh 0d216e928b Bug 1488828: For collapsed select controls in the content process, set the number of rows to the maximum instead of 1. r=dholbert
The number of rows for the select dropdown can't be calculated in the content process because the dropdown has to be rendered in the parent process.
Therefore, we previously set the number of rows to 1 in this case.
That meant that the page up and page down keys only moved one item at a time for a collapsed select control, making them effectively useless.
Instead, set the number of rows to the maximum in this case.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 03:59:51 +00:00
Jared Wein ba97145da5 Bug 1579246 - Use border instead of box-shadow to draw the line at the bottom of the login-list so that it won't disappear during hover. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D45276

--HG--
extra : moz-landing-system : lando
2019-09-13 04:05:18 +00:00
Agi Sferro 0d2253119a Bug 1561964 - Re-enable all tests in dom/security/test on Android. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D37488

--HG--
extra : moz-landing-system : lando
2019-09-13 03:31:57 +00:00
Masayuki Nakano 053579099d Bug 1574852 - part 106-1: Move `TextEditRules::WillDeleteSelection()` and `TextEditRules::DeleteSelectionWithTransaction()` to `TextEditor` and make `HTMLEditor::HandleDeleteSelection()` override the former r=m_kato
`TextEditor::DeleteSelectionAsSubAction()` starts to handle all
"delete selection" sub-actions (i.e., even if the instance is `HTMLEditor`).
Therefore, `TextEditRules::WillDeleteSelection()` should be renamed to
`TextEditor::HandleDeleteSelection()` and we need to make it virtual.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 02:49:43 +00:00
Masayuki Nakano 72fa9d1512 Bug 1574852 - part 105: Get rid of `TextEditRules::WillSetProperty()` and `TextEditRules::WillRemoveProperty()` r=m_kato
Oddly, they are used only by `HTMLEditor`, but implemented by `TextEditRules`.
They cancels when the editor is in plaintext mode.  So, actual things are
implemented by each caller.  This patch cleans them up too.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 09:13:00 +00:00
Masayuki Nakano f521a40385 Bug 1574852 - part 104: Move `TextEditRules::WillInsertText()` to `TextEditor` and make `HTMLEditor::WillInsertText()` override it r=m_kato
And also this patch moves `TextEditRules::HandleNewLines()` and
`TextEditRules::DontEchoPassword()` to `TextEditor`.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 02:40:09 +00:00
Jason Laster 1a291f1700 Bug 1110276 - Log on Events. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D45619

--HG--
extra : moz-landing-system : lando
2019-09-13 02:37:08 +00:00
Coroiu Cristina 0a7189187c Backed out changeset 74f522fc33ae (bug 1405031) for browser-chrome failures at browser/components/extensions/test/browser/browser_ext_browserAction_click_types.js 2019-09-13 03:59:58 +03:00
Coroiu Cristina 8d4d7a884d Backed out changeset 5a021b9f8790 (bug 1578973) for browser-chrome failures at browser/base/content/test/forms/browser_selectpopup.js 2019-09-13 03:55:26 +03:00
Boris Zbarsky e29b81501a Bug 1580082. Align Response constructor IDL with spec. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D45411

--HG--
extra : moz-landing-system : lando
2019-09-11 11:06:58 +00:00
Emilio Cobos Álvarez f94e56699a Bug 1577258 - Add a simpler resize reflow function for when we're not shrink-wrapping. r=bzbarsky
This is much easier than the existing ResizeReflowIgnoreOverride function, and
this will allow me to avoid flushing if needed (we already kinda do that
already with the "suppressResizeReflow" thing), which in turn allows me to
consolidate a bunch of the logic for resizes.

The function should be much easier to follow:

 * Set the new viewport (async, doesn't do any work).
 * Invalidate layout as needed due to the viewport change (that is, resize hint
   for the root frame, and invalidate isizes if needed). Also async and doesn't
   do any reflowing itself.
 * Flush layout / do the reflowing all at once. I think we can stop doing this
   much more often now, but that's follow-up work.



Depends on D43798

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

--HG--
extra : moz-landing-system : lando
2019-09-13 00:21:04 +00:00
Chris AtLee c7e39a09e2 Bug 1540276: Switch to autograph for windows signing r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D43829

--HG--
extra : moz-landing-system : lando
2019-08-29 01:18:27 +00:00
Dorel Luca c7aad775a7 Backed out 2 changesets (bug 1565728) for License failure. CLOSED TREE
Backed out changeset 6c30dad5259b (bug 1565728)
Backed out changeset 4369b7203266 (bug 1565728)
2019-09-13 03:16:23 +03:00
gfmcknight db38004fa2 Bug 1405031 - Add middle-click and click modifiers to browserAction r=robwu
and pageActions.

Before this change, browserActions and pageActions did not trigger
onClick events when middle-clicked, and no information on the button or
any modifiers were passed in the onClick event. With this change, middle
clicking triggers an event, and a clickData object is passed in the
onClick event, with the button and a list of modifiers.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 20:41:24 +00:00
alwu 5b20dd1672 Bug 1579588 - part2 : create media controller for media element only. r=chunmin
We use `NotifyMediaStarted()` and `NotifyMediaStopped()` to notify `MediaControlService` on parent process to start/stop a media controller, and use `NotifyMediaAudibleChanged()` to notify controller's audible state in order to request audio focus.

As our goal is to use media controller to control media element, not for web audio, web speech and other stuffs which also use audio channel agent.

Therefore, we should notify parent process to start/stop controller only for media element, instead of sending a notification in AudioChannelService because that would create media controller for all different consumers which uses audio channel agent.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 23:13:04 +00:00
alwu a54c7c082a Bug 1579588 - part1 : split NotifyAudioChannelAgent() to StartAudioChannelAgent() and StopAudioChanelAgent(). r=chunmin
Spliting NotifyAudioChannelAgent() to StartAudioChannelAgent() and StopAudioChanelAgent() allows us to start and stop an AudioChannelAgent in a clear naming function, and to do related operation and checking every time we start/stop the agent.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 23:13:04 +00:00
Gijs Kruitbosch b4ce4fda42 Bug 1580282 - Remove checks for plugins that are part of extensions and support for loading plugins from the app and profile dir, r=mconley,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D45450

--HG--
extra : moz-landing-system : lando
2019-09-12 23:15:49 +00:00
Eitan Isaacson a058d4e8bc Bug 1565728 - Introduce PDocAccessiblePlatformExt for Android. r=Jamie
Ultimately Batch from PDocAccessible would be moved to here as well.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 23:02:01 +00:00
Eitan Isaacson 35496390cd Bug 1565728 - Introduce PDocAccessiblePlatformExt. r=Jamie
This is an extension protocol that can be used for platform specific
API (ie. AccessibleWrap methods).

I'm not thrilled with the seperate constructor for the sub-protocol.
This means that the parent won't have the actor upon DocAccessibleParent
construction, and some timing bugs can arise because of the extra round
trip. It would be cool if both actors could be co-created, but that
would require ManagedEndpoint, and for PBrowser to manage them both. I
don't want to expose this to PBrowser.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 23:01:59 +00:00
Jason Laster 19d13244b1 Bug 1580529 - Force LTR the Outline panel contents in the Debugger (fix test) r=jlast. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D45760

--HG--
extra : rebase_source : 613e7725e5cbfa069dd86f7afb6788983329b094
extra : histedit_source : 758f1b90b07666f3f1c49a774f6b208e46752222
2019-09-13 02:11:50 +03:00
Gijs Kruitbosch 7e42abb897 Bug 1571236 - add logging to overflow toolbar code, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D45655

--HG--
extra : moz-landing-system : lando
2019-09-12 17:44:53 +00:00
Edouard Oger f4b32d8096 Bug 1579445 - Refresh the FxA device list on Send Tab menu open. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D45189

--HG--
extra : moz-landing-system : lando
2019-09-12 22:42:31 +00:00
Hiroyuki Ikezoe 64f7ca1737 Bug 1578973 - Don't do autofocus process if the target node of 'autofocus' is in a cross-origin document. r=nika
Note that I've confirmed no-cross-origin-autofocus.html works fine with
enabling fission on w3c-test.org.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 22:14:37 +00:00
Itiel 3f7c740857 Bug 1580529 - Force LTR the Outline panel contents in the Debugger r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D45554

--HG--
extra : moz-landing-system : lando
2019-09-12 21:54:49 +00:00
Noemi Erli 6de3a3c62a Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-09-13 01:34:55 +03:00
Noemi Erli b3c9dabce5 Merge inbound to mozilla-central. a=merge 2019-09-13 00:53:27 +03:00
Mark Striemer b1093cbed5 Bug 1575208 - Fix partially hidden buttons in extension notification panels r=dao
Differential Revision: https://phabricator.services.mozilla.com/D45684

--HG--
extra : moz-landing-system : lando
2019-09-12 19:16:47 +00:00
David Walsh 7eb854230e Bug 1580890 - Restructure inline-preview action for better performance r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D45702

--HG--
extra : moz-landing-system : lando
2019-09-12 21:51:45 +00:00
Bastien Orivel e20d4dc52f Bug 1580908 - Part 11: Fix test_size_of_rule_node. r=emilio
Apparently I made SourcePropertyDeclaration 8 bytes shorter by updating
arrayvec. (see
b56c3b78d0
and
29012231a8
for details)

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

--HG--
extra : moz-landing-system : lando
2019-09-12 22:22:50 +00:00
Bastien Orivel faf6cad78c Bug 1580908 - Part 10: Revendor dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D45719

--HG--
rename : third_party/rust/regex-0.2.2/src/freqs.rs => third_party/rust/aho-corasick/src/byte_frequencies.rs
rename : third_party/rust/crc/Cargo.toml => third_party/rust/blake2b_simd/Cargo.toml
rename : third_party/rust/miniz_oxide_c_api/LICENSE => third_party/rust/miniz_oxide/LICENSE
rename : third_party/rust/redox_users/tests/group => third_party/rust/redox_users/tests/etc/group
rename : third_party/rust/redox_users/tests/passwd => third_party/rust/redox_users/tests/etc/passwd
rename : third_party/rust/redox_users/tests/shadow => third_party/rust/redox_users/tests/etc/shadow
rename : third_party/rust/utf8-ranges/src/lib.rs => third_party/rust/regex-syntax/src/utf8.rs
rename : third_party/rust/crossbeam-channel/LICENSE-APACHE => third_party/rust/rust-argon2/LICENSE-APACHE
rename : third_party/rust/memchr-1.0.2/COPYING => third_party/rust/winapi-util/COPYING
rename : third_party/rust/ucd-util/Cargo.toml => third_party/rust/winapi-util/Cargo.toml
rename : third_party/rust/memchr-1.0.2/LICENSE-MIT => third_party/rust/winapi-util/LICENSE-MIT
rename : third_party/rust/memchr-1.0.2/UNLICENSE => third_party/rust/winapi-util/UNLICENSE
extra : moz-landing-system : lando
2019-09-12 21:46:32 +00:00
Bastien Orivel 8a537c068b Bug 1580908 - Part 9: Deduplicate a few dependencies. r=froydnj
Generated with:
- cargo update -p Inflector -p phf_generator -p phf -p phf_shared -p phf_codegen -p dirs -p rayon -p tokio-threadpool -p crossbeam-deque -p redox_users -p flate2 -p arrayref
- cargo update -p tempfile --precise 3.0.5

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

--HG--
extra : moz-landing-system : lando
2019-09-12 21:46:28 +00:00
Bastien Orivel 59f8fe9fee Bug 1580908 - Part 8: Update rsdparsa. r=ng
I just copied all the files from the upstream repository into the
rsdparsa directory

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

--HG--
extra : moz-landing-system : lando
2019-09-12 21:46:25 +00:00