The patch it reverted was causing problems while running tests with
ASan, but, from a try push, it seems those are not happening anymore.
Presumably, the issue was either fixed on the workers (whatever that
might have been), or in newer versions of clang.
Either way, we're not using clang 14 for ASan builds either, so we can
remove the patch from clang 14 too.
Differential Revision: https://phabricator.services.mozilla.com/D189908
The patch it reverted was causing problems while running tests with
ASan, but, from a try push, it seems those are not happening anymore.
Presumably, the issue was either fixed on the workers (whatever that
might have been), or in newer versions of clang.
Either way, we're not using clang 14 for ASan builds either, so we can
remove the patch from clang 14 too.
Differential Revision: https://phabricator.services.mozilla.com/D189908
Some more recent fixes upstream unbroke cross-compiling the windows
compiler-rt, so we don't need the reversal patch anymore. We also don't
need it on clang 14 either because we don't build the windows
compiler-rt there.
Differential Revision: https://phabricator.services.mozilla.com/D189881
Rather than selecting all clips to be drawn in the source or target space,
allow them to be separate masks when required. In the common case, the spaces
match and so all masks get drawn on to the picture surface. In the rare case
of a mask that requires drawing in source surface space, _and_ a mask in a
parent non-aligned space, support rendering and applying them as separate masks.
Differential Revision: https://phabricator.services.mozilla.com/D189885
NonDraggableView responds to an undocumented selector
_opaqueRectForWindowMoveWhenInTitlebar to determine if mouse downs
within its bounds should drag the window. Since some of our
NonDraggableViews are used to represent the tabs, which should prevent
window dragging, we want to return an NSRect here which represents only
the view's visible bounds. Prior to this patch, we were returing [self
visibleRect], which is calculated by the ancestor clip chain. That's
mostly what we want, but it relies upon the NonDraggableView clipping to
its own bounds. There is a property that sort-of conveys this,
clipsToBounds, but as documented it implies that it only affects the
display of subviews. Since we are already overridding this undocumented
method, we just return the view's bounds here instead of setting the
clipsToBounds property which implies that we are expecting to add
subviews to the NonDraggableViews. This keeps the complexity all in one
place.
Differential Revision: https://phabricator.services.mozilla.com/D189866
This patch fixes an issue where the PerfDocLogger only produced an error when any file was changed which results in some odd behaviours. Now, when no files are changed, we produce a lint error that doesn't specify the file that contains the error. At the same time, a test is added for this.
Differential Revision: https://phabricator.services.mozilla.com/D189934
TextureHostWrapperD3D11 is created in WebRenderImageHost::GetAsTextureHostForComposite() if possible. TextureHostWrapperD3D11 usage could reduce ID3D11Texture2D usage compared to Bug 1753373. And its usage adds video overlay support of DRM protected video.
The TextureHostWrapperD3D11 wraps YUV BufferTextureHost and instead exposes DXGITextureHostD3D11 to WebRender. The DXGITextureHostD3D11 holds GpuProcessTextureId of ID3D11Texture2D. The ID3D11Texture2D is allocated and data updated in TextureUpdate thread.
If the ID3D11Texture2D is not ready, a wait happened by calling GpuProcessD3D11TextureMap::WaitTextureReady() in Render thread.
Differential Revision: https://phabricator.services.mozilla.com/D189882
This confirmation dialog is introduced on Windows version 22621.2361.
This commit disables the pinning in the installer on versions newer
than that. The onboarding process should do the pinning: in this
context, the confirmation dialog makes more sense.
Differential Revision: https://phabricator.services.mozilla.com/D189324
This was added for bug 1659060 and bug 1679314, but it is effectively
superseded by bug 1755748, which makes document.hidden false if PiP is
used.
Covered by toolkit/content/tests/browser/browser_media_wakelock_PIP.js
Differential Revision: https://phabricator.services.mozilla.com/D189940
Starting with Windows 11 22H2, Microsoft has made internal changes in
msctf.dll. The TF_Notify function, also known as CtfImmNotify from
imm32.dll, uses a new convention for its third argument. These changes
are incompatible with current versions of ZoneAlarm Anti-Keylogger,
resulting in crashes in our main process.
This patch converts messages forwarded by ZoneAlarm Anti-Keylogger to
the new convention. If we detect the product and an incompatible version
of msctf.dll, then we hook TF_Notify and detect any message using the
old convention, and convert it to the new convention.
Differential Revision: https://phabricator.services.mozilla.com/D189518
This will highlight all the slow operations happening on reloading a pretty printed location:
* re-pretty printing the source
* slow column breakpoint selectors when a breakpoint is set on a large file
* slow parser worker to compute symbols for scope on pause
Differential Revision: https://phabricator.services.mozilla.com/D189130
We are receiving crashes that show that our NtReadFile hook is
incompatible with a DLL from Symantec. The DLL installs its own hook
after ours has been applied, thereby breaking it. This patch is an
attempt to avoid these crashes, by disabling the IOInterposer if we
detect said DLL.
Differential Revision: https://phabricator.services.mozilla.com/D189832
The statement "pushed 3 commits" can be confusing because the user has
actually pushed 2 of their own commits, plus one try config commit. Clarify
this in the command output.
Differential Revision: https://phabricator.services.mozilla.com/D189944