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

582254 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight a106e111fe Bug 1438700, part 2 - Deduplicate XPT strings. r=glandium
Various strings, like nsISupports, appear many times in XPT data. This
patch adds a cache so we don't write the same string multiple times.

MozReview-Commit-ID: 6buBrXwHqQz

--HG--
extra : rebase_source : 54dea83a9134710c5600828ab68ef3f935f46afd
2018-02-15 15:41:05 -08:00
Andrew McCreight b553286f4a Bug 1438700, part 1 - Do writing of XPT names to a file via a helper class. r=glandium
The name of this class is wrong, but my next patch will make it
actually cache. This patch should not change the behavior.

MozReview-Commit-ID: CMf6Chkeex1

--HG--
extra : rebase_source : a6d5688124b75aef8ed35f811003cf49b8b4e136
2018-02-15 15:28:43 -08:00
Jared Wein 03071c21a3 Bug 1434415 - Move all hard-coded PaymentRequest strings to localization files. r=MattN
MozReview-Commit-ID: 4dhHxaDjqgM

--HG--
extra : rebase_source : 442806cf79406d192401ff41ec299c75df4fe000
2018-02-15 16:12:04 -05:00
Gijs Kruitbosch 4e2a0d8a12 Bug 1439082 - ensure shield checkbox is disabled when about:preferences loads while FHR/Telemetry is preffed off, r=myk,mythmon
MozReview-Commit-ID: 7mhuD7BS7xz

--HG--
extra : rebase_source : ff3bbbbf32ff472ecec0c0c34a1b8427359baa17
2018-02-17 12:29:54 +00:00
Valentin Gosu 98e8686b20 Bug 1439538 - Convert nsHostResolver::m{High,Medium,Low,Eviction}Q to LinkedList<RefPtr<nsHostRecord>> r=bagder
MozReview-Commit-ID: CDMadOtmDHQ

--HG--
extra : rebase_source : aa366237886c7d07cb3d83a15c50a54c08606848
2018-02-20 17:41:50 +01:00
nbeleuzu@mozilla.com 49cba58050 Backed out changeset 84ab509808e7 (bug 1420130) for mochitest failures on /browser_fontinspector_expand-css-code.js 2018-02-21 00:33:09 +02:00
Jared Wein 04d2dfc8fc Bug 1427947 - Dispatch `shippingoptionchange` when the shipping option is changed. r=MattN
MozReview-Commit-ID: J8U7ln90XnZ

--HG--
extra : rebase_source : e04267840eb59b945a297e4338b8ac8bfe1e29e1
2018-02-15 15:03:40 -05:00
nbeleuzu@mozilla.com 01eef6aff1 Backed out changeset c9dcce0a1068 (bug 1435671) for build bustages on nsIURIMutator.h. CLOSED TREE 2018-02-21 00:06:46 +02:00
Valentin Gosu f1850e9354 Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer
We instead add a templated method NS_MutatorMethod that returns a std::function<nsresult(nsIURIMutator*)> which Apply then calls with mMutator as an argument.
The function returned by NS_MutatorMethod performs a QueryInterface, then calls the passed method with arguments on the result.

MozReview-Commit-ID: Jjqp7gGLG1D

--HG--
extra : rebase_source : 592d13349a8c4627c7ce3146ec592f577b39f3cc
2018-02-20 22:39:40 +01:00
J.C. Jones bdcb52d8d7 Bug 1434300 - Add the DigiCert whitelisted SPKIs r=keeler
This adds the 4 digicert CAs to our whitelist as specified in Google's details
on the Chromium version of this plan [1].

[1] c022914eb2/net/data/ssl/symantec/README.md

MozReview-Commit-ID: BR7t1UheKeS

--HG--
rename : security/certverifier/TrustOverride-AppleGoogleData.inc => security/certverifier/TrustOverride-AppleGoogleDigiCertData.inc
extra : rebase_source : 328a3b03a2c40fdf77497430481aa01df6f0059d
2018-02-20 16:27:14 -05:00
J.C. Jones 9b7f221221 Bug 1434300 - Change Symantec Distrust Algorithm's whitelist to SPKI-matching r=fkiefer,keeler
Because of the DigiCert-controlled sub-CAs and managed-CAs identified as also
needing to be whitelisted [1], and that those CAs are using an increasing number
of certificates all with different Subjects (but identical public keys) [2][3],
we will have to whitelist on SPKI rather than subject DN.

This makes the security/manager/ssl/tests/unit/test_symantec_apple_google.js
integration test different, as it now uses a real Google certificate that is
in the whitelist with only a cert verification rather than a full connection
test.

This patch does not add the DigiCert SPKIs to the list; I will do that in its
own patch.


[1] https://chromium.googlesource.com/chromium/src/+/master/net/data/ssl/symantec/README.md
[2] https://chromium-review.googlesource.com/c/chromium/src/+/916730
[3] https://crt.sh/?spkisha256=ac50b5fb738aed6cb781cc35fbfff7786f77109ada7c08867c04a573fd5cf9ee

MozReview-Commit-ID: 4qVeogDbSb

--HG--
extra : rebase_source : 6912963abe7d05bf2a944fae1209512650763032
2018-02-20 16:27:14 -05:00
J.C. Jones dfc697cb54 Bug 1434300 - Add a utility to match certificates based on SPKI r=fkiefer,keeler
This modifies crtshToDNStruct.py to be able to produce SPKI or DN-based lists,
and adds a SPKI-search method to TrustOverrideUtils.h.

This also regenerates the TrustOverride files to use the new script.

MozReview-Commit-ID: BhMoJbYXs7Y

--HG--
rename : security/manager/tools/crtshToDNStruct/crtshToDNStruct.py => security/manager/tools/crtshToIdentifyingStruct/crtshToIdentifyingStruct.py
rename : security/manager/tools/crtshToDNStruct/requirements.txt => security/manager/tools/crtshToIdentifyingStruct/requirements.txt
extra : rebase_source : 335d7fc05fa35fbb54ee7ee518b9f4e0c7a00159
2018-02-20 16:27:14 -05:00
J.C. Jones 0534d6fb09 Bug 1434300 - Disable the b-c imminent distrust test r=keeler
The browser console test for imminent distrust relies upon certs inserted
into build/pgo/certs/cert8.db and key3.db [1], and seemed angry when adding new
certs with certutil bumping those to cert9 and key4 formats. Since time is
getting to be of-the-essence with Bug 1434300, I've filed Bug 1439378 to re-
enable this test post-landing.

[1] https://hg.mozilla.org/mozilla-central/rev/98b1272e170c

MozReview-Commit-ID: I4SIiqc5AqH

--HG--
extra : rebase_source : 06295cbed14f2a793162073e707e14026ea69625
2018-02-20 16:27:14 -05:00
J.C. Jones 316692cd6e Bug 1434300 - Implement the Symantec distrust plan from Bug 1409257 r=fkiefer,keeler
The algorithm from https://hg.mozilla.org/mozilla-central/rev/595e27212723
(Bug 1409259) is adapted in this patch from nsNSSCallbacks into the TrustDomain
decisions.

This patch does not change the algorithm to use SPKI matching, nor add the
additional whitelisted intermediates from DigiCert; that will be done in a
separate commit.

This patch also does not update the pre-existing browser chrome test.

MozReview-Commit-ID: 1PdCAqo71bI

--HG--
extra : rebase_source : bc0b1b419dc340a033008d9e9e3b443a2751d5d1
2018-02-20 16:27:04 -05:00
J.C. Jones d1bff6c67a Bug 1434300 - Update Imminent Distrust status for future Symantec sanctions r=fkiefer,keeler
This patch does a few things:

1) It adds a permament test mechanism for the "imminent distrust" trust status
in nsNSSCallbacks: a simple xpcshell test to exercise a clause in the imminent
distrust logic in nsNSSCallbacks' IsCertificateDistrustImminent method.

2) This test removes test_symantec_apple_google_unaffected.js as its
functionality is rolled into the new test_imminent_distrust.js.

3) It updates the Symantec imminent distrust warning algorithm to remove the
validity date exception; this warns of the upcoming distrust for those affected
certs in Firefox 63.

This patch does not attempt to edit the browser chrome test that checks the
console; that is a subsequent patch.

MozReview-Commit-ID: 1HyVLfmEOP7

--HG--
extra : rebase_source : 48c9caae2d26a7e36102b4770c4044101acf0712
2018-02-19 09:33:36 -07:00
Michael Ratcliffe ad6889fdd2 Bug 1420130 - Remove React Proxy Monkeypatch and see how it affects DAMP r=gregtatum
MozReview-Commit-ID: 9L9PYPDGTmj

--HG--
extra : rebase_source : e5fbef2c7221b92d54903a53fbb1106cdeb2f550
2018-02-13 13:26:03 +00:00
Kit Cambridge da05a16e0a Bug 1439061 - Stop tracking on engine finalization and clean up in history engine test. r=tcsc
MozReview-Commit-ID: JjgMdQwbnly

--HG--
extra : rebase_source : cc8d29a3170ea01df534c3b4de6fbec8a13c58e3
2018-02-16 19:21:06 -08:00
Nico Grunbaum 0bd02a8387 Bug 1439001 - AudioLevel RTP header ext. send/recv sense reversed in xceiver r=drno
MozReview-Commit-ID: CyI4Rh3juUe

--HG--
extra : rebase_source : 41369ba143754620f8c251d048e19d9924ba2029
2018-02-16 16:27:07 -08:00
Thom Chiovoloni 90ed047093 Bug 1439675 - Fix invalid JSON in TPS's all_tests.json r=markh
MozReview-Commit-ID: 1UQ4a7Ebpv7

--HG--
extra : rebase_source : 098dc9e810f696b6de2fa2e92914542aa9ad5da8
2018-02-20 12:59:21 -05:00
Tom Ritter 44c16a02e2 Bug 1438953 Increase the epsilon on timer reduction tests r=froydnj
In Javascript, we re-clamp timers to ensure they stay the same. Because of double imprecision
sometimes they don't stay the same, and are clamped downwards. If that happens we detect it,
and if we were originally off by an epsilon from a clamped value, we accept the value in the
name of double imprecision.

However, the epsilons were originally chosen somewhat arbitrarily. They worked for small
numbers, where imprecision from doubles were very small. But large doubles have much less
precise fractional parts. So the epsilons were too small for large numbers where the
imprecision was larger.

In Bug 1435296 we stopped reducing the precision of CSS Animations by default, and changed
the test to throw an error if they WERE rounded. After we increased the epsilon in this
patch, we began to see false positives - we were getting values that were not rounded, but
happened to be within the epsilon window and thus appeared rounded. We change the check so
instead of seeing if an Animation is not rounded, and erroring if it is, to accepting any
value.

MozReview-Commit-ID: HnYYo4cuv96

--HG--
extra : rebase_source : 19993a4684a19a646dff43147149e9fc52f2cd0b
2018-02-16 12:31:55 -06:00
shindli b92e3fe192 Backed out 2 changesets (bug 1433593) for xpcshell on /tests/unit/test_IE7_passwords.js on a CLOSED TREE
Backed out changeset c1b0ea577728 (bug 1433593)
Backed out changeset 96327b595b91 (bug 1433593)
2018-02-20 23:01:54 +02:00
Mark Banner ad636194ef Bug 1437310 - Fix moving bookmarks across special folders. r=mak
MozReview-Commit-ID: dj6dOwDxOT

--HG--
extra : rebase_source : 6cadd7079e935d20db9089cdc08f4bc19cfdd95c
2018-02-12 21:51:08 +00:00
J.C. Jones e5937633d9 Bug 1434300 - Add the DigiCert whitelisted SPKIs r=keeler
This adds the 4 digicert CAs to our whitelist as specified in Google's details
on the Chromium version of this plan [1].

[1] c022914eb2/net/data/ssl/symantec/README.md

MozReview-Commit-ID: BR7t1UheKeS

--HG--
rename : security/certverifier/TrustOverride-AppleGoogleData.inc => security/certverifier/TrustOverride-AppleGoogleDigiCertData.inc
extra : rebase_source : 406e42e805b3778ccce7ee85b18d5dea93e32b95
2018-02-21 14:08:59 -05:00
J.C. Jones 7d0730b216 Bug 1434300 - Change Symantec Distrust Algorithm's whitelist to SPKI-matching r=fkiefer,keeler
Because of the DigiCert-controlled sub-CAs and managed-CAs identified as also
needing to be whitelisted [1], and that those CAs are using an increasing number
of certificates all with different Subjects (but identical public keys) [2][3],
we will have to whitelist on SPKI rather than subject DN.

This makes the security/manager/ssl/tests/unit/test_symantec_apple_google.js
integration test different, as it now uses a real Google certificate that is
in the whitelist with only a cert verification rather than a full connection
test.

This patch does not add the DigiCert SPKIs to the list; I will do that in its
own patch.


[1] https://chromium.googlesource.com/chromium/src/+/master/net/data/ssl/symantec/README.md
[2] https://chromium-review.googlesource.com/c/chromium/src/+/916730
[3] https://crt.sh/?spkisha256=ac50b5fb738aed6cb781cc35fbfff7786f77109ada7c08867c04a573fd5cf9ee

MozReview-Commit-ID: 4qVeogDbSb

--HG--
extra : rebase_source : abbdd432b190d059a3b2ceeccf89b85a12c214dd
2018-02-21 14:08:47 -05:00
J.C. Jones aaaf57c831 Bug 1434300 - Add a utility to match certificates based on SPKI r=fkiefer,keeler
This modifies crtshToDNStruct.py to be able to produce SPKI or DN-based lists,
and adds a SPKI-search method to TrustOverrideUtils.h.

This also regenerates the TrustOverride files to use the new script.

MozReview-Commit-ID: BhMoJbYXs7Y

--HG--
rename : security/manager/tools/crtshToDNStruct/crtshToDNStruct.py => security/manager/tools/crtshToIdentifyingStruct/crtshToIdentifyingStruct.py
rename : security/manager/tools/crtshToDNStruct/requirements.txt => security/manager/tools/crtshToIdentifyingStruct/requirements.txt
extra : rebase_source : 9ae4999ceea2d4092119fe81b787c4d66a5e17b1
2018-02-21 14:08:44 -05:00
J.C. Jones f3298c09e7 Bug 1434300 - Disable the b-c imminent distrust test r=keeler
The browser console test for imminent distrust relies upon certs inserted
into build/pgo/certs/cert8.db and key3.db [1], and seemed angry when adding new
certs with certutil bumping those to cert9 and key4 formats. Since time is
getting to be of-the-essence with Bug 1434300, I've filed Bug 1439378 to re-
enable this test post-landing.

[1] https://hg.mozilla.org/mozilla-central/rev/98b1272e170c

MozReview-Commit-ID: I4SIiqc5AqH

--HG--
extra : rebase_source : 6cac70e494c284314bf62d2e0c856a0d9a98831e
2018-02-21 14:08:24 -05:00
J.C. Jones 894d57b6bf Bug 1434300 - Implement the Symantec distrust plan from Bug 1409257 r=fkiefer,keeler
The algorithm from https://hg.mozilla.org/mozilla-central/rev/595e27212723
(Bug 1409259) is adapted in this patch from nsNSSCallbacks into the TrustDomain
decisions.

This patch does not change the algorithm to use SPKI matching, nor add the
additional whitelisted intermediates from DigiCert; that will be done in a
separate commit.

This patch also does not update the pre-existing browser chrome test.

MozReview-Commit-ID: 1PdCAqo71bI

--HG--
extra : rebase_source : f1c6d00e16682f9303b8b2bfdf1fe5773c515ac5
2018-02-21 14:08:18 -05:00
J.C. Jones e72f46e3ff Bug 1434300 - Update Imminent Distrust status for future Symantec sanctions r=fkiefer,keeler
This patch does a few things:

1) It adds a permament test mechanism for the "imminent distrust" trust status
in nsNSSCallbacks: a simple xpcshell test to exercise a clause in the imminent
distrust logic in nsNSSCallbacks' IsCertificateDistrustImminent method.

2) This test removes test_symantec_apple_google_unaffected.js as its
functionality is rolled into the new test_imminent_distrust.js.

3) It updates the Symantec imminent distrust warning algorithm to remove the
validity date exception; this warns of the upcoming distrust for those affected
certs in Firefox 63.

This patch does not attempt to edit the browser chrome test that checks the
console; that is a subsequent patch.

MozReview-Commit-ID: 1HyVLfmEOP7

--HG--
extra : rebase_source : 3955e3dcd9a21421105d97bd65d3965041de9b8c
2018-02-21 07:39:36 -05:00
Jim Chen c35b2c3fb7 Bug 1439610 - Fix origin under e10s in GeckoViewProgress; r=droeh
Use the current principal to get the origin, so things work under e10s.
Also reorganize some of the code in checkIdentity.

MozReview-Commit-ID: 2heqVMQ7vam

--HG--
extra : rebase_source : 7e67d223aaf366115ac2b3e35bfcb56fba9766f2
2018-02-20 14:31:13 -05:00
Martin Stransky 9c4741153c Bug 1418770 - Truncate DBus names used for remote service to DBUS_MAXIMUM_NAME_LENGTH, r=jhorak
MozReview-Commit-ID: 3Hrt3Ef87WD

--HG--
extra : rebase_source : 9ece42adec435b244f5875f7e3449f6268c0beea
2018-02-13 13:59:39 +01:00
Botond Ballo 72413786ab Bug 1434593 - Ensure that browser.xml does not send APZ back a notification after APZ notifies it of canceling autoscroll. r=kats
The second notification is needless and can cause deadlocks. The code
previously tried to ensure it wasn't sent, but didn't account for
the possibility of a call to hidePopup() causing the 'popuphidden'
event to be handled synchronously.

MozReview-Commit-ID: BiMOFMMudIH

--HG--
extra : rebase_source : 060319da29f313d30b380dcecd6fc73ff5a807e8
2018-02-21 15:01:46 -05:00
Ursula Sarracini 3ed65bb2b9 Bug 1439684 - Add caching to NewTabUtils for saved to Pocket items r=Mardak
MozReview-Commit-ID: LLHD9TKnKA8

--HG--
extra : rebase_source : d7901275e39beadf8bbf3e19ee633fc99151f226
2018-02-21 11:42:53 -05:00
J. Ryan Stinnett 85d058ffcb Bug 1438962 - Add diagnostics during Browser Toolbox startup. r=bgrins
Track connection status at various points during Browser Toolbox startup.  If
connecting takes a long time or triggers an error, the status panel is revealed
with the most recent message displayed.

MozReview-Commit-ID: H8240rv3KRe

--HG--
extra : rebase_source : 7c2c10c710095ede7d1b9c1ac87ca21bd3deb969
2018-02-21 03:22:49 -05:00
J. Ryan Stinnett 2412ca6608 Bug 1438962 - Convert Browser Toolbox window to async / await. r=bgrins
MozReview-Commit-ID: 1hLUhmoYQ7u

--HG--
extra : rebase_source : 99d4356b1bf4d9f32d0d3d941a345ecf4f9f7820
2018-02-20 09:11:46 -05:00
Csoregi Natalia 4b6f24b2a5 Backed out changeset a1711e96c622 (bug 1431161) for talos performance test failures- task payload invalid. CLOSED TREE 2018-02-21 21:59:49 +02:00
Manish Goregaokar c4738d7829 servo: Merge #20097 - Do not mutate if let (from Manishearth:mutate-if-let); r=asajeffrey
Source-Repo: https://github.com/servo/servo
Source-Revision: f90e98dcc95377d0673f594a2ed55a5d4a377244

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 96e80415fab8651eec30637d4d259615fd0429ef
2018-02-21 13:12:45 -05:00
Thom Chiovoloni 872a82220c Bug 1439772 - Avoid truncating operands when reporting failure for Assert.deepEqual r=mikedeboer
MozReview-Commit-ID: 1hlYFE3Xcwn

--HG--
extra : rebase_source : 5b55d4721dd403f7baf47f55b9dfc62ccd189861
2018-02-20 18:17:16 -05:00
Mark Banner 01319d9d04 Bug 1437584 - Enable ESLint rule mozilla/use-services for testing/. r=jmaher
MozReview-Commit-ID: DMkgj5UAId4

--HG--
extra : rebase_source : 155f657e68f04850e878535afdb1421933b4a13b
2018-02-12 17:10:00 +00:00
Rob Wood 9fd4018d70 Bug 1384272 - Add a talos test that tracks the performance of opening about:preferences; r=jmaher
MozReview-Commit-ID: LuHosK5chMN

--HG--
extra : rebase_source : 2bdf10c088c9a93b91cd09a85f62630c53bd3992
2018-02-09 18:46:04 -05:00
Adrian Wielgosik 244e676451 Bug 1438956 - Modify HTMLMediaElement::Seek to avoid undefined behavior. r=bz
Previously, in IsInRanges, aIntervalIndex could have values between -1..length-1.
After the change, the values are in range 0..length, which makes it possible to use unsigned ints and avoid UB.

MozReview-Commit-ID: 39SIzXRHv91

--HG--
extra : rebase_source : d0efebb4bc13694eb7d2048cd2eae2d6386238cf
2018-02-17 19:29:43 +01:00
Adrian Wielgosik 8cb213f738 Bug 1438956 - Add inline Start/End TimeRanges methods for C++ users. r=bz
MozReview-Commit-ID: DcLsYyKV7WX

--HG--
extra : rebase_source : 1891f87a72380ed6f57d1790659c10ea416ccf15
2018-02-16 19:36:40 +01:00
Adrian Wielgosik d729e5e045 Bug 1438956 - Remove nsIDOMTimeRanges. r=bz
MozReview-Commit-ID: DAgQ0OkSxkq

--HG--
extra : rebase_source : e995b4d76186032fc048bc7b63f4e1e2aee046b4
2018-02-16 19:34:28 +01:00
Thom Chiovoloni e3bfce50d6 Bug 1438445 - Refactor bookmark validator to be simpler and more correct r=kitcambridge,markh
MozReview-Commit-ID: 9vhiqHUOtzt

--HG--
extra : rebase_source : 2b7bc5201ad9450bb759c6adb16779f2228a304d
2018-02-15 13:01:11 -05:00
Ethan Glasser-Camp f2052cf9c9 Bug 1438973: Update version of kinto.js to 11.0.0 r=MattN
MozReview-Commit-ID: 2Byd1HcbhHW

--HG--
extra : rebase_source : abc324efc5f52f1d198da2a645ddbc750a56294c
2018-02-16 15:08:18 -05:00
shindli 1e4755bc65 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-20 21:14:11 +02:00
Nick Alexander 5d736e0310 Bug 1439459 - Expose MOZ_ANDROID_GOOGLE_PLAY_SERVICES to AndroidManifest.xml. r=Grisha
This was oversight when landing Bug 1419581, coupled with dedicated
testing by Grisha.  We don't expose all CONFIG values as DEFINES by
default, and I forgot to add the relevant value to the exposure list.

MozReview-Commit-ID: GUYNWampBAJ

--HG--
extra : rebase_source : f946f2630f2e9120d03b05a4677815e73ab6851a
2018-02-20 10:06:13 -08:00
Connor Masini 2c622ac77f Bug 1417880: Allow theming arrow panels. r=jaws, ntim 2018-02-07 00:22:22 -05:00
Ciure Andrei 040171056c Backed out changeset 25a1c4b0e2af (bug 1439411) for linting failure. a= backout on a CLOSED TREE 2018-02-20 13:45:08 +02:00
Mike Pennisi 4f6234b136 Bug 1439411 - [mozlog] Document built-in CLI logging options r=jgraham
The output formatters provided by mozlog are well-documented in the
online help guide, but this information is not available to users in the
CLI. The `add_logging_group` method extends the consuming project's
command-line interface without referencing mozlog itself. This means
consumers may not have a means to discover the additional information,
and even in cases where they can infer this connection, there is no
indication of the stability of the behavior.

Extend the description of the built-in output formatters to explain
their origin and reference the relevant documentation.

--HG--
extra : rebase_source : 5e7420f8d1589dccc335b0a48c8967d4928f959f
2018-02-19 11:58:00 +02:00
Milan Knežević 181bcb89d8 Bug 1284414 - Wasm Baseline MIPS32/64. r=lth
--HG--
extra : rebase_source : 7e82a00a4628dd560260d8d1d484f8e897a43ac7
2018-02-19 18:34:03 +01:00