Commit Graph

673031 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
fa6f012317 Bug 1582042 - Remove useless threading of aForceRepaint around various IPC messages. r=mconley
aForceRepaint wasn't doing what it claimed to do at all, as we've recently
learned. In current mozilla-central:

 * All those arguments ended up in a RecvRenderLayers with aForceRepaint = true
   (so far so good, that's expected).

 * But it was ignored (so that aForceRepaint is always true to calls to
   MakeVisible) from UpdateVisibility:

https://searchfox.org/mozilla-central/rev/f43ae7e1c43a4a940b658381157a6ea6c5a185c1/dom/ipc/BrowserChild.cpp#2523

 * Plus that argument only does anything useful on current central if we get to
   the end of MakeVisible(true). And MakeVisible() early returns if already
   visible.

So all in all this seems somewhat useless, and nobody has complained about such
a thing in a long time.

It seemed to do what it promised when it was introduced in
https://hg.mozilla.org/mozilla-central/rev/27f6f789b194, but it seems the
refactoring in https://hg.mozilla.org/mozilla-central/rev/4df5fa6fa785 broke it.

I think the new setup is somewhat easier to reason about, and nobody seems to be
missing that.

I'll try to remove the forceRepaint() call itself on a follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 22:11:17 +00:00
Matthew Noorenberghe
c35b2337ec Bug 1584261 - Prolong the life of some migration telemetry histograms and update their metadata. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D47318

--HG--
extra : moz-landing-system : lando
2019-09-27 13:17:56 +00:00
Emilio Cobos Álvarez
35f576f36b Bug 1582042 - Use DocShell::SetIsActive from BrowserChild::MakeVisible for non top-level browsers. r=mconley,rhunt
That is, for fission iframes. For top level stuff we rely on the tab switcher
going through SetDocShellIsActive and such.

See the expanded comment as for why. Ideally we could simplify this further by
not making RecvRenderLayers update the visibility (which spins the refresh
driver and such).

It's a bit suspect because it's very easy to get to an inconsistent state if the
browser chrome does something wrong.

I'll try to do that, but for now this should improve the fission situation
anyway.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 13:11:51 +00:00
Bogdan Tara
4353735c92 Backed out 6 changesets (bug 1581875) for BinASTTokenReaderContext related bustages CLOSED TREE
Backed out changeset 4ac1966b6e0e (bug 1581875)
Backed out changeset 77a72f7a320d (bug 1581875)
Backed out changeset 9ed9365ba660 (bug 1581875)
Backed out changeset 7cbd645963e4 (bug 1581875)
Backed out changeset 2049e45b03cd (bug 1581875)
Backed out changeset 237301abba8d (bug 1581875)
2019-09-27 16:09:38 +03:00
Emilio Cobos Álvarez
209f6e4942 Bug 1583439 - followup: Update lmdb-rkv-sys to avoid pulling a bunch of slow-to-compile crates. r=vporof
Patch created with:

$ cargo update -p lmdb-rkv-sys
Updating crates.io index
Updating lmdb-rkv-sys v0.9.3 -> v0.9.5
Removing which v3.0.0

$ cargo update -p bindgen --precise 0.51.1-oldsyn
Updating crates.io index
Updating bindgen v0.51.1 -> v0.51.1-oldsyn
Removing proc-macro2 v1.0.4
Removing quote v1.0.2
Removing unicode-xid v0.2.0

$ ./mach vendor rust

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

--HG--
rename : third_party/rust/quote-0.6.11/tests/conditional/integer128.rs => third_party/rust/quote/tests/conditional/integer128.rs
rename : third_party/rust/unicode-xid-0.1.0/scripts/unicode.py => third_party/rust/unicode-xid/scripts/unicode.py
extra : moz-landing-system : lando
2019-09-27 12:31:23 +00:00
Nupur Baghel
9ec9633d99 bug 1569100: marionette: add ElementSendKeys command; r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41600

--HG--
extra : moz-landing-system : lando
2019-09-27 12:42:18 +00:00
Nupur Baghel
814fcaa768 bug 1569100: marionette: add TakeElementScreenshot, TakeScreenshot, and TakeFullScreenshot commands; r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41530

--HG--
extra : moz-landing-system : lando
2019-09-27 12:42:17 +00:00
Nupur Baghel
f646aa8269 bug 1569100: marionette: add SwitchToWindow command; r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41518

--HG--
extra : moz-landing-system : lando
2019-09-27 12:42:14 +00:00
Nupur Baghel
7f04d16390 bug 1569100: marionette: add SwitchToFrame command; r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41514

--HG--
extra : moz-landing-system : lando
2019-09-27 12:42:13 +00:00
Nupur Baghel
2e297adf68 bug 1569100: marionette: add Refresh, ReleaseActions, and SwitchToParentFrame commands; r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41505

--HG--
extra : moz-landing-system : lando
2019-09-27 12:42:10 +00:00
Nupur Baghel
3182a75077 bug 1569100: marionette: add GetCSSValue command; r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41500

--HG--
extra : moz-landing-system : lando
2019-09-27 12:42:03 +00:00
Nupur Baghel
a8c7604fcf bug 1569100: marionette: add Get, GetCurrentUrl, GetPageSource, and GetTitle commands; r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41499

--HG--
extra : moz-landing-system : lando
2019-09-27 12:42:01 +00:00
David Teller
20d1e28c50 Bug 1581875 - Improving documentation of XXXHuffmanTable::lookup;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46952

--HG--
extra : moz-landing-system : lando
2019-09-27 12:17:37 +00:00
David Teller
4d31594c6e Bug 1581875 - Getting rid of MapBasedHuffmanTable;r=arai
Depends on D46806

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

--HG--
extra : moz-landing-system : lando
2019-09-27 11:08:44 +00:00
David Teller
6a0c9f2ede Bug 1581875 - Introducing MultiLookupHuffmanTable;r=arai
The MultiLookupHuffmanTable is designed to allow fast lookup in tables that
have a max bit length too large for the SingleLookupHuffmanTable.

We will probably need to tune the bit lengths at which we switch from SingleLookup to TwoLookups or ThreeLookups in followup patches.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 11:08:37 +00:00
David Teller
b14d0767e5 Bug 1581875 - HuffmanLookup::suffixes;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46915

--HG--
extra : moz-landing-system : lando
2019-09-27 11:08:35 +00:00
David Teller
0c5855b4e3 Bug 1581875 - Renaming HuffmanTableImplementationXXXX;r=arai
Depends on D46454

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

--HG--
extra : moz-landing-system : lando
2019-09-27 11:08:39 +00:00
David Teller
57edd22b24 Bug 1581875 - Introducing HuffmanTableImplementationXXXX::initComplete;r=arai
This will simplify our life once we start working on multi-lookup tables.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 11:08:41 +00:00
Andi-Bogdan Postelnicu
b5b6fc3017 Bug 1584175 - Add lib/libclang-cpp.* to the clang-tidy artifact. r=froydnj,dmajor
Since we've upgraded to clang 9, clang-format changed and now uses dynamic libraries
for the clang tooling lib that it leverages.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 12:19:13 +00:00
Francesco Lodolo (:flod)
b54e3ba68d Bug 1583177 - Add ca-valencia, trs to languageNames.ftl and language.properties r=m_kato,fluent-reviewers,Pike
Differential Revision: https://phabricator.services.mozilla.com/D46772

--HG--
extra : moz-landing-system : lando
2019-09-27 12:10:19 +00:00
Nicolas Chevobbe
0dc6765801 Bug 1582866 - Make the inspector extension sidebar overflow. r=rpl.
Differential Revision: https://phabricator.services.mozilla.com/D47273

--HG--
extra : moz-landing-system : lando
2019-09-27 10:25:31 +00:00
Nicolas Chevobbe
d65db3d1af Bug 1582865 - Add test case in inspector extension sidebar test. r=rpl.
In the existing test, we also check expanding a node, as well as navigating
with the keyboard.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 12:07:00 +00:00
Nicolas Chevobbe
1b332b68a5 Bug 1582865 - Remove actors from ObjectInspector state once they're released. r=rpl.
The actors weren't ever removed from the state,
which could lead to increased memory consumption
as well as attempt to release the actors a
second time in some cases.
We fix this by dispatching a new actions once
the actors are released, so we can remove them
from the state.

Depends on D47271

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

--HG--
extra : moz-landing-system : lando
2019-09-27 12:06:20 +00:00
Nicolas Chevobbe
97ff4e89aa Bug 1582865 - Don't use document/window in tree component. r=yzen.
When using the ObjectInspector in an inspector extension sidebar,
document is not an HTMLDocument but a Sandbox, which means we
don't have access to the same properties than in a document.
Since the Tree and the ObjectInspector components do use `document`
and `window`, this means some interaction would lead to the sidebar
crashing.
To prevent this, we retrieve the document and/or the window from
a node reference instead.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 12:06:20 +00:00
Valentin Gosu
836f56e2ad Bug 1584481 - Throw from NodeServer.execute if it cant't find MOZNODE_EXEC_PORT r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D47404

--HG--
extra : moz-landing-system : lando
2019-09-27 11:01:50 +00:00
Nihanth Subramanya
fbae672ca0 Bug 1579209 - [Protections Panel] Use new STATE_COOKIES_LOADED_TRACKER for cookies category item visibility logic. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47323

--HG--
extra : moz-landing-system : lando
2019-09-27 10:41:48 +00:00
Emilio Cobos Álvarez
e0740e7784 Bug 1578933 - Run scroll anchoring adjustments when blocking script. r=dholbert
I wanted to fix the more general problem and script-block more of
FlushPendingNotifications, but simple attempts to do that have resulted in
terribly orange try runs with very bizarre failures, so in the "perfect is the
enemy of good" spirit, fix the issue at hand (scroll anchoring adjustments not
dealing with layout reentering beneath them) by running them while
script-blocked, which is the right thing to do anyway.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 17:07:03 +00:00
Bogdan Tara
cfe1667ccf Backed out 6 changesets (bug 1581875) for BinASTTokenReaderContext related bustages CLOSED TREE
Backed out changeset bd60492f2fda (bug 1581875)
Backed out changeset 5366b7b4e732 (bug 1581875)
Backed out changeset 30b42cf04126 (bug 1581875)
Backed out changeset 5e88d20aca6b (bug 1581875)
Backed out changeset 909e39893a95 (bug 1581875)
Backed out changeset 39fc26e32da9 (bug 1581875)
2019-09-27 14:04:43 +03:00
Harry Twyford
5dabbf7c94 Bug 1584273 - Disable the megabar animation when prefers-reduced-motion is true. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D47348

--HG--
extra : moz-landing-system : lando
2019-09-27 10:58:46 +00:00
Harry Twyford
b823671288 Bug 1583993 - Check the focused attribute in startLayoutExtend and endLayoutExtend. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D47262

--HG--
extra : moz-landing-system : lando
2019-09-27 11:00:06 +00:00
dleblanccyr
39ad146eb2 Bug 1573143 - Adds test for linking issuer name to certificate tab. r=johannh
Depends on D41610

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

--HG--
extra : moz-landing-system : lando
2019-09-27 10:47:45 +00:00
dleblanccyr
5ec053f277 Bug 1573143 - Links certificate issuer to its respective tab. r=johannh
Depends on D41979

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

--HG--
extra : moz-landing-system : lando
2019-09-27 10:47:26 +00:00
David Teller
c30e6dfbac Bug 1581875 - Improving documentation of XXXHuffmanTable::lookup;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46952

--HG--
extra : moz-landing-system : lando
2019-09-27 10:48:00 +00:00
David Teller
176faa96c6 Bug 1581875 - Getting rid of MapBasedHuffmanTable;r=arai
Depends on D46806

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

--HG--
extra : moz-landing-system : lando
2019-09-27 10:48:00 +00:00
David Teller
e3a5cb5d79 Bug 1581875 - Introducing MultiLookupHuffmanTable;r=arai
The MultiLookupHuffmanTable is designed to allow fast lookup in tables that
have a max bit length too large for the SingleLookupHuffmanTable.

We will probably need to tune the bit lengths at which we switch from SingleLookup to TwoLookups or ThreeLookups in followup patches.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 10:48:29 +00:00
David Teller
0f309eb886 Bug 1581875 - HuffmanLookup::suffixes;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46915

--HG--
extra : moz-landing-system : lando
2019-09-27 10:48:53 +00:00
David Teller
892a15c732 Bug 1581875 - Renaming HuffmanTableImplementationXXXX;r=arai
Depends on D46454

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

--HG--
extra : moz-landing-system : lando
2019-09-27 10:48:53 +00:00
David Teller
2b8eec53e1 Bug 1581875 - Introducing HuffmanTableImplementationXXXX::initComplete;r=arai
This will simplify our life once we start working on multi-lookup tables.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 09:24:30 +00:00
André Bargull
ee6797f7ee Bug 1583268: Update tzdata in ICU data files to 2019c. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D46923

--HG--
extra : moz-landing-system : lando
2019-09-25 23:33:11 +00:00
Tetsuharu OHZEKI
71f0f2b11c Bug 1488551 - followup: remove unused constructor TypedOperandId(NumberOperandId id). r=jandem
I added this constructor to sort with other types.
However, it was mistake. We don't use it.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 09:48:01 +00:00
Julian Descottes
6703ecb952 Bug 1583749 - Stop exposing deprecated connect() api on the webextension descriptor front r=yulia,rpl
Depends on D47053

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

--HG--
extra : moz-landing-system : lando
2019-09-27 09:53:55 +00:00
Julian Descottes
367847b999 Bug 1583749 - Add isDescriptor trait to webextension descriptor actor r=yulia
Depends on D47051.

Without the trait, we keep calling the connect() wrapper on the actor, which is supposed to be deprecated

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

--HG--
extra : moz-landing-system : lando
2019-09-27 09:52:44 +00:00
Julian Descottes
0af833bc23 Bug 1583749 - Remove unnecessary trait webExtensionAddonConnect r=ochameau
Depends on D47050. Trait was added in 2017, all servers should now have support this by default

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

--HG--
extra : moz-landing-system : lando
2019-09-25 14:54:16 +00:00
Bogdan Tara
64df1ac8fb Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-09-27 12:50:10 +03:00
Bogdan Tara
23f836a71c Merge inbound to mozilla-central. a=merge 2019-09-27 12:47:39 +03:00
shindli
964bceeb91 Backed out 2 changesets (bug 1582530) for causing reftest permafailures in /builds/worker/workspace/build/src/layout/generic/ReflowInput.cpp:2188 CLOSED TREE
Backed out changeset c0fcdc789da3 (bug 1582530)
Backed out changeset 7eb69d3d03a5 (bug 1582530)
2019-09-27 05:15:08 +03:00
Tim Nguyen
4750005faf Bug 1582530 - Fix remaining cases that were relying on blockification. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D46676

--HG--
extra : moz-landing-system : lando
2019-09-27 01:19:11 +00:00
Tim Nguyen
999f75180f Bug 1582530 - Turn on 'layout.css.xul-box-display-values.survive-blockification.enabled' by default. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D46675

--HG--
extra : moz-landing-system : lando
2019-09-27 01:18:58 +00:00
Coroiu Cristina
735d79f681 Backed out 4 changesets (bug 1579285, bug 1579270) for browser-chrome failures at browser/base/content/test/siteIdentity/browser_deprecatedTLSVersions.js on a CLOSED TREE
Backed out changeset 36d7cc55bd16 (bug 1579285)
Backed out changeset 26e3ed3c1592 (bug 1579285)
Backed out changeset 913652258fe6 (bug 1579285)
Backed out changeset 0781e60dd54c (bug 1579270)
2019-09-27 04:19:59 +03:00
Brindusan Cristian
a0b352e6c9 Backed out changeset 666a99f27c23 (bug 1582881) for high-frequency mochitest failures at test_ext_contentscript_about_blank.html. CLOSED TREE
--HG--
extra : histedit_source : fc3f3d671547209ffe242940e2c5ef1777a2c33e
2019-09-27 04:06:15 +03:00