Commit graph

727544 commits

Author SHA1 Message Date
Narcis Beleuzu
c8df561832 Backed out changeset 7b545053e6e2 (bug 1665152) for linting failure on Overview.html . CLOSED TREE 2020-09-23 19:34:51 +03:00
Jan de Mooij
c357e7aaf2 Bug 1666646 - Set CodeAlignment to 16 for the 'none' backend. r=jonco
This fixes a static_assert on 32-bit platforms because 4 is too small for the JitCode
cell header alignment.

The CodeAlignment value does't really matter as the none backend does not allocate
any JIT code or JitCode instances, but 16 matches x86 and x64.

Differential Revision: https://phabricator.services.mozilla.com/D91093
2020-09-23 07:22:28 +00:00
Mitchell Hentges
ade8b6be08 Bug 1665232: Run "mach install-moz-phab" in bootstrap r=firefox-build-system-reviewers,rstewart
The supported way of submitting Firefox patches is via moz-phab, so
install it automatically in bootstrap rather than redirecting to docs.

Depends on D90455

Differential Revision: https://phabricator.services.mozilla.com/D90459
2020-09-22 21:06:12 +00:00
Mats Palmgren
30b76b523c Bug 1665152 - Initial CSS Masonry draft spec. r=dholbert
NPOTB DONTBUILD

The Overview.html file was generated by this command:
curl https://api.csswg.org/bikeshed/ -F file=@layout/docs/css-grid-3/Overview.bs -F force=1 > layout/docs/css-grid-3/Overview.html

Differential Revision: https://phabricator.services.mozilla.com/D90302
2020-09-23 15:56:38 +00:00
Mirko Brodesser
c3f9a9042c Bug 1649121: part 94) Factor adding flavors in best order out. r=m_kato
This clarifies why the flavors are added in a certain order and why
retrieving the first available one is the best one.

Moreover, this enables previously, accidentally disabled
`NS_WARNING_ASSERTIONS`.

Differential Revision: https://phabricator.services.mozilla.com/D90883
2020-09-23 14:46:20 +00:00
Mirko Brodesser
2a0b5e8022 Bug 1649121: part 93) Change aTransferable to mTransferable. r=m_kato
To adhere the style-guide.

Differential Revision: https://phabricator.services.mozilla.com/D90882
2020-09-23 14:46:12 +00:00
Mirko Brodesser
87fbdd3f84 Bug 1649121: part 92) Factor HTMLTransferablePreparer out. r=m_kato
Preparing the transferable has the hidden requirement that the order of
the added flavors matters.

This is the preparation for expressing this in code.

`aTransferable` is renamed in the following commit.

Differential Revision: https://phabricator.services.mozilla.com/D90881
2020-09-23 14:46:04 +00:00
Simon Giesecke
3abd6dca98 Bug 1648010 - Update coding style with respect to string literals. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D81503
2020-07-21 11:24:06 +00:00
Simon Giesecke
de7bab0f06 Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Timothy Nikkel
75d2f29087 Bug 1665332. Make sure to initialize all fields of the ZoomConstraints to the correct values on ZoomConstraintsClient in all cases. r=kats
The default constructor initializes the two bools to true.

Differential Revision: https://phabricator.services.mozilla.com/D91103
2020-09-23 15:04:07 +00:00
Ted Campbell
f95ea514e2 Bug 1666282 - Simplify ParserAtomsTable::concatAtoms. r=djvj
Add support for InflatedChar16Sequence to directly traverse the list of
ParserAtoms to allow reusing code for most of the more complicated cases. For
results that are small and Latin1, we always concat in a stack-allocated
buffer and use the normal internLatin1 path to handle all tiny and well-known
atom cases. The fall-through case does not have to worry about tiny or
well-known atoms as a result.

In the parser, concat is used for combining string literals (although maybe
we should prefer ropes here) or for adding prefixes like "get " on certain
method names.

Differential Revision: https://phabricator.services.mozilla.com/D90887
2020-09-23 15:09:07 +00:00
Ted Campbell
5e17da6595 Bug 1666282 - Assert ParserAtomsTable::concatAtoms is passed multiple atoms. r=djvj
The FoldAdd code will sometimes accumulate a list of only one atom to
concatenate. This should instead fast-path and skip the call to `concatAtoms`
to be less surprising.

Differential Revision: https://phabricator.services.mozilla.com/D90886
2020-09-23 15:01:52 +00:00
Jeff Muizelaar
d679fe609a Bug 1666784. Fix qcms fuzz target. r=aosmond
qcms_profile_is_bogus() got changed to take a &mut instead of *mut
and the fuzz target never got updated

Differential Revision: https://phabricator.services.mozilla.com/D91141
2020-09-23 14:57:03 +00:00
Jeff Muizelaar
a9b12a7d10 Bug 1666782. Fix GrayAlpha color conversion. r=aosmond
GrayAlpha::has_alpha was accidentally set to false.

Differential Revision: https://phabricator.services.mozilla.com/D91147
2020-09-23 14:52:19 +00:00
Tim Huang
c0e282f68a Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 5 - Fix the build bustage issue. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D90815
2020-09-23 13:12:13 +00:00
Tim Huang
31c71fbde6 Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 4 - Fix tests. r=baku
We need to specifiy the partition key for correctly clean-up HSTS data
if network partition is enabled. Without this, some tests could be
affected by HSTS.

Differential Revision: https://phabricator.services.mozilla.com/D90420
2020-09-21 07:38:00 +00:00
Andrea Marchesini
60b6161a74 Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 3 - partition key, r=xeonchen
Differential Revision: https://phabricator.services.mozilla.com/D83316
2020-09-20 20:51:12 +00:00
Andrea Marchesini
03a46b29e8 Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 2 - tests, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D74078
2020-09-20 20:51:11 +00:00
Andrea Marchesini
7c4292e435 Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 1 - implementation, r=timhuang,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D74077
2020-09-20 20:51:11 +00:00
Frederic Wang
aec8cecc03 Bug 1665975 - Implement the math-style property. r=emilio
This patch renames the internal -moz-math-display to math-style and
exposes it under the layout.css.math-style.enabled preference. The
initial value becomes "normal" but that does not affect the default
MathML behavior since the UA style sheet sets the math-style property
explicitly on <math> tags. WPT tests are updated to use the syntax
approved by the CSSWG.

Intent to prototype: https://groups.google.com/forum/#!msg/mozilla.dev.platform/1hQQ7ISudGo/_yLEckEeBQAJ

Differential Revision: https://phabricator.services.mozilla.com/D90731
2020-09-23 13:04:48 +00:00
Eugen Sawin
d986af73f6 Bug 1658937 - [3.1] Update changelog. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90912
2020-09-23 14:01:02 +00:00
Eugen Sawin
575e911d14 Bug 1658937 - [2.3] Update tests to work with the WebIDL events. r=geckoview-reviewers,agi,alwu
Differential Revision: https://phabricator.services.mozilla.com/D89820
2020-09-23 14:01:00 +00:00
Eugen Sawin
944c799928 Bug 1658937 - [1.4] Move media controls to WebIDL. r=geckoview-reviewers,agi,alwu
Differential Revision: https://phabricator.services.mozilla.com/D89819
2020-09-23 14:00:57 +00:00
Andreas Farre
6dd091de9d Bug 1666415 - Skip checking for history load in E10SUtils for child process. r=smaug
With session history in the parent, all history loads needs to be
handled by the parent, which means that E10SUtils with session history
in the parent doesn't need to consider that to determine if a uri can
be loaded.

Differential Revision: https://phabricator.services.mozilla.com/D90961
2020-09-22 09:46:46 +00:00
Olli Pettay
bdb2a86bbf Bug 1666515 - Disable browser_backforward_userinteraction.js for fission, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D91016
2020-09-23 13:51:02 +00:00
Olli Pettay
c6638292a5 Bug 1666602 - [BFCache] Disable test_performance_navigation.html because it uses bfcache, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D91051
2020-09-23 13:51:14 +00:00
Olli Pettay
8f040d69a3 Bug 1666610 - [BFCache] disable test_bug607529.html because it uses bfcache, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D91052
2020-09-23 13:51:27 +00:00
Bob Owen
85afe19122 Bug 1666773: Make conversion constant names in nsPrinterWin consistent. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D91130
2020-09-23 13:50:01 +00:00
Kashav Madan
042b6e115d Bug 1666485 - Make BrowsingContext::CreatedDynamically non-synced, r=nika,kmag
Differential Revision: https://phabricator.services.mozilla.com/D89223
2020-09-23 13:43:38 +00:00
Narcis Beleuzu
a2936f5009 Backed out 4 changesets (bug 1654430) for mda failure on test_ondevicechange.html . CLOSED TREE
Backed out changeset 10a70b4fad32 (bug 1654430)
Backed out changeset 495576ebc999 (bug 1654430)
Backed out changeset 0f1db7f155cb (bug 1654430)
Backed out changeset 788a6c7c52f1 (bug 1654430)
2020-09-23 16:52:16 +03:00
Narcis Beleuzu
f708795c83 Backed out changeset 7d0db31be648 (bug 1666676) for bc failure on browser_cleanFlow.js . CLOSED TREE 2020-09-23 16:49:51 +03:00
Dave Hunt
9fcc66b6c6 Bug 1666565 - Carry suite value for shouldAlert when there is only one subtest r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D91038
2020-09-23 13:20:45 +00:00
Mirko Brodesser
cb0f9ac463 Bug 1666716: remove outdated comment of nsITransferable::init's documentation. r=baku
The corresponding feature was removed in bug 815952.

Differential Revision: https://phabricator.services.mozilla.com/D91102
2020-09-23 13:06:04 +00:00
Paul Adenot
4683820c98 Bug 1666490 - Fix channelCount of AnalyserNode. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D91008
2020-09-22 16:11:59 +00:00
Butkovits Atila
2314b9b687 Backed out changeset a81b4130ac14 (bug 1666485) for causing bustages on BrowsingContext. CLOSED TREE 2020-09-23 16:18:53 +03:00
Christoph Kerschbaumer
c9b352a0f3 Bug 1666751: Use simple and never failing LoadInfo() getter because all channels should have a loadinfo r=freddyb,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91119
2020-09-23 12:49:40 +00:00
Kashav Madan
c95234bd08 Bug 1666485 - Make BrowsingContext::CreatedDynamically non-synced, r=nika,kmag
Differential Revision: https://phabricator.services.mozilla.com/D89223
2020-09-23 12:45:38 +00:00
Nihanth Subramanya
a69c2de233 Bug 1664870 - Create a data access layer module for DoH config. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D90952
2020-09-23 07:38:05 +00:00
Dão Gottwald
338c2f3e38 Bug 1665914 - Ignore search tile override prefs when using top site defaults from remote settings. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D91121
2020-09-23 12:25:05 +00:00
Gregory Mierzwinski
321c4f7ac5 Bug 1633332 - Update browsertime visualmetrics script used in CI. r=perftest-reviewers,Bebe
This patch updates the version of visualmetrics.py used in our CI to the latest one.

Depends on D91042

Differential Revision: https://phabricator.services.mozilla.com/D91046
2020-09-23 07:43:14 +00:00
Gregory Mierzwinski
6034ec9ed1 Bug 1665992 - Make vismet logs clearer and more informative. r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D91042
2020-09-23 12:01:00 +00:00
Bob Owen
845b0aa6d3 Bug 1664981: Cache default DEVMODE on the background thread in nsPrinterWin. r=jwatt
This uses a DataMutex to guard the cache.

Differential Revision: https://phabricator.services.mozilla.com/D91015
2020-09-23 12:05:10 +00:00
Peter Van der Beken
73f094860a Bug 1666745 - Fix nsDocShell::GetCurrentScrollRestorationIsManual with session history in the parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D91113
2020-09-23 12:12:51 +00:00
Paul Adenot
a2a4d98d3b Bug 1659244 - Fix two static analysis warnings in AudioDestinationNode.cpp. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D90447
2020-09-23 11:47:05 +00:00
Paul Adenot
003334fc97 Bug 1659244 - Simplify browser_webAudio_silentData.js. r=alwu
The little dance with the array is unnecessary, we can just use an osc and a
gain here.

Differential Revision: https://phabricator.services.mozilla.com/D90446
2020-09-23 11:47:03 +00:00
Daniel Le
afca2a3268 Bug 1659244 - Test Web Audio API audibility in various scenarios. r=alwu,pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D90435
2020-09-23 11:47:01 +00:00
Daniel Le
2ef2841669 Bug 1659244 - Drop the audio wakelock when the AudioDestinationNode is notified that it is not audible. r=pehrsons,alwu
Differential Revision: https://phabricator.services.mozilla.com/D90434
2020-09-23 11:46:59 +00:00
Paul Adenot
7efebc769e Bug 1659244 - Use the AudibilityMonitor in AudioDestinationNode. r=pehrsons,alwu
In particular, this removes the code that was limiting the audibility
notifications spam, because this is handled by the AudibilityMonitor.

Differential Revision: https://phabricator.services.mozilla.com/D90433
2020-09-23 11:46:56 +00:00
Paul Adenot
718b5288e8 Bug 1659244 - Remove audibility code from AudioSegment and AudioBlock. r=pehrsons
Same rationale as for AudioData, the audibility is best computed externally.

Differential Revision: https://phabricator.services.mozilla.com/D90432
2020-09-23 11:46:54 +00:00
Paul Adenot
55b9625c87 Bug 1659244 - Allow processing planar audio in the AudibilityMonitor. r=pehrsons
This is essentially the same code as the interleaved version, but backwards,
since the memory layout is the opposite, we want to take advantage of memory
locality, and only touch audio samples once each.

The `ProcessAudioData` method has been renamed, because of the similarity
between the `AudioData` type and `ProcessAudioData`, since it can now process
`AudioBlock`s.

Differential Revision: https://phabricator.services.mozilla.com/D90431
2020-09-23 11:45:44 +00:00