Commit Graph

579710 Commits

Author SHA1 Message Date
Csoregi Natalia
caba23a6ce Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-02 06:33:34 +02:00
David Keeler
c470850884 bug 1434831 - ensure nsITransportSecurityInfo.failedCertChain contains the *peer cert chain* r=jcj
In bug 1406856 the failedCertChain property of nsITransportSecurityInfo was
changed to hold the built certificate chain out parameter from the call to
CertVerifier::VerifySSLServerCert. However, this was incorrect for two reasons:
a) failedCertChain is supposed to be the peer cert chain delivered by the server
in the TLS handshake and
b) if VerifySSLServerCert returns a failing result, the out parameter is not
guaranteed to hold any meaningful information, and must not be used.
This patch sets failedCertChain to the appropriate value.

MozReview-Commit-ID: BEXs5XH9SpK

--HG--
extra : rebase_source : f50ea725ccb67408ab1ce33cd76d3956ebd10e29
2018-02-01 12:29:04 -08:00
Josh Matthews
96f93d2480 servo: Merge #19920 - Supress output from git push in WPT sync (from servo:jdm-patch-10); r=aneeshusa
Pushing to the remote exposes sensitive data in the logs of the job. The old token has been revoked as a consequence.

Source-Repo: https://github.com/servo/servo
Source-Revision: b5e5a99cb773a8df6f8f2ee40d8ae42ae46bab92

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 00ff72385507b652e6c2103a87f321a30f86be63
2018-02-01 18:09:55 -05:00
Andrew McCreight
589eaa7bb4 Bug 1434952 - Remove signed.applets.codebase_principal_support pref. r=mrbkap
MozReview-Commit-ID: K8nic9kw8gF

--HG--
extra : rebase_source : 2f99d4594c88a4e6f38cbe740af8e10a5a528a81
2018-02-01 12:44:59 -08:00
Matthew Noorenberghe
29551cf107 Bug 1434839 - Button to debug the remote payment frame. ?debug=1 to toggle the debug console. r=jaws
MozReview-Commit-ID: EVYExRDwtaX

--HG--
extra : rebase_source : a87983bd0f73924e00d22f8fe8f836ce18acaf67
2018-02-01 14:37:45 -08:00
Matthew Noorenberghe
2855dea48c Bug 1434839 - Rename 'PaymentRequest' variable to camelCase to reduce confusion with the standard API. r=jaws
Also export paymentRequest so it's accessible to debugging.js in the next commit

MozReview-Commit-ID: 9w6zaQZanfJ

--HG--
extra : rebase_source : f1bd763033846833e6d93841f98e06c6f7260d38
2018-02-01 14:40:15 -08:00
Matthew Noorenberghe
7bebf01b39 Bug 1434839 - Rename PaymentDialog to paymentDialogWrapper to reduce confusion. r=jaws
MozReview-Commit-ID: 6o8B7bHy9fo

--HG--
rename : toolkit/components/payments/content/paymentDialog.css => toolkit/components/payments/content/paymentDialogWrapper.css
rename : toolkit/components/payments/content/paymentDialog.js => toolkit/components/payments/content/paymentDialogWrapper.js
rename : toolkit/components/payments/content/paymentDialog.xhtml => toolkit/components/payments/content/paymentDialogWrapper.xhtml
extra : rebase_source : 0267da92eca5b3b46fab87e26bfbeb089b1518ad
2018-02-01 14:40:29 -08:00
Paul Bone
40e8b95bed Bug 1424760 (Part 7) - Don't insert an extra property into the GC telemetry r=Dexter
The properties limit was being exceeded because the telemetry code itself
added a num_slices property.  The GC already adds a slices property
(containing the number of slices) so I've fixed the issue by removing the
creation of the num_slices property, which will stop this limit from being
exceeded.

--HG--
extra : rebase_source : dd5c54fe88f4511b4dffa6e52b7b4d8709886f42
2018-02-01 22:24:26 +11:00
Jeff Walden
e2925f1ee7 Bug 1434429 - Implement TokenStreamChars::matchMultiUnitCodePoint as a better nailing-down of behavior when processing a multi-code unit code point. r=arai
--HG--
extra : rebase_source : ff142c8a13969aec72b7acdbc77c66cff539e21f
2018-01-18 11:34:27 -08:00
Jeff Walden
576637a08c Bug 1434429 - Implement a TokenStreamChars::ungetCodePointIgnoreEOL and use it to report errors at precise locations, rather than blindly at the beginning of the token (which happens to be the same thing, just not nearly as clear about it). r=arai
--HG--
extra : rebase_source : 4c554111169521b546b55354b5ce0e3119c0d5b3
2018-01-18 11:34:27 -08:00
Jeff Walden
a71e602aa0 Bug 1434429 - Move TokenStreamSpecific::ungetCharIgnoreEOL into TokenStreamCharsBase. r=arai
--HG--
extra : rebase_source : 356e53ef433af4108e92ea404319962c53fd4596
2018-01-18 11:34:27 -08:00
Jeff Walden
a4d76d2f8b Bug 1434429 - Move TokenStreamSpecific::ungetChar into a new GeneralTokenStreamChars<CharT, AnyCharsAccess> inserted between TokenStreamCharsBase<CharT> and TokenStreamChars<CharT, AnyCharsAccess> in the token stream inheritance hierarchy. r=arai
* * *
Bug 1434429 - Followup bustage fix (?) for gcc (and maybe other?) compiler bustage.  Worked in recent clang...  r=boogstage in a CLOSED TREE

--HG--
extra : rebase_source : 68ecbc2d8134194def98326ef9bcbdb4718189a4
2018-01-18 11:34:27 -08:00
Jeff Walden
f0ac58916b Bug 1434429 - Use MakeScopeExit to reset userbuf offset in TokenStreamSpecific::putIdentInTokenbuf. r=arai
--HG--
extra : rebase_source : 57fbe0b008abc5655634ad3e2655257377705961
2018-01-29 12:08:05 -08:00
Gurzau Raul
b304596a50 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 23:58:51 +02:00
Gurzau Raul
047564ed7a Merge inbound to mozilla-central. a=merge 2018-02-01 23:53:53 +02:00
Gurzau Raul
8c0d0d0d16 Merge autoland to mozilla-central. a=merge 2018-02-01 23:52:41 +02:00
Geoff Brown
c9855d0638 Bug 1434411 - Allow task configuration of target name; r=dustin 2018-02-01 14:26:54 -07:00
Geoff Brown
b83a0a1401 Bug 1435031 - Make it easier to use geckoview_example from android_emulator_unittest.py; r=jmaher
In general, there is no simple mapping between apk name (geckoview_example.apk) and
package name (org.mozilla.geckoview_example). With bug 1434411, it will be relatively
easy to add or modify tasks to use a geckoview apk in taskcluster tests. At the
mozharness level, scripts are expected to expand mozharness configurations containing
"%(app)" into package names. For Firefox, android_emulator_unittest extracts and
reads package_name.txt, but there is no such file in the geckoview apk. In future
we might add package_name.txt to the geckoview apk, or possibly use a tool like aapt,
but for our immediate needs this simple hack does the job: If "geckoview" is in
the apk name, assume we are installing org.mozilla.geckoview_example.
2018-02-01 14:26:52 -07:00
Sebastian Hengst
0d4ebdcd4e Backed out changeset d4582a286d6a (bug 1434765) for breaking build of Catalan language pack due to altered output. a=backout 2018-02-01 23:04:25 +02:00
Florian Quèze
fcd9a3a0c8 Bug 1339461 - add an eslint rule to detect when indexOf should be replaced with includes, r=Standard8. 2018-02-01 20:47:23 +01:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Boris Zbarsky
0e718778d9 Bug 1434819 part 9. Remove nsIDOMNodeFilter. r=qdot
MozReview-Commit-ID: JsxGp9HQ2ak
2018-02-01 14:26:13 -05:00
Boris Zbarsky
d07e9f2070 Bug 1434819 part 8. Remove the FILTER_* constants from nsIDOMNodeFilter. r=qdot
MozReview-Commit-ID: LSDXZVGDtBc
2018-02-01 14:26:12 -05:00
Boris Zbarsky
7a9f022f1a Bug 1434819 part 7. Remove the SHOW_* constants from nsIDOMNodeFilter. r=qdot
MozReview-Commit-ID: 7E2KZkLfbSI
2018-02-01 14:26:12 -05:00
Boris Zbarsky
59795295d1 Bug 1434819 part 6. Get rid of NodeFilterHolder. r=qdot
Now that TreeWalker and NodeIterator only use webidl APIs, they always have a
NodeFilter, not nsIDOMNodeFilter.

MozReview-Commit-ID: 5pzn9V3Kxzy
2018-02-01 14:26:12 -05:00
Boris Zbarsky
ea872de15a Bug 1434819 part 5. Remove nsIDOMTreeWalker. r=qdot
MozReview-Commit-ID: QmxoxVhppG
2018-02-01 14:26:12 -05:00
Boris Zbarsky
8ee1ab7d50 Bug 1434819 part 4. Remove all the methods from nsIDOMTreeWalker. r=qdot
MozReview-Commit-ID: BDxOLArlCYb
2018-02-01 14:26:12 -05:00
Boris Zbarsky
7946bcf30a Bug 1434819 part 3. Stop using XPCOM treewalker bits in webbrowserpersist. r=qdot
MozReview-Commit-ID: GmY7L4p00D1
2018-02-01 14:26:12 -05:00
Boris Zbarsky
8003341ed5 Bug 1434819 part 2. Remove nsIDOMNodeIterator. r=qdot
MozReview-Commit-ID: 7ln10gj1cLP
2018-02-01 14:26:12 -05:00
Boris Zbarsky
39b4225c6b Bug 1434819 part 1. Remove unused methods from nsIDOMNodeIterator. r=qdot
MozReview-Commit-ID: 6mVDmDNxx4p
2018-02-01 14:26:11 -05:00
Boris Zbarsky
d608cdf8ba Bug 1434818. Remove unused return value of FontFaceSet::Add. r=jfkthame
MozReview-Commit-ID: JHOpGZM3Scz
2018-02-01 14:23:34 -05:00
Boris Zbarsky
31dfca239b Bug 1434803. Properly propagate out errors from various PeerConnectionImpl methods. r=drno
PeerConnectionImpl defines two versions of various fallible methods: a version
taking an ErrorResult argument, and a version returning nsresult.  The methods
were not marked fallible in the webidl, so the bindings called the
nsresult-returning version, but ignored the returned value.  As a result,
failures got swallowed instead of being propagated out.

The changes here annotate the relevant parts of the webidl as throwing, and
convert non-fallible methods to returning void to make infallibility clearer.

MozReview-Commit-ID: JU9NzmEf8FV
2018-02-01 14:22:48 -05:00
ffxbld
bc6f74b5d3 No bug, Automated blocklist update from host bld-linux64-spot-302 - a=blocklist-update 2018-02-01 11:21:33 -08:00
ffxbld
00e2288b74 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-02-01 11:21:30 -08:00
ffxbld
53f7b78ae2 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-02-01 11:21:26 -08:00
Boris Zbarsky
478687c2e8 Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Boris Zbarsky
72cdddcc61 Bug 1434686 part 3. Use IgnoreErrors() outside of dom/. r=mystor
I left some IgnoredErrorResults for now where people warn on failure.  We could
consider adding a WarnOnError() thing or something.

MozReview-Commit-ID: L5ttZ9CGKg0
2018-02-01 14:21:14 -05:00
Boris Zbarsky
bc7691a8db Bug 1434686 part 2. Use IgnoreErrors() in dom/bindings. r=mystor
MozReview-Commit-ID: G8vxR2s2qUJ
2018-02-01 14:21:14 -05:00
Boris Zbarsky
f7f6285330 Bug 1434686 part 1. Introduce a mozilla::IgnoreErrors which can be used as a temporary to pass to an ErrorResult& arg when the error should be ignored. r=mystor
Once bug 1434689 is fixed, we can mark this thing as being required to be a temporary.

MozReview-Commit-ID: 7VX0XSYVOc4
2018-02-01 14:21:14 -05:00
Nathan Froyd
f74061c60a Bug 1412006 - part 4 - add ndk toolchain task dependency to without-google-play-services build; r=nalexander; a=Aryx
MozReview-Commit-ID: 5T4FshgoSIi
2018-02-01 13:36:26 -05:00
Csoregi Natalia
5a9ee59e75 Merge inbound to mozilla-central. a=merge 2018-02-01 20:11:41 +02:00
Johan Lorenzo
275f452928 Bug 1421062 - fixup linter issue r=bustage
--HG--
extra : rebase_source : 8dbc855fa6a236421bb85400e151891bf943490c
2018-02-01 19:11:17 +01:00
Csoregi Natalia
486051b718 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 20:14:53 +02:00
Bas Schouten
103c64cfd4 Bug 1433790: Disable Direct2D on drivers/devices where OMTP causes crashes. r=milan
MozReview-Commit-ID: FmUh2zSnSdd
2018-02-01 19:02:11 +01:00
Johan Lorenzo
6d4bff6f65 Bug 1421062 - Make signing format dependent of scope-prefix r=tomprince
--HG--
extra : rebase_source : 11eef852140160b85ae30121afc53eb0d0927ccd
2018-02-01 18:21:46 +01:00
Andrea Marchesini
0c7e47f8eb Bug 1434934 - Remove dom.workers.enabled pref, r=bkelly 2018-02-01 18:34:08 +01:00
Jon Coppeard
66b53c4f36 Bug 1417380 - Make background sweeping sweep by zone and free empty arenas after each zone r=sfink 2018-02-01 17:18:39 +00:00
Jon Coppeard
043a35996a Bug 1417380 - Avoid calling string finalizers in cases where we know there's no work to do r=jandem 2018-02-01 17:16:24 +00:00
Nika Layzell
785a14270e Bug 1431867 - Part 2: Add move constructors and assignment operators to IPDL unions, r=mccr8
MozReview-Commit-ID: IQVODEfMGi9
2018-02-01 11:30:50 -05:00
Nika Layzell
a1e4513e2a Bug 1431867 - Part 1: Remove some unnecessary complexity from generated IPDL structs, r=mccr8
MozReview-Commit-ID: HvX4ZF8t9Eg
2018-02-01 11:30:49 -05:00