To do this we look at the extension on the content disposition filename, if present, or the extension
of the url, and, if it is .pdf, we assume that the file will be a pdf.
Differential Revision: https://phabricator.services.mozilla.com/D147409
Drop the com.apple.security.cs.allow-dyld-environment-variables entitlement to disallow use of dyld environment variables in signed production builds.
Leave the entitlement in for signed developer builds.
Firefox gtests depend on the use of DYLD_LIBRARY_PATH. However, testing infrastructure does not run gtests on signed builds and therefore gtests are not impacted by this change. gtests could be run on signed developer builds in the future which will still allow dyld environment variables after this change.
browser.production.entitlements.xml and plugin-container.production.entitlements.xml are not used, but being kept up to date.
Differential Revision: https://phabricator.services.mozilla.com/D148324
It's used by the DevTools to emulate touch events from mouse events in the
responsive design mode. Therefore, we should make it accept IPC messages
even if it's not in the automation mode, but it's in the responsive design mode.
Differential Revision: https://phabricator.services.mozilla.com/D148365
This is used by in the normal mode (i.e., not in the automation mode) to
emulate a hover at locking or unlocking a pointer capture. If it'd be possible,
we should make it handle only in the remote process, but for now, we should
make it relax for safer fix in the branches. I think that it's acceptable
because synthesizing only native mousemove events is safer than the other events.
Differential Revision: https://phabricator.services.mozilla.com/D148364
Highlights
- Network monitoring is turned off by default in browser console/ browser toolbox console on initial load.
- A new "Enable Network Monitoring" setting is added to enable users toggle on an off as they desire.
- The user setting is persisted across toolbox reopens.
Differential Revision: https://phabricator.services.mozilla.com/D145234
Both DMABUFSurfaceImage and DMABufSurface use its own headless GL context to create GL texture from DMABufSurface.
Let's unity that in DMABufSurface and use only one shared GL context for it.
Depends on D146989
Differential Revision: https://phabricator.services.mozilla.com/D146990
This patch updates browsertime to add the following PR: https://github.com/sitespeedio/browsertime/pull/1798
It enables us to use a `--debug` flag in browsertime to pause test execution after each script iteration, and provides the ability for developers to pause it on their own by adding `debug.breakpoint(name)` calls to the test script. The execution can be unpaused by running `window.browsertime.pause = false` in the browser console.
The devtools panel is auto-opened when in debug-mode, and the browser is detached so it won't auto-close when you hit failures in raptor/browsertime.
This can only be used locally so we now raise a parser error when it's provided in CI.
Differential Revision: https://phabricator.services.mozilla.com/D148261
Even tho it is a configuration error, it is extremely confusing to click
"Allow" in Firefox and get a "denied access" error.
Instead fall back to MLS once we error, like other location providers
do.
MANUAL PUSH: Maciej doesn't have editbugs to approve patches yet, see
bug 1772813.
Differential Revision: https://phabricator.services.mozilla.com/D147864
Because the saved frame pointer is not yet in the frame layout, add the offset
manually. We can likely simplify this later.
Differential Revision: https://phabricator.services.mozilla.com/D148254
We were doing this on 32-bit x86 but not other platforms.
This complicates the epilogue code a bit because we have to pop the frame pointer
now, but once we have frame pointers everywhere we can simplify this to the standard
epilogue sequence.
On x64, replace the use of `r9` with `FramePointer`. This is now very similar to x86.
Differential Revision: https://phabricator.services.mozilla.com/D148253
There are some subtle differences between x86 and x64, in particular on x64 we were
adding 1 to `argc` immediately and on x86 we did this later.
This patch makes the x64 code more similar to x86, but because x86 has the pushed
frame pointer already, there are still some different computations. That is addressed
more in the next patch.
Differential Revision: https://phabricator.services.mozilla.com/D148252