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

713980 Коммитов

Автор SHA1 Сообщение Дата
Marco Castelluccio 3165f429f2 Bug 1646796 - Output known_intermittent value in errorsummary.log test_result lines. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D80264
2020-06-18 20:23:11 +00:00
Hubert Boma Manilla 43efe182ba Bug 1646940 - block request only when there is a reason or an extension id r=Honza
Temp fix  should land in 79,  uplift to 78, and then remove from 79

Differential Revision: https://phabricator.services.mozilla.com/D80305
2020-06-19 09:36:50 +00:00
Masayuki Nakano 0847d6a6c2 Bug 1646296 - part 3: Create helper methods of `WSRunScanner::InitializeRange*()` to scan a text node r=m_kato
There are duplicated code in both `WSRunScanner::InitializeRangeStart()`
and `WSRunScanner::InitializeRangeEnd()`.  They scan text node to store
first and last NBSP positions and initialize start/end with found visible
character position.  This patch makes the loop clearer.

Depends on D79965

Differential Revision: https://phabricator.services.mozilla.com/D79966
2020-06-19 09:25:35 +00:00
jayati b5affdb9cf Bug 1612125 - Add close button and delay for milestone message. r=ewright,fluent-reviewers,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D71068
2020-06-19 08:54:07 +00:00
Jamie Nicol 2e61ade1af Bug 1646243 - Guard against null state in UiCompositorControllerParent::Initialize(). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D80205
2020-06-18 16:17:34 +00:00
Matthew Gregan 943cc5de15 Bug 1646579 - media/audioipc/client/src/ missing from rustfmt exclude list. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D80126
2020-06-19 06:22:28 +00:00
Nihanth Subramanya 37932bfc60 Bug 1646916 - [DoH rollout] Add missing enums to preferences API input params. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D80334
2020-06-19 06:13:57 +00:00
Coroiu Cristina 541f448731 Backed out 2 changesets (bug 1642149) for perma wpt failures at /fetch/cross-origin-resource-policy/iframe-loads.html
Backed out changeset bc5cfb22c1d7 (bug 1642149)
Backed out changeset c7a1a36d6d91 (bug 1642149)
2020-06-19 07:41:47 +03:00
Mike Hommey 7fc03d8e13 Bug 1600530 - Consider MOZ_OBJDIR from the environment when there is no mozconfig. r=nalexander
We currently only deal with MOZ_OBJDIR in the environment when there is
a mozconfig.

Differential Revision: https://phabricator.services.mozilla.com/D80308
2020-06-19 03:31:11 +00:00
Markus Stange 4c8b889f5e Bug 1646066 - Make partial valid rects work properly in NativeLayerCA. r=jrmuizel
This moves the clipping responsibility into the layer. It also brings back
assertions that make sure that no invalid content reaches the screen.
On the layer side I'm renaming validRect to displayRect, because at the time
NextSurface* is called, that rect is not yet valid.
This implementation also allows having valid content outside of the display
rect. So, for example, if you grow and shrink the display rect multiple times
but most of the outer parts are transparent, in theory this allows you to paint
the transparent pixels only once rather than every time the display rect
expands.

Differential Revision: https://phabricator.services.mozilla.com/D79842
2020-06-18 22:15:22 +00:00
Shane Caraveo 58230c7d4b Bug 1308251 fix builtin cert testing for addon install and update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D80330
2020-06-19 03:42:04 +00:00
Markus Stange 62a3d2cfa4 Bug 1592016 - Enable gfx.webrender.compositor by default on macOS. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D57071
2020-06-19 03:29:23 +00:00
Mark Hammond fdf9770703 Bug 1639781 - record a new 'streamID' guid in sync-tab telemetry. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D80148
2020-06-19 02:23:58 +00:00
Kagami Sascha Rosylight f424c247ba Bug 1640276 - Part 11: Mark nsINode as const in IsPointInSelection() r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D80177
2020-06-19 00:58:40 +00:00
Kagami Sascha Rosylight 8cf4dcb090 Bug 1640276 - Part 10: Mark nsINode as const in IsPointInRange() r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D80176
2020-06-19 00:58:12 +00:00
Kagami Sascha Rosylight 5dfce22c12 Bug 1640276 - Part 9: Mark nsINode as const in CompareBoundaryPoints() r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D80175
2020-06-19 00:57:55 +00:00
Kagami Sascha Rosylight eb37b889da Bug 1640276 - Part 8: Mark nsINode as const in ComparePoint() r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D80174
2020-06-19 00:57:27 +00:00
Dorel Luca d4c820fa0f Backed out changeset 3671a57712e4 (bug 1646780) for Browser-chrome failures in webrtc/browser_devices_get_user_media_tear_off_tab.js 2020-06-19 04:22:23 +03:00
Jeff Muizelaar dc6aa1980a Bug 1646842. Rollout to Intel Mac.
Differential Revision: https://phabricator.services.mozilla.com/D80266
2020-06-18 20:28:16 +00:00
Aaron Klotz b460ef68c0 Bug 1646453: Add MSCOM channel hook to enable profiler markers for COM IPC; r=Jamie,gerald
To intercept COM IPC, we provide an `IChannelHook` interface to
`CoRegisterChannelHook`, which gives us notifications about COM IPC that we can
use to insert profiler markers. Note that `IChannelHook` is not documented on
MSDN, however it is defined in the SDK header files.

When the profiler is available, once XPCOM is up:

* If the profiler is active, we immediately register the channel hook;
* Otherwise we register an observer and hold off on registering the hook until
  the profiler is started, at which point we register the hook and remove the
  observer.

Differential Revision: https://phabricator.services.mozilla.com/D80053
2020-06-19 00:40:18 +00:00
Chun-Min Chang ce90d9b622 Bug 1623971 - P19: Resolve fetching upon image is ready r=alwu
The FetchImageHelp doesn't need to decode the fetched image before
handing the image to its caller since the decoded raw data won't be used
in the caller. The ImagePromise can be resolved upon image is fetched
(ready) instead.

Differential Revision: https://phabricator.services.mozilla.com/D79736
2020-06-19 00:21:31 +00:00
Chun-Min Chang 202831ba5c Bug 1623971 - P18: Fetch next available image if fetching fails r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D79222
2020-06-19 00:21:23 +00:00
Chun-Min Chang ab055d290e Bug 1623971 - P17: Set media-session's MediaImage to the SMTC interface r=alwu,thomasmo
This patch does the following things:
1. Use `FetchImageHelper` to fetch the MediaImage defined in
   media-session
2. Upon the above image is fetched, set it to the SMTC's thumbnail

Differential Revision: https://phabricator.services.mozilla.com/D77893
2020-06-19 00:21:21 +00:00
Chun-Min Chang b0686b64ff Bug 1623971 - P16: Add a method to set image to SMTC thumbnail r=alwu,thomasmo
Add a method to set an image to SMTC's thumbmail asynchronously

Differential Revision: https://phabricator.services.mozilla.com/D77892
2020-06-19 00:21:13 +00:00
Chun-Min Chang da1eff4bed Bug 1623971 - P15: Move Maybe.h from .h to .cpp r=alwu
`Maybe` is used in the .cpp file only.

Differential Revision: https://phabricator.services.mozilla.com/D77891
2020-06-19 00:21:09 +00:00
Chun-Min Chang b4e0d2cd60 Bug 1623971 - P14: Replace `\` by `/` in `#include` r=alwu
`\` is a window style in file path but Mozilla uses `/` instead.

Differential Revision: https://phabricator.services.mozilla.com/D77890
2020-06-19 00:21:02 +00:00
Chun-Min Chang f1d759caf7 Bug 1623971 - P13: Apply the same format for comments r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D77889
2020-06-19 00:21:00 +00:00
Chun-Min Chang 54e9d9d1b7 Bug 1623971 - P12: Reorganize member functions r=alwu
- Group related functions together
- Sync the function order in .cpp and .h (except destructor)
- Rename `Update` to `RefreshDisplay`

Differential Revision: https://phabricator.services.mozilla.com/D77888
2020-06-19 00:20:52 +00:00
Chun-Min Chang b064fbbf37 Bug 1623971 - P11: Make methods used privately private r=alwu
Some functions are listed as public methods but they are only used
privately. It's better to make them private.

Differential Revision: https://phabricator.services.mozilla.com/D77887
2020-06-19 00:20:42 +00:00
Chun-Min Chang edf7537b1a Bug 1623971 - P10: Assert mDisplay instead of mInitialized r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D77886
2020-06-19 00:20:40 +00:00
Chun-Min Chang 3c509006f9 Bug 1623971 - P9: Assert mControls instead of mInitialized r=alwu
By assert mConrols instread of mInitialized in SetControlAttributes, we
no longer need to call SetControlAttributes after setting mInitialized
to true. Also, this patch change the timing to set mInitialized to true
so we can call SetControlAttributes before RegisterEvent. By doing so,
we no longer need to call UnregisterEvents when SetControlAttributes
fails.

Differential Revision: https://phabricator.services.mozilla.com/D77885
2020-06-19 00:20:33 +00:00
Chun-Min Chang fefd30bc04 Bug 1623971 - P8: Rework SMTP opening r=alwu
- Add error messages so it's easier to debug when the error occurs
- It's better to unregister the event listener if failed to open SMTP.
  (In release, the key-event listener may be alive when the SMTP isn't
  initialized successfully)

Differential Revision: https://phabricator.services.mozilla.com/D77884
2020-06-19 00:20:30 +00:00
Chun-Min Chang 3fbdf076f7 Bug 1623971 - P7: Rename `IMSTCDisplayUpdater` to `ISMTCDisplayUpdater` r=alwu
Fix typo: `MSTC` should be `SMTC`.

Differential Revision: https://phabricator.services.mozilla.com/D77883
2020-06-19 00:20:23 +00:00
Chun-Min Chang 8ee3080239 Bug 1623971 - P6: No need to update metadata upon opening SMTC r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D77882
2020-06-19 00:20:15 +00:00
Chun-Min Chang e9c4297e44 Bug 1623971 - P5: The arguments to `SetMusicMetadata` must be non-null r=alwu
`HStringRefernece` must be constructed with a non-null `wchar_t*`. The
raw pointer returned from `nsString::get()` is a non-null address so
it's ok to add an assertion in `SetMusicMetadata`.

Differential Revision: https://phabricator.services.mozilla.com/D77881
2020-06-19 00:20:13 +00:00
Chun-Min Chang f05c806c37 Bug 1623971 - P4: No need to set default metadata when initializing r=alwu
Metadata would be reset every time when `SetMetadata` is called.

Differential Revision: https://phabricator.services.mozilla.com/D77880
2020-06-19 00:20:05 +00:00
Chun-Min Chang be44e3f059 Bug 1623971 - P3: Return false when `SetMusicMetadata` fails r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D77879
2020-06-19 00:20:03 +00:00
Chun-Min Chang 9edb1ef9be Bug 1623971 - P2: Delete comments r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D77878
2020-06-19 00:19:55 +00:00
Chun-Min Chang 991593b0d7 Bug 1623971 - P1: Replace `Maybe<const wchar_t*>` by `const wchar_t*` r=alwu
- The maybe value could be `nullptr` even it's `Some`
- `Nothing` can be replaced by `nullptr`.

Differential Revision: https://phabricator.services.mozilla.com/D77877
2020-06-19 00:19:48 +00:00
Scott 4a120db4c8 Bug 1632574 - Turn Pocket stories on by default in GB r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D78722
2020-06-10 18:04:12 +00:00
Shane Caraveo c5949a0d1a Bug 1308251 relax builtincert requirement if we require signed extensions r=mossop,dveditz
This changes the default for requiring builtin certs for extension install and update if we also
require signed extensions.  For builds that allow unsigned extensions, the default still requires builtin certs.

Differential Revision: https://phabricator.services.mozilla.com/D80301
2020-06-19 00:10:58 +00:00
Gijs Kruitbosch f457ccd655 Bug 1646780 - use a template to wrap the identity popup while it's not needed, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D78894
2020-06-19 00:02:11 +00:00
Byron Campen [:bwc] 61e3e355eb Bug 1646838: Rename this variable. r=mjf
Depends on D80277

Differential Revision: https://phabricator.services.mozilla.com/D80278
2020-06-18 23:44:37 +00:00
Byron Campen [:bwc] 43dd35b65d Bug 1646838: Rewrite this to use c++ structured bindings, and pick better names. r=mjf
Depends on D80275

Differential Revision: https://phabricator.services.mozilla.com/D80277
2020-06-18 23:46:13 +00:00
Byron Campen [:bwc] 0d162c327d Bug 1646838: Replace this function with a better named one. r=mjf
Depends on D80272

Differential Revision: https://phabricator.services.mozilla.com/D80275
2020-06-18 23:47:47 +00:00
Byron Campen [:bwc] 9a4fa6ba9e Bug 1646838: This enum and function are not even used, so removing them. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D80272
2020-06-18 23:43:29 +00:00
Mike Hommey eab19f0855 Bug 1643258 - Avoid the use of the __cxa_thread_atexit_impl symbol. r=froydnj
When linking a weak symbol in an object against a library where the
symbol is provided with a version, the final binary get a weak versioned
symbol reference.

It turns out weak versioned symbols still make the dynamic linker need
the symbol version, even if all symbols needed with that version are
weak.

Practically speaking, that means with bug 1634204, we now end up with
a weak versioned symbol reference to __cxa_thread_atexit_impl with
version GLIBC_2.18, and glibcs without the symbol can't fulfil that
version, even though the weak symbol is the only thing we need from that
version.

This means the check_binary changes in bug 1634204 are too
relaxed, so we revert them (although we keep the easier to read
conditions in check_dep_versions).

We also introduce a hack in stdc++compat.cpp (although it's not
technically entirely about libstdc++ compat) so that we avoid the weak
symbol reference while keeping the intended baseline for libstdc++ and
glibc.

Differential Revision: https://phabricator.services.mozilla.com/D79773
2020-06-18 23:45:41 +00:00
Kartikaya Gupta c488788746 Bug 1645937 - Add reftest. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D80055
2020-06-18 12:17:19 +00:00
Kartikaya Gupta afa70400fc Bug 1645937 - Adjust when the root scrollframe gets a clip. r=tnikkel
With containerless scrolling we generally always want this clip on the layer,
since there is no container. However on Android apparently we don't want this,
because it seems to break the setVerticalClipping API used by the dynamic
toolbar.

Differential Revision: https://phabricator.services.mozilla.com/D80054
2020-06-18 22:47:13 +00:00
Edgar Chen 03ca9b3c17 Bug 1635784 - Part 5: Rename mTabSetsCursor; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80304
2020-06-18 23:15:22 +00:00