This is the first of two patches in this series that removes a large amount of now dead code from dom/plugins as part of removing all NPAPI plugin support. This patch removes re-entrancy guards we have for Windows OnPaint messages, as the guards were only needed for windowed plugins.
Differential Revision: https://phabricator.services.mozilla.com/D107144
Removes NPAPI plugin support from accessible/, as part of removing all of NPAPI plugin support. This was the only reason for HTMLWin32ObjectAccessible was needed, so we get rid of that, too.
Differential Revision: https://phabricator.services.mozilla.com/D107143
Removes the mac plugin_interposer (and the related NSCursorInfo behavior), as part of removing all of NPAPI plugin support, since it has no other clients.
Differential Revision: https://phabricator.services.mozilla.com/D107142
Removes the PPluginSurface actor used for windowed plugins, as part of removing all of NPAPI plugin support. SharedDIB is then unused and is also removed.
Differential Revision: https://phabricator.services.mozilla.com/D107140
Removes NPAPI plugin tests in dom/plugins, as well as the TestPlugin, as part of removing all of NPAPI plugin support. A small handful of tests that are still relevant remain in that directory.
Differential Revision: https://phabricator.services.mozilla.com/D107138
Removes NPAPI plugin features from tests outside of dom/plugins. Some tests are updated to avoid NPAPI behavior and others are deleted if they no longer offer anthing useful.
Differential Revision: https://phabricator.services.mozilla.com/D107134
This also fixes links in top or in-process subframes and out-of-process subframes in extensions sidebars and panels so that they open in new tabs.
Differential Revision: https://phabricator.services.mozilla.com/D110102
After bug 1697607 and the subsequent pref removal this code only runs in
the parent process.
After bug 1699088 the caller takes care of caching. So there should be
no need to cache stuff ourselves.
Differential Revision: https://phabricator.services.mozilla.com/D110912
If a custom `topsrcdir` is needed, it can be directly passed in.
I don't see how a separate `mozilla_dir` parameter is necessary - it
appears redundant to me.
Differential Revision: https://phabricator.services.mozilla.com/D110841
This is a preliminary step that is needed in order for the following patch to be safe. (It's
mostly just plumbing, although the patch looks big because we need to pass the index through
so many functions.)
The issue is that loading a font resource involves a couple of tasks that happen asynchronously -
fetching the data from the network, and decoding/sanitizing the font data. We have an implicit
assumption that once a font load has been initiated, the state of the associated gfxUserFontEntry
will not change; in particular, we depend on mSrcIndex remaining constant, because we may use it
to index into the mSrcList array and access the gfxFontFaceSrc record again in the various
completion tasks that are executed after the async steps finish.
But the following patch breaks this assumption, because it may reset mSrcIndex at arbitrary times
when we discover that we need to re-resolve the @font-face to potentially recognize a src:local()
resource that was earlier in the list, but was previously unavailable. If this happens while
a font-load is doing its off-main-thread work, then when it completes, it will end up accessing
the wrong gfxFontFaceSrc record, which would result at least in incorrect behavior, but can also
result in a crash (e.g. if the record is of the wrong type altogether, such as trying to use the
principal or URI fields from a record of type src:local).
To avoid this problem, we should pass the source index at the time the font load is initiated
through to the OMT tasks and back to their main-thread completion routines, so that we do not
depend on the field in the gfxUserFontEntry remaining frozen. This makes the loading process
safe even if the source index in the entry gets reset while loading tasks are in progress.
Differential Revision: https://phabricator.services.mozilla.com/D110911
This enables the following configuration on autoland/central:
> test-linux1804-64-asan/opt-web-platform-tests-print-reftest-fis-e10s
Depends on D110836
Differential Revision: https://phabricator.services.mozilla.com/D110837
This enables the following configuration on autoland/central:
> test-windows10-64-qr/debug-web-platform-tests-print-reftest-fis-e10s
Differential Revision: https://phabricator.services.mozilla.com/D110836
This enables the following configuration on autoland/central:
> test-linux1804-64-asan/opt-web-platform-tests-reftest-fis-e10s
Depends on D110830
Differential Revision: https://phabricator.services.mozilla.com/D110831
This enables the following configuration on autoland/central:
> test-windows10-64-qr/debug-web-platform-tests-reftest-fis-e10s
Differential Revision: https://phabricator.services.mozilla.com/D110830
This enables the following configuration on autoland/central:
> test-linux1804-64-asan/opt-web-platform-tests-crashtest-fis-e10s
Differential Revision: https://phabricator.services.mozilla.com/D110828
This enables the following configuration on autoland/central:
> test-windows10-64-qr/debug-web-platform-tests-crashtest-fis-e10s
Differential Revision: https://phabricator.services.mozilla.com/D110556
This adds the following configurations on central and autoland:
> test-linux1804-64-asan/opt-web-platform-tests-fis-e10s
Depends on D110553
Differential Revision: https://phabricator.services.mozilla.com/D110554
This adds the following configurations on central and autoland:
> test-windows10-64-qr/debug-web-platform-tests-fis-e10s
Differential Revision: https://phabricator.services.mozilla.com/D110553
This makes the snapback less aggressive, and feels more like Safari to me.
Reducing the stiffness makes the animation take longer to complete.
To counteract the longer time, I've also reduced the damping a little bit;
reducing the damping makes the animation complete a little more quickly.
Depends on D110845
Differential Revision: https://phabricator.services.mozilla.com/D110846
CLOSED TREE
Backed out changeset 813c7ce3607b (bug 1395819)
Backed out changeset 46083fddeb0d (bug 1395819)
Backed out changeset 990441f04a86 (bug 1395819)
Previously the test only visited a single site.
We now capture metrics over a user journey of visiting 5 sites cold and then the same sites warm.
This gives a more representative view of performance.
Differential Revision: https://phabricator.services.mozilla.com/D110833