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

766775 Коммитов

Автор SHA1 Сообщение Дата
Marian-Vasile Laza d479928bd4 Backed out 6 changesets (bug 1711912) for causing build bustages on MediaKeySystemAccessManager.cpp. CLOSED TREE
Backed out changeset b07f45562c35 (bug 1711912)
Backed out changeset 3e825fc0f7d3 (bug 1711912)
Backed out changeset 964d14b3352e (bug 1711912)
Backed out changeset b941cfb1f5ae (bug 1711912)
Backed out changeset fde1d605fce1 (bug 1711912)
Backed out changeset b135eb6bb7db (bug 1711912)
2021-08-19 01:46:57 +03:00
Jon Bauman 58d94ab547 Bug 1726410 - Update mp4parse-rust to 62aa5d4. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D122985
2021-08-18 22:08:15 +00:00
Mike Hommey 9cdc788c42 Bug 1723245 - Disable --gc-sections when building with sanitizer coverage. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D122952
2021-08-18 22:04:14 +00:00
Mike Hommey 909d7d6787 Bug 1726315 - Force `mach build` to be verbose on automation. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D122953
2021-08-18 22:01:32 +00:00
Jed Davis 629eedfcfa Bug 1672085 - Don't pre-allocate when using memfd in IPC shared memory. r=glandium
Memory for memfd files isn't subject to any file size limit, unlike
named files in /dev/shm, and is documented as being handled similarly
to anonymous mmap for accounting / resource management purposes.
Therefore, there isn't any need to pre-commit the memory with
posix_fallocate in that case.

Differential Revision: https://phabricator.services.mozilla.com/D121818
2021-08-18 21:56:10 +00:00
Jed Davis dcf8361aeb Bug 1672085 - Refactor posix_fallocate support in IPC shared memory. r=glandium
This merges the cases for posix_fallocate being unavailable at build
time and being rejected dynamically by the OS (some don't support
it with their implementation of POSIX shm), to make it simple to
dynamically opt out in the memfd case.

Differential Revision: https://phabricator.services.mozilla.com/D121817
2021-08-18 21:56:09 +00:00
Mike Hommey 06134fdb5b Bug 1726373 - Fail the build when Cargo.lock is modified. r=firefox-build-system-reviewers,mhentges
What currently happens when Cargo.lock doesn't match is that the first
time we run cargo to generate the cbindgen metadata, we don't run it
with --frozen (unlike subsequent calls), and that locally fixes
Cargo.lock. Instead of that, we make the build fail, which will prevent
out-of-sync Cargo.lock from slipping in the tree in the first place.

Differential Revision: https://phabricator.services.mozilla.com/D123010
2021-08-18 21:55:15 +00:00
Geoff Brown 8a563cea2a Bug 1724296 - Remove many skip-if(verify) test annotations (mochitest); r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D122972
2021-08-18 21:33:32 +00:00
Bryce Seager van Dyk 14174fc305 Bug 1711912 - Test we can access special protection query key system when preffed on. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D122769
2021-08-18 21:28:28 +00:00
Bryce Seager van Dyk c2487cf199 Bug 1711912 - Add test case to ensure special key systems are only available if preffed on. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D122634
2021-08-18 21:28:28 +00:00
Bryce Seager van Dyk d5505afbf2 Bug 1711912 - Implement output protection query in Clearkey CDM. r=alwu
This implements logic in the clear key CDM to emulate protection queries. The
CDM will only do so if configured using the new test key system added prior to
this patch.

Differential Revision: https://phabricator.services.mozilla.com/D122633
2021-08-18 21:28:28 +00:00
Bryce Seager van Dyk 40dfee6f0d Bug 1711912 - Set flag on clear key CDM if created using special protection query key system. r=alwu
This lets the clear key CDM behave differently if it's created with the
protection query key system. The different behaviour will be implemented in
following patches and gated behind the member set here.

Differential Revision: https://phabricator.services.mozilla.com/D122632
2021-08-18 21:28:27 +00:00
Bryce Seager van Dyk 194eb89e9c Bug 1711912 - Move key system name constants into their own header. r=alwu
Move constants and fix up includes following doing so.

This is motivated by that future patches will want to use these constants in the
clear key CDM. If we don't move these constants and try to include the existing
VideoUtils in the clear key CDM this will break the build (because the clear key
CDM uses a restricted subset of the stuff we get in Gecko).

Differential Revision: https://phabricator.services.mozilla.com/D122631
2021-08-18 21:28:27 +00:00
Bryce Seager van Dyk 3ed8e4dcf3 Bug 1711912 - Reorder ClearKeySessionManager include order. r=alwu
Fix this up before making further changes in later patches.

Differential Revision: https://phabricator.services.mozilla.com/D122630
2021-08-18 21:28:26 +00:00
Thomas Wisniewski 15c9edb956 Bug 1713694 - update the SmartBlock shim for AddThis to load an empty Angular module instead as needed; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122987
2021-08-18 20:36:20 +00:00
Dana Keeler 8e545a80b3 Bug 1710731 - avoid unnecessary PKCS#11 module PIN prompts when looking for client certificates r=rmf
Differential Revision: https://phabricator.services.mozilla.com/D122398
2021-08-18 20:21:37 +00:00
Dana Keeler 259e0bfa1a Bug 1724072 - replace RC4 capabilities in ssltunnel with 3DES r=rmf
This patch updates ssltunnel to have a configuration where it only uses a 3DES
ciphersuite, rather than RC4 ciphersuites. This has to be done in stages
because otherwise android tests will fail, because their hostutils doesn't
actually use what's in-tree, and has to be updated separately.

Differential Revision: https://phabricator.services.mozilla.com/D122393
2021-08-18 20:20:12 +00:00
Marian-Vasile Laza 21972e53f0 Backed out 6 changesets (bug 1711912) for causing build bustages on MediaKeySystemAccessManager.cpp. CLOSED TREE
Backed out changeset a3c678c2c608 (bug 1711912)
Backed out changeset db34f1ec3a86 (bug 1711912)
Backed out changeset 10639e1dbb6e (bug 1711912)
Backed out changeset f6aeda8b4fca (bug 1711912)
Backed out changeset 2aa33cd01f67 (bug 1711912)
Backed out changeset 0a2af5ba370f (bug 1711912)
2021-08-18 23:03:28 +03:00
Chun-Min Chang e307bf0896 Bug 1726061 - Make mLiveBufferingAppended optional r=padenot,pehrsons
`mLiveBufferingAppended` [1] can be wrapped by a `Maybe` naturally since
it should only be used when `mLiveFramesAppended` [2] is `true`. It's
easier to make sure `mLiveBufferingAppended` be used in a reasonable
timing by doing so, instead of checking `mLiveFramesAppended` every time
before using `mLiveBufferingAppended`.

[1] https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/dom/media/webrtc/MediaEngineWebRTCAudio.h#236
[2] https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/dom/media/webrtc/MediaEngineWebRTCAudio.h#230

Differential Revision: https://phabricator.services.mozilla.com/D122797
2021-08-18 19:22:04 +00:00
Bryce Seager van Dyk 81c04f7e83 Bug 1711912 - Test we can access special protection query key system when preffed on. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D122769
2021-08-18 18:38:16 +00:00
Bryce Seager van Dyk 15986aca3d Bug 1711912 - Add test case to ensure special key systems are only available if preffed on. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D122634
2021-08-18 18:38:16 +00:00
Bryce Seager van Dyk d015a6fef8 Bug 1711912 - Implement output protection query in Clearkey CDM. r=alwu
This implements logic in the clear key CDM to emulate protection queries. The
CDM will only do so if configured using the new test key system added prior to
this patch.

Differential Revision: https://phabricator.services.mozilla.com/D122633
2021-08-18 18:38:16 +00:00
Bryce Seager van Dyk 96e86f6b33 Bug 1711912 - Set flag on clear key CDM if created using special protection query key system. r=alwu
This lets the clear key CDM behave differently if it's created with the
protection query key system. The different behaviour will be implemented in
following patches and gated behind the member set here.

Differential Revision: https://phabricator.services.mozilla.com/D122632
2021-08-18 18:38:15 +00:00
Bryce Seager van Dyk f1d244ed3a Bug 1711912 - Move key system name constants into their own header. r=alwu
Move constants and fix up includes following doing so.

This is motivated by that future patches will want to use these constants in the
clear key CDM. If we don't move these constants and try to include the existing
VideoUtils in the clear key CDM this will break the build (because the clear key
CDM uses a restricted subset of the stuff we get in Gecko).

Differential Revision: https://phabricator.services.mozilla.com/D122631
2021-08-18 18:38:15 +00:00
Bryce Seager van Dyk 57085783e7 Bug 1711912 - Reorder ClearKeySessionManager include order. r=alwu
Fix this up before making further changes in later patches.

Differential Revision: https://phabricator.services.mozilla.com/D122630
2021-08-18 18:38:14 +00:00
Paul Vitale 228fb46c6c Bug 1718223 - Allow pref to control max throughput of EME decryption r=bryce
Adds a pref `media.eme.max-throughput-ms` to allow users to modify EME's maximum decryption rate. The default value is 200ms which is the same as the old hard-coded value.

Differential Revision: https://phabricator.services.mozilla.com/D122876
2021-08-18 18:35:33 +00:00
Nick Alexander 8f12a28e75 Bug 1725529 - Add in-tree source documentation for background updates. r=bytesized DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D122553
2021-08-18 17:44:24 +00:00
Emilio Cobos Alvarez 68a095e065 Bug 1724120 - Tweak Windows' nsWindow::SetCursor. r=mhowell
This is simpler and more correct, the previous code could get sHCursor and
sCurrentCursor out of sync, which caused this issue.

Differential Revision: https://phabricator.services.mozilla.com/D122966
2021-08-18 16:21:38 +00:00
Ryan VanderMeulen 8a7ca74965 Bug 1726391 - Only try to build DocAccessibleTypes.ipdlh if accessibility is enabled. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D122974
2021-08-18 16:17:48 +00:00
Edgar Chen 9a4b0f2c7f Bug 1725493 - Make coalesced touchmove event could be up-to-date; r=smaug,sefeng
`mChanged` isn't propagated through IPC, so we end up never update the coalesced
event.  There can't be too many of touches, so it shouldn't be a performance
issue if we just update all touches.

Differential Revision: https://phabricator.services.mozilla.com/D122539
2021-08-18 16:02:49 +00:00
Butkovits Atila e8beefa0ac Merge mozilla-central to autoland. CLOSED TREE 2021-08-18 19:10:52 +03:00
Butkovits Atila 2599f3c327 Backed out changeset 75eac140369b (bug 1718223) for causing build bustages on EMEDecoderModule.cpp. CLOSED TREE 2021-08-18 19:03:03 +03:00
Butkovits Atila 9dceacf3d7 Merge autoland to mozilla-central. a=merge 2021-08-18 18:50:03 +03:00
Paul Vitale ff3b2bd4b7 Bug 1718223 - Allow pref to control max throughput of EME decryption r=bryce
Adds a pref `media.eme.max-throughput-ms` to allow users to modify EME's maximum decryption rate. The default value is 200ms which is the same as the old hard-coded value.

Differential Revision: https://phabricator.services.mozilla.com/D122876
2021-08-18 15:40:10 +00:00
Dão Gottwald 09b8a8968f Bug 1725966 - Use a single shared toolkit netError.css instead of duplicating mobile/windows/linux/macos styling. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D122866
2021-08-18 15:14:25 +00:00
Gijs Kruitbosch 1aaa98c995 Bug 1711756 - fix 'go back' button in network error page to work more reliably and not rely on session restore, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D122918
2021-08-18 15:08:36 +00:00
Rob Lemley 7ef4a400c7 Bug 1726216 - Fix thunderbird91-next regex in update_verify_config.py. r=taskgraph-reviewers,jmaher
The missing closing single quote causes update-verify-config-next to fail as
the value is used in a shell commandline.
Added a quick test to look for this kind of error since apparently it is easy
to miss.

Differential Revision: https://phabricator.services.mozilla.com/D122901
2021-08-18 15:00:46 +00:00
Daniel Holbert 32d33460f7 Bug 1715631: Add crashtest. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D122880
2021-08-18 14:56:44 +00:00
cschanaj f44ca48708 Bug 1510664 - Replace `HashMap` with `SparseArray` r=agi
This PR replaces `HashMap` with `SparseArray` from the Android API to
improve memory efficiency and performance.

Differential Revision: https://phabricator.services.mozilla.com/D121484
2021-08-18 14:40:26 +00:00
Dzmitry Malyshau 1da5651ba2 Bug 1622846 - Update WebGPU API to latest and wgpu-core to 0.9 r=webidl,jgilbert,jimb,emilio
This *mostly* gets us the latest WebIDL API of WebGPU. There is a few limits we are missing, and maybe some things I didn't notice.
But it gets us the new `GPUCanvasContext`, `GPUSupportedLimits`, and `GPUVertexStepMode`.

Differential Revision: https://phabricator.services.mozilla.com/D120764
2021-08-18 14:11:21 +00:00
Iulian Moraru c3db0ac5fb Bug 1645565 - disable test_ext_contentscript_fission_frame.html on OS_X_10.15_64_opt and windows_10_64_opt for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D122954
2021-08-18 13:58:55 +00:00
Butkovits Atila f5837d94ee Bug 1552288 - disable browser_toggleTransparentOverlay-1.js on Linux_64_QR for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D122961
2021-08-18 13:53:28 +00:00
Butkovits Atila fb5a705709 Bug 1689101 - disable browser_webconsole_network_messages_expand_before_updates.js on Linux_64_QR for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D122955
2021-08-18 13:52:37 +00:00
Sebastian Hengst 2fc5ede43e Bug 1726309 - don't skip tests on macOS 11 which actually pass. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D122938
2021-08-18 13:40:32 +00:00
Andrei Oprea b7e0b276b2 Bug 1724686 - Add exposure ping to Nimbus platform API r=emilio,chutten
Differential Revision: https://phabricator.services.mozilla.com/D122235
2021-08-18 13:16:39 +00:00
Harry Twyford e84c71c45a Bug 1725468 - Add prototype monochromatic theme for UX iteration. r=Gijs,amy
Differential Revision: https://phabricator.services.mozilla.com/D122515
2021-08-18 13:13:38 +00:00
Butkovits Atila 121a8c8434 Backed out 2 changesets (bug 1723010) for causing mochitest failures on test_bug226361.xhtml. CLOSED TREE
Backed out changeset 62facfd599d0 (bug 1723010)
Backed out changeset 94c9836864cf (bug 1723010)
2021-08-18 16:10:07 +03:00
Masayuki Nakano 60811c73f8 Bug 1726080 - Make `TextServicesDocument` and `OffsetEntryArray` use raw pointer of `OffsetEntry` instead of reference to `UniquePtr` r=m_kato
If array size grows up, the array data may be reallocated.  Therefore, after
getting a reference of an array item, we shouldn't modify array.

This makes them use raw pointer if they need to modify the array.  Otherwise,
keep using the reference, but adds a stack class to detect the bug only in debug
build.

Differential Revision: https://phabricator.services.mozilla.com/D122920
2021-08-18 11:49:50 +00:00
Gijs Kruitbosch 88bf9e2145 Bug 1720877 - ensure we do not offer reader mode for PDFs by checking base URI as well as document URI when checking for reader-ability, r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D122960
2021-08-18 11:29:53 +00:00
Butkovits Atila 3926c74569 Backed out changeset d06e292a30c1 (bug 1726101) for causing build bustages. CLOSED TREE 2021-08-18 13:37:17 +03:00