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

694863 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 2bec2783ba Bug 1618011 part 11. Don't expose method names like __namedsetter to the web. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D65204

--HG--
extra : moz-landing-system : lando
2020-03-06 20:40:03 +00:00
Boris Zbarsky eaa46a9a55 Bug 1618011 part 10. Use a BindingCallContext for initializing AudioParamDescriptors. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D64891

--HG--
extra : moz-landing-system : lando
2020-03-06 20:39:50 +00:00
Boris Zbarsky 7eef692e9d Bug 1618011 part 9. Make error reporting for unions nicer. r=peterv
Instead of something like
"ByteStringSequenceSequenceOrByteStringByteStringRecord" we should have
"(sequence<sequence<ByteString>> or record<ByteString, Bytestring>)" in error
messages.

Please take a careful look at the resulting error messages (see attachment
in the bug) to see whether this makes sense.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:39:43 +00:00
Boris Zbarsky 2564974432 Bug 1618011 part 8. Switch ByteString conversions to having a method name prefix. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D64889

--HG--
extra : moz-landing-system : lando
2020-03-06 20:39:23 +00:00
Boris Zbarsky bc068d0e54 Bug 1618011 part 7. Switch most error messages used in bindings to having a method name prefix. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D64888

--HG--
extra : moz-landing-system : lando
2020-03-06 20:39:10 +00:00
Boris Zbarsky 0a681b4df5 Bug 1618011 part 6. Pass a BindingCallContext (if neded) and source description to primitive conversions. r=peterv
The BindingCallContext tracks what method the conversion is for, and the source
description is how the primitive is involved in that method (e.g. "argument 5").

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:38:55 +00:00
Boris Zbarsky 539c585bfc Bug 1618011 part 5. Use a BindingCallContext for Web IDL callback guts. r=peterv
We basically need this because some of the type conversions those guts need to
do may need a BindingCallContext.

We could probably do more optimization here to only generate the
BindingCallContext bits if we will really need them, more or less based on our
return type.  But for now that doesn't seem worthwhile.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:38:11 +00:00
Boris Zbarsky 242fd385c0 Bug 1618011 part 4. Pass a BindingCallContext to dictionary Init() methods. r=peterv
Dictionaries always need a BindingCallContext, because they can throw
MSG_NOT_DICTIONARY from Init().

We allow non-binding callsites to pass JSContext*, in which case they will not
get quite-as-nice error reporting.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:30:52 +00:00
Boris Zbarsky 8cc6fcde91 Bug 1618011 part 3. Pass a BindingCallContext to union setters. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D64884

--HG--
extra : moz-landing-system : lando
2020-03-06 20:30:40 +00:00
Boris Zbarsky 0dbc444246 Bug 1618011 part 2. Add a BindingCallContext class. r=peterv
We instantiate this class in various binding methods.  Future patches will make
use of it to throw errors.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:30:22 +00:00
Boris Zbarsky 7b42d528f1 Bug 1618011 part 1. Implement support for error context in ThrowErrorMessage. r=peterv
This does not change behavior at the moment, because the only callers of
ThrowErrorMessage that pass an error number that has a context pass an empty
string for the first (context) arg.  Both of those callers are changed to pass
nullptr for the context in this patch.

We want to support nullptr to mean "empty context", because that way at
callsites we can avoid having extra empty strings.

We could avoid putting this machinery in place if we hardcoded the trailing
": " at all the callsites, but that would reduce future flexibility in where the
context is placed in the message string (e.g. if we wanted to move it to the
end instead of the beginning) and increase the amount of string data we have to
cart around in the binary quite noticeably: we have a _lot_ of places in
bindings where we call ThrowErrorMessage.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:29:54 +00:00
Nan Jiang cccdcc7909 Bug 1620325 - Add browser sessionId to Onboarding and Activity-Stream event pings r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D65597

--HG--
extra : moz-landing-system : lando
2020-03-05 21:53:39 +00:00
Markus Stange aae2ad8790 Bug 1616400 - Do not recreate the inner reader for nested omni.ja archives if the Omnijar already has it. r=aklotz
This is already done for the outer nsJAR, but it wasn't done for the inner nsJAR.
(The omnijar is a nested zip archive on Android: the outer archive is the APK and the inner is the omnijar file.)
So we were re-using the file mapping but not the result of the uncompression.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:35:53 +00:00
Andrew Osmond 4831a6bd0e Bug 1616030 - Fix SwizzleRow for big endian systems. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D65797

--HG--
extra : moz-landing-system : lando
2020-03-06 20:04:18 +00:00
Mike Hommey dfb4ce4d61 Bug 1620177 - Fix differences in dependentlibs.list between Windows native and cross builds. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65659

--HG--
extra : moz-landing-system : lando
2020-03-06 21:23:24 +00:00
Andrew McCreight d5d2276a11 Bug 1620623 - Ignore memory-pressure if we've begun to shut down. r=smaug
If we're in the middle of shutting down a content process, don't GC if we get a
memory pressure event. Shutting down the process is a better way to free memory!
This doesn't seem to happen much, presumably because once we've started
shutting down the content process we ignore new messages, like ones telling
us to do memory-pressure.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:57:08 +00:00
Sylvestre Ledru 93ef1bd928 Bug 1620635 - static analysis, linting and coding style - add link to meta bugs r=static-analysis-reviewers,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D65761

--HG--
extra : moz-landing-system : lando
2020-03-06 21:01:22 +00:00
Mike Hommey f46e46f7fa Bug 1620513 - Upgrade psutil to 5.7.0. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65685

--HG--
rename : third_party/python/psutil-cp27-none-win_amd64/psutil-5.4.3.dist-info/METADATA => third_party/python/psutil-cp27-none-win_amd64/psutil-5.7.0.dist-info/METADATA
rename : third_party/python/psutil-cp27-none-win_amd64/psutil-5.4.3.dist-info/WHEEL => third_party/python/psutil-cp27-none-win_amd64/psutil-5.7.0.dist-info/WHEEL
rename : third_party/python/psutil-cp27-none-win_amd64/psutil-5.4.3.dist-info/top_level.txt => third_party/python/psutil-cp27-none-win_amd64/psutil-5.7.0.dist-info/top_level.txt
rename : third_party/python/psutil/psutil/tests/runner.py => third_party/python/psutil-cp27-none-win_amd64/psutil/tests/runner.py
rename : third_party/python/psutil/psutil/arch/windows/wmi.h => third_party/python/psutil/psutil/arch/windows/net.h
rename : third_party/python/psutil/psutil/arch/windows/wmi.h => third_party/python/psutil/psutil/arch/windows/socks.h
rename : third_party/python/psutil/scripts/internal/download_exes.py => third_party/python/psutil/scripts/internal/win_download_wheels.py
extra : moz-landing-system : lando
2020-03-06 21:03:01 +00:00
Noemi Erli cae18cfff0 Backed out changeset ae75c4984b1b (bug 1620292) for causing bustages in BasePrincipal.h CLOSED TREE 2020-03-06 23:02:03 +02:00
Sebastian Streich 69d07ec477 Bug 1620292 - Remove Geturi usage in XPCJSRuntime.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D65562

--HG--
extra : moz-landing-system : lando
2020-03-06 20:04:33 +00:00
Harry Twyford fefbe03d0c Bug 1616290 - Fix the inconsistent naming of the "Exit fullscreen" Touch Bar button. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D64100

--HG--
extra : moz-landing-system : lando
2020-03-06 20:11:39 +00:00
Sylvestre Ledru a886409789 Bug 1620633 - docs: Make tables have inconsistent sizes DONTBUILD r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D65748

--HG--
extra : moz-landing-system : lando
2020-03-06 17:11:27 +00:00
Michael Cooper 07ae22869a Bug 1618408 - Remove action alias machinery r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D64499

--HG--
extra : moz-landing-system : lando
2020-03-06 19:35:00 +00:00
Michael Cooper 860ab20550 Bug 1604365 - Remove old preference-experiment action r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D64498

--HG--
extra : moz-landing-system : lando
2020-03-06 19:35:02 +00:00
Michael Cooper 136b5a8adc Bug 1604367 - Remove old addon-study action r=rdalal
Differential Revision: https://phabricator.services.mozilla.com/D64497

--HG--
extra : moz-landing-system : lando
2020-03-06 20:14:14 +00:00
Csoregi Natalia eaba0f6c47 Merge mozilla-central to autoland. CLOSED TREE 2020-03-06 22:30:20 +02:00
Arthur Iakab 25f6bf0e9b Backed out changeset 5b82efb2a20f (bug 1618867) for causing multiple build bustages on tips/browser.ini
CLOSED TREE
2020-03-06 22:25:21 +02:00
Emilio Cobos Álvarez 3d29b274ae Bug 1620359 - Don't clear the "uses viewport units" bit when a font that doesn't cause a style change loads. r=jfkthame
This is probably an old-ish bug made more frequent by the font loading
optimizations.

PostRebuildAllStyleData is a bit of a misnomer, but was always calling
ClearCachedData() on the style set, even if we weren't guaranteed to restyle
every element.

This means both wasted work and correctness issues (as the "uses <rare-feature>"
bits are cleared during this call, on the assumption that we'll then visit all
elements and that'd recompute it properly).

For now, unify a bit the different code paths and only clear these bits if we're
guaranteed to restyle all elements.

I should rename this to something better in a follow-up, and ideally also
decouple the ClearCachedData() calls a bit...

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:11:51 +00:00
Csoregi Natalia 60dfa99561 Merge autoland to mozilla-central. a=merge 2020-03-06 22:09:55 +02:00
Csoregi Natalia c56ee76c10 Backed out changeset 8685d073fea1 (bug 1611566) for breaking try option syntax. a=backout 2020-03-06 21:42:01 +02:00
Harry Twyford 70bf56709d Bug 1618867 - Standardize /urlbar/tests names. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D65192

--HG--
extra : moz-landing-system : lando
2020-03-06 18:21:54 +00:00
James Willcox 9b456755dd Bug 1620105 - Only set prefs for `GeckoRuntimeSettings` if there was a change r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D65756

--HG--
extra : moz-landing-system : lando
2020-03-06 18:19:29 +00:00
James Willcox 0ef38c0b9c Bug 1598068 - Add ashmem abstraction to mozglue and use it everywhere r=glandium,jld
Apps targeting SDK 29 are not allowed to open /dev/ashmem directly, and
instead must use NDK functions. Those functions are only available in
SDK 26 and higher, so we need this shim to use the functions if they
are available, else fallback to opening /dev/ashmem directly.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 19:04:49 +00:00
Geoff Brown 15a2cb5aea Bug 1619846 - Increase max-run-time for webrender on macos; r=kats
Avoid task timeouts by increasing max-run-time, to allow for repo cloning.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 19:38:54 +00:00
Noemi Erli 507497e864 Backed out 2 changesets (bug 1580176) for causing hazard bustages CLOSED TREE
Backed out changeset 59f7472b2ad4 (bug 1580176)
Backed out changeset 6f33e6cec3c1 (bug 1580176)
2020-03-06 21:31:48 +02:00
Noemi Erli 3e332e686a Backed out 3 changesets (bug 1604365, bug 1604367, bug 1618408) for causing ES Lint failure in ActionsManager.jsm
Backed out changeset 6d7fafa57a83 (bug 1618408)
Backed out changeset 3d7c92e05441 (bug 1604365)
Backed out changeset 93b016e0b665 (bug 1604367)
2020-03-06 20:59:08 +02:00
Michael Cooper 4c1728dcac Bug 1618408 - Remove action alias machinery r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D64499

--HG--
extra : moz-landing-system : lando
2020-03-06 18:33:06 +00:00
Michael Cooper 0be1a23f92 Bug 1604365 - Remove old preference-experiment action r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D64498

--HG--
extra : moz-landing-system : lando
2020-03-06 18:32:38 +00:00
Michael Cooper 19750e9604 Bug 1604367 - Remove old addon-study action r=rdalal
Differential Revision: https://phabricator.services.mozilla.com/D64497

--HG--
extra : moz-landing-system : lando
2020-03-06 18:32:05 +00:00
Ehsan Akhgari 5a4c537105 Bug 1620322 - Part 1: Refactor the code for content blocking allow list out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65662

--HG--
extra : moz-landing-system : lando
2020-03-06 16:36:01 +00:00
Dão Gottwald 1f136fd774 Bug 1610475 - Move URLBarSetURI to UrlbarInput. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D65535

--HG--
rename : browser/components/urlbar/tests/browser/browser_URLBarSetURI.js => browser/components/urlbar/tests/browser/browser_UrlbarInput_setURI.js
extra : moz-landing-system : lando
2020-03-06 16:27:16 +00:00
Sebastian Streich c05fb6d867 Bug 1619762 - Remove Geturi calls in LocationBase.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D65207

--HG--
extra : moz-landing-system : lando
2020-03-06 16:15:19 +00:00
Mike Shal b9a43d893b Bug 1620140 - Convert gen_process_data.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65465

--HG--
extra : moz-landing-system : lando
2020-03-06 16:03:07 +00:00
Mike Shal fafac61597 Bug 1620140 - Convert gen_process_enum.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65464

--HG--
extra : moz-landing-system : lando
2020-03-06 16:03:05 +00:00
Mike Shal d73050302c Bug 1620140 - Convert gen_event_enum.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65463

--HG--
extra : moz-landing-system : lando
2020-03-06 16:03:02 +00:00
Mike Shal 76e55932f5 Bug 1620140 - Convert gen_event_data.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65462

--HG--
extra : moz-landing-system : lando
2020-03-06 16:03:00 +00:00
Mike Shal 891abab72e Bug 1620140 - Convert gen_scalar_enum.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65461

--HG--
extra : moz-landing-system : lando
2020-03-06 16:02:58 +00:00
Mike Shal 7f06e347ca Bug 1620140 - Convert gen_scalar_data.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65460

--HG--
extra : moz-landing-system : lando
2020-03-06 16:02:55 +00:00
Mike Shal 93d37217b2 Bug 1620140 - Convert gen_histogram_phf.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65459

--HG--
extra : moz-landing-system : lando
2020-03-06 16:02:51 +00:00
Mike Shal de00dfe84f Bug 1620140 - Convert gen_histogram_enum.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65458

--HG--
extra : moz-landing-system : lando
2020-03-06 16:02:50 +00:00