Because with Fission enabled the "DOMWindowCreated" event
is emitted way early it can be used to detect when a new
frame has been created.
But with Fission disabled the event is received too late,
and as such the appropriate network requests and responses
for the document have already been done. That means that
Puppeteer actually hangs waiting for them.
As such keep using the "webnavigation-create" observer
notification for Fission-disabled builds for now.
Differential Revision: https://phabricator.services.mozilla.com/D127521
The ability to restrict hit-tests by pipeline_id isn't used by
Gecko or wrench. Remove it to simplify landing some of the upcoming
spatial tree work.
Differential Revision: https://phabricator.services.mozilla.com/D127608
toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc:1761:17: error: use of undeclared identifier 'ReadTaskString'
toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc:1766:9: error: use of undeclared identifier 'ReadTaskString'
toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc:1770:19: error: use of undeclared identifier 'ReadTaskString'
toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc:1774:18: error: use of undeclared identifier 'ReadTaskString'
toolkit/crashreporter/google-breakpad/src/processor/stack_frame_symbolizer.cc:132:10: error: 'return' will never be executed [-Werror,-Wunreachable-code-return]
Differential Revision: https://phabricator.services.mozilla.com/D127240
This test is based on a test case attached in bug 1585378.
This test has to be a browser mochitest since we need to drag the root content
vertical scroll thumb during the content process is under heavy load to build
a tons of display items.
Differential Revision: https://phabricator.services.mozilla.com/D127033
Normally, a private browsing session doesn't store any data permamently. This
extends to permissions, which are cleared at the end of the browsing session
(i.e. when the GeckoRuntime is closed or killed).
There are cases, however, where we want to keep the data around. For example
Focus needs to store tracking protection permissions permanently.
For this reason, this patch introduces a new API that allows embedders to set
permanent permissions for private browsing GeckoSession.
This patch also always sends a tracking protection permission for every page
load, this allows embedders to set the tracking protection permission without
using the deprecated API `setPermission`, this was an oversight during the
implementation of the new StorageController API.
Differential Revision: https://phabricator.services.mozilla.com/D126546
By default nsIPermissionManager will not persist data in private browsing.
There are cases however, like private-only-browser Firefox Focus, where we
would want to be able to persist tracking protection exceptions permanently.
This patch adds a new method called
`addFromPrincipalAndPersistInPrivateBrowsing` which allows setting permanent
permissions in private browsing..
Differential Revision: https://phabricator.services.mozilla.com/D126544
This patch adds a new test service class that can be used to more easily write
a test that needs to run multiple runtimes or needs to reset the runtime.
The service also includes an optional Instance class that can be used to
control the service and send and receive messages from the remote runtime.
Differential Revision: https://phabricator.services.mozilla.com/D126542
Previously we maintained a list of extensions to disable when running pull/update
to avoid broken extensions inhibiting `hg` from running. This list was never
updated when `evolve` was added as a commonly installed extension nor when
`js-format` and `clang-format` were written. This commit changes the update
code to use `HGPLAIN=1` in the environment which will disable all extensions
from being enabled.
Differential Revision: https://phabricator.services.mozilla.com/D127569
Updated the hover appearance of currently downloading items, to mimic that of items that are already downloaded, when the improvements-to-downloads pref is turned on.
Differential Revision: https://phabricator.services.mozilla.com/D127342
Pushing the clip for the opacity item into the clip manager has a non-trivial cost, so we get better performance if we handle flattening the item before that.
Differential Revision: https://phabricator.services.mozilla.com/D125633
* Adjust the test's assertions to expect the download panel to open and a new download entry to be created when the `browser.download.improvements_to_download_panel` pref is true
Differential Revision: https://phabricator.services.mozilla.com/D127194
Bug 1718629 did this for the maximize button. This patch does the same for minimize and close, which we are switching to for consistent tooltip styling.
Differential Revision: https://phabricator.services.mozilla.com/D125625