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

678311 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez df7e6010eb Bug 1593690 - Start visited queries from an idle timer. r=mak,lina
Getting visited colors is relatively low priority during page load. GeckoView
was using a 250ms timer, which was somewhat arbitrary.

If this turns out not to be acceptable for desktop, we can change it to a higher
priority timer.

This enables batching queries from the content process. The lesser priority of
the queries, plus the batching that this enables on the content process I hope
will make a dent on the performance regression that bug 1506842 introduces
as-is.

We should probably introduce batching in the other direction too, both of those
are potential follow-up work.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 12:10:59 +00:00
Lars T Hansen 9c7693aeea Bug 1592926 - Encode function index in block type as sleb. r=wingo
Function indices must be encoded as sleb33 to disambiguate from
valtypes, which are slebs.  A test (to land separately) demonstrates a
case where the uleb encoding results in an error.

Drive-by fix: change nomenclature in wasmTextToBinary to match
nomenclature used elsewhere.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 11:23:33 +00:00
Andreas Farre 1cf2611bf8 Bug 1582716 - Remove nsDocShell::GetIsOnlyToplevelInTabGroup. r=nika
We can remove isOnlyToplevelInTabGroup entirely since we have
BrowsingContext/BrowsingContextGroup exposed through
chrome-webidl. Checking if a browsing context is the only top level
(auxilliary or otherwise) is only a matter of checking that there
isn't a parent, and that the size of the browsing context group is 1.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 10:54:49 +00:00
Marco Bonardo 88743e900e Bug 1593621 - Fix browser_keywordSearch.js and browser_keywordSearch_postData.js to work with fission. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D51603

--HG--
extra : moz-landing-system : lando
2019-11-06 10:13:33 +00:00
Emilio Cobos Álvarez ff3e25047b Bug 1593009 - Make zoom: 0 mean the same as zoom: 1. r=heycam
This matches the WebKit implementation, and is clearly a violation of the rules
we generally use for ranges in CSS.

But it seems to be depended-on legacy behavior, see the linked WebKit bug, this
bug, and bug 1593317.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 05:54:17 +00:00
Nicolas Chevobbe de4b3a88c4 Bug 1593622 - Test console autocompletion after ?? (nullish coalescing operator). r=Honza.
The nullish coalescing operator was added last week in Spidermonkey.
It looks like there isn't anything to do to support it on the console
side, so we only add a test for the autocompletion after it, to make
sure we don't regress this in the future.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 09:49:27 +00:00
DimiDL 4a0693bf58 Bug 1589042 - Extend APPLICATION_REPUTATION_SERVER_VERDICT_2 telemetry. r=chutten
In this patch I extend APPLICATION_REPUTATION_SERVER_VERDICT_2 expiry to
never. This telemetry collects response verdict type from application
reputation server provided by google. We should keep monitoring this
data so we know if something goes wrong.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 09:42:17 +00:00
Mirko Brodesser 7226ac316d Bug 1593222: part 13) Include "ReferrerInfo.h" in "nsAttrValue.cpp". r=smaug
Was necessary to get some build working.

Depends on D51828

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

--HG--
extra : moz-landing-system : lando
2019-11-05 20:22:40 +00:00
Mirko Brodesser b2de103bf9 Bug 1593222: part 12) Rename "nsNodeUtils.*" to "MutationObservers.*". r=smaug
Depends on D51827

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

--HG--
rename : dom/base/nsNodeUtils.cpp => dom/base/MutationObservers.cpp
rename : dom/base/nsNodeUtils.h => dom/base/MutationObservers.h
extra : moz-landing-system : lando
2019-11-06 09:08:06 +00:00
Mirko Brodesser f34a2126c1 Bug 1593222: part 11) Remove superfluous includes in nsNodeUtils.h. r=smaug
Depends on D51826

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

--HG--
extra : moz-landing-system : lando
2019-11-05 20:23:48 +00:00
Mirko Brodesser 4807f484fc Bug 1593222: part 10) Move `Animation*` methods to `MutationObservers`. r=smaug
Depends on D51825

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

--HG--
extra : moz-landing-system : lando
2019-11-05 20:39:22 +00:00
Mirko Brodesser ba0285f534 Bug 1593222: part 9) Move non-animation notification methods from `nsNodeUtils` to `MutationObservers`. r=smaug
The remaining notification methods are moved in a separate commit. The
files are renamed to `MutationObservers.*` in a follow-up commit.

Depends on D51824

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

--HG--
extra : moz-landing-system : lando
2019-11-05 21:32:53 +00:00
Mirko Brodesser 80f7994283 Bug 1593222: part 8) Move `nsNodeUtils::CloneAndAdopt` to `nsINode`. r=smaug
Depends on D51823

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

--HG--
extra : moz-landing-system : lando
2019-11-05 21:13:45 +00:00
Mirko Brodesser 941b8066a4 Bug 1593222: part 7) Move `nsNodeUtils::Adopt` to `nsINode`. r=smaug
Depends on D51821

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

--HG--
extra : moz-landing-system : lando
2019-11-05 20:53:00 +00:00
Mirko Brodesser a1dadb0aaf Bug 1593222: part 6) Move `nsINodeUtils::Clone` to `nsINode::Clone`. r=smaug
Makes `nsNodeUtils::CloneAndAdopt` temporarily public. Will be hidden
again in a follow-up commit.

Depends on D51820

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

--HG--
extra : moz-landing-system : lando
2019-11-05 20:43:53 +00:00
Mirko Brodesser 15a6b11b02 Bug 1593222: part 5) Merge `nsNodeUtils::CloneNodeImpl` into its only caller. r=smaug
Depends on D51609

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

--HG--
extra : moz-landing-system : lando
2019-11-05 20:25:58 +00:00
Mirko Brodesser 673a4a18d6 Bug 1593222: part 4) Move `nsNodeUtils::LastRelease` to `nsINode`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D51609

--HG--
extra : moz-landing-system : lando
2019-11-05 14:06:13 +00:00
Mirko Brodesser 47bb9d8c1a Bug 1593222: part 3) Move `nsNodeUtils::GetFirstChildOfTemplateOrNode` to `nsINode`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D51608

--HG--
extra : moz-landing-system : lando
2019-11-05 14:06:05 +00:00
Mirko Brodesser f7921bb4e3 Bug 1593222: part 2) Move `nsNodeUtils::GetTargetForAnimation` to `Animation` class. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D51607

--HG--
extra : moz-landing-system : lando
2019-11-05 14:23:13 +00:00
Mirko Brodesser b845b4e662 Bug 1593222: part 1) Move `nsNodeUtils::IsTemplateElement` to `nsINode`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D51606

--HG--
extra : moz-landing-system : lando
2019-11-05 14:05:36 +00:00
harry 0bf81afb2c Bug 1593726 - Extend expiry of Touch Bar telemetry to version 77. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D51637

--HG--
extra : moz-landing-system : lando
2019-11-05 10:17:44 +00:00
Nicolas Silva 598b3a60a9 Bug 1594091 - Rename the instance user_data field into specific_resource_address. r=gw
This user_data field is currently only used as an address for some shader-specific resource in the gpu cache. We can always rename it back to something generic if we ever need to use the bits differently in other shaders in the future.

Depends on D51884

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

--HG--
extra : moz-landing-system : lando
2019-11-05 19:06:48 +00:00
Nicolas Silva 9393a43660 Bug 1594091 - Unify text and brush instance attribute decoding. r=gw
Depends on D51883

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

--HG--
extra : moz-landing-system : lando
2019-11-05 19:06:20 +00:00
Nicolas Silva eff2972112 Bug 1594091 - Move clip_task_address to the second half of the glyph instance y field. r=gw
Depends on D51882

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

--HG--
extra : moz-landing-system : lando
2019-11-05 19:05:42 +00:00
Nicolas Silva 04523447d2 Bug 1594091 - Move glyph_index to the second half of the glyph instance z field. r=gw
Depends on D51880

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

--HG--
extra : moz-landing-system : lando
2019-11-05 19:05:25 +00:00
Nicolas Silva d647d338f9 Bug 1594091 - Move color_mode and subpx_dir to the first half of the glyph instance z field. r=gw
Depends on D51879

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

--HG--
extra : moz-landing-system : lando
2019-11-05 19:05:00 +00:00
Nicolas Silva 58b5d88173 Bug 1594091 - Move user_data to the glyph instance w field. r=gw
First patch in of series that will rearrange the layout of the glyph instance attributes so that it matches brush instances.
This will be needed to add a unified shader that can render the most common alpha pass primitives, including text.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 19:04:54 +00:00
Mihai Alexandru Michis 831cece345 Backed out changeset 4db47986ccce (bug 1592754) for causing TV failures. CLOSED TREE 2019-11-06 10:47:08 +02:00
Mihai Alexandru Michis 160df2784b Bug 1592926 - Fix bustages in WasmTextToBinary.cpp and WasmAST.h a=bustage-fix CLOSED TREE
--HG--
extra : amend_source : 84291ea70676db396670380e52d82e93e33b047b
2019-11-06 10:38:38 +02:00
Jan de Mooij 7d66caee9d Bug 1590641 - Test external string sizes in byteSize-of-string.js. r=jwalden
Bug 1590776 fixed memory reporting for external strings allocated by the
newExternalString testing function so we can now add some tests.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 17:36:08 +00:00
Lars T Hansen cb5d7b47e5 Bug 1592926 - Remove AstExprType, introduce AstBlockType. r=wingo
We don't need AstExprType, we just need a more interesting
AstBlockType that we attach to AstBlock and AstIf.  Then the block
type can be parsed in a way that allows for parameters and multiple
results.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 07:51:46 +00:00
Lars T Hansen 7336a528a6 Bug 1592926 - Store the module in the wasm parse context, don't pass it. r=wingo
We're going to need the module object deeper in the parser for block
type resolution, so store it in the parse context and always retrieve
it from the context, do not pass it as a separate parameter.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 07:51:36 +00:00
Jonathan Kew 7028e33b35 Bug 1592972 - Mark more segment-break-transformation-removable-* tests as intermittent on Win7 because of unreliable font metrics. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D51421

--HG--
extra : moz-landing-system : lando
2019-11-06 00:22:37 +00:00
Sylvestre Ledru 04e88026c6 Bug 1593084 - Update the presentation of the "Mozilla Source Tree Documentation" page r=ahal
Uses a tree.json file to configure the tree (will be moved in the yml file)
We also removed the python package doc from the landing page because :
* They are still accessible in the sidebar
* Hardly anyone is going to be looking for them (they are mostly useful to link to from other docs)
* They get in the way of the documentation below

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

--HG--
extra : moz-landing-system : lando
2019-11-06 07:31:34 +00:00
Mihai Alexandru Michis d061ba55ac Backed out changeset 1f116128f81b (bug 1592140) for causing multiple mda2 Android 8.0 failures. CLOSED TREE 2019-11-06 09:37:11 +02:00
Ting-Yu Lin 2e06a9ea92 Bug 1593752 - When inserting canonical <body> element, reframe root element only if their used WritingModes are different. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D51889

--HG--
extra : moz-landing-system : lando
2019-11-06 05:50:12 +00:00
Haik Aftandilian b13e5d4ca0 Bug 1576733 - Part 2 - Remove the Hardened Runtime AppleEvent entitlement r=spohl
Revert bug 1570581 by removing the AppleEvent entitlement from our hardened runtime configuration for both production and development.

Now that native messaging helpers are started 'disclaimed' with a new attribution chain, the entitlement is not needed.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 04:45:03 +00:00
Haik Aftandilian e496f85edc Bug 1576733 - Part 1 - Launch native messaging helper applications with the "disclaim" posix_spawn attribute r=kmag
On macOS, launch native messaging helper apps with a new "Transparency, Consent, and Control" (TCC) attribution chain using the undocumented disclaim posix_spawn attribute.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 04:44:54 +00:00
Brindusan Cristian 56bcd62c3a Backed out 7 changesets (bug 1212237, bug 1588055) for mochitest failures at test_peerConnection_recordReceiveTrack.html.
Backed out changeset 15f2829db807 (bug 1588055)
Backed out changeset bbff556beb57 (bug 1588055)
Backed out changeset c3f52449c92c (bug 1212237)
Backed out changeset c23272ab755f (bug 1212237)
Backed out changeset 184b8485ae32 (bug 1212237)
Backed out changeset e406c203d2a9 (bug 1212237)
Backed out changeset 4adcbfd99da0 (bug 1212237)
2019-11-06 07:06:02 +02:00
Alastor Wu 67e0814f07 Bug 1592167 - part2 : using browsing content to check if the video document is in the top-level context. r=jya
Our policy is to allow video document to autoplay only when it's in the top-level window. However, `docshell::GetInProcessSameTypeRootTreeItem()` is not compatible with Fission so that we are not able to get the top-level document if we are in the remote process.

Therefore, we should use `BrowsingContext` instead, to check if the video document is in the top-level context.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 03:08:50 +00:00
alwu 016684ed90 Bug 1592167 - part1 : modify test. r=jya
Using `SpecialPowers.spawn` to replace `ContentTask.spawn` and to make sure we run `ok` and `is` under the right window scope.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 23:46:47 +00:00
Gerald Squelart 98288106ad Bug 1593112 - Store responsiveness between TimeBeforeCompactStack and CompactStack - r=gregtatum
The responsiveness was stored with periodic stack samples.
Since bug 1581049, periodic stack samples are now contained within a single
"modern" `CompactStack` entry.
When a thread is sleeping, `CompactStack`s are simply copied verbatim, including
the responsiveness, which doesn't make sense because since we're sleeping so the
responsiveness should still increase.

To avoid duplicating the responsiveness, it is now stored as a separate buffer
entry `UnresponsiveDurationMs` before the `CompactStack`; this replaces the
legacy entry `Responsiveness` that was stored at the end of the stack.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 04:05:33 +00:00
Gerald Squelart f054be87a1 Bug 1593112 - Updated buffer grammar to match samples storage - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D51553

--HG--
extra : moz-landing-system : lando
2019-11-05 03:34:36 +00:00
James Teh fa1fd5ca07 Bug 1593892: Fire OOP iframe reorder events on all platforms, not just Windows. r=yzen
Previously, this code was unintentionally inside a Windows ifdef.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 00:36:45 +00:00
Dana Keeler 4c0babeb5c bug 1550686 - remove nsIBadCertListener2 r=dragana,smaug
Differential Revision: https://phabricator.services.mozilla.com/D51001

--HG--
extra : moz-landing-system : lando
2019-11-06 00:19:14 +00:00
John Lin e2a15ca91c Bug 1592140 - enable platform encoder and HW H.264 support on Android. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D51945

--HG--
extra : moz-landing-system : lando
2019-11-05 23:58:02 +00:00
Geoff Brown 9212846e2c Bug 1594237 - Remove robocop support from 'mach test-info tests'; r=bc
A minor optimization for 'mach test-info tests'.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 00:29:36 +00:00
Glenn Watson 24103968ce Bug 1593615 - Bump up fuzziness on android async scrolling test r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D51948

--HG--
extra : moz-landing-system : lando
2019-11-06 00:32:43 +00:00
Michael Froman 592860d63e Bug 1593301 - pt 2 - Use expanding ShmemPool in RemoteDecoderChild like RemoteDecoderParent. r=jya
Depends on D51436

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

--HG--
extra : moz-landing-system : lando
2019-11-06 00:08:28 +00:00
Michael Froman b1f15c2284 Bug 1593301 - pt 1 - Don't overwrite decoded audio samples in RemoteAudioDecoderParent::ProcessDecodedData. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D51436

--HG--
extra : moz-landing-system : lando
2019-11-06 00:08:00 +00:00