Commit Graph

752120 Commits

Author SHA1 Message Date
David Parks
311a1c73dd Bug 1682030 - Remove some dead NPAPI code from dom/plugins and related spots. r=jmathies,mconley,ipc-reviewers,mccr8
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
2021-04-06 19:28:12 +00:00
David Parks
4176faa40b Bug 1682030 - Remove NPAPI plugin support from accessible. r=eeejay
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
2021-04-06 19:28:11 +00:00
David Parks
1ee7be383b Bug 1682030 - Remove OSX interposer. r=haik
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
2021-04-06 19:28:11 +00:00
David Parks
d05df71761 Bug 1682030 - Remove PPluginWidget. r=jmathies,ipc-reviewers,nika
Removes the NPAPI plugin widget actor and its proxy, as part of removing all of NPAPI plugin support.

Differential Revision: https://phabricator.services.mozilla.com/D107141
2021-04-06 19:28:11 +00:00
David Parks
1c4f352164 Bug 1682030 - Remove PPluginSurface. r=jmathies,bas
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
2021-04-06 19:28:10 +00:00
David Parks
77600afb6d Bug 1682030 - Remove NPAPI from dom/plugins tests. r=jmathies
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
2021-04-06 19:28:10 +00:00
David Parks
2b32f597cb Bug 1682030 - Remove NPAPI from tests outside of dom/plugins. r=Gijs,cmartin
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
2021-04-06 19:28:09 +00:00
Barret Rennie
33f9b386d8 Bug 1696528 - Use IOUtils.{read,write}JSON in ClientID.jsm r=Gijs,emalysz
Differential Revision: https://phabricator.services.mozilla.com/D109671
2021-04-06 18:55:56 +00:00
Neil Deakin
5ef8aadb93 Bug 1701668, remove WebBrowserChromeChild actor, r=agi
Differential Revision: https://phabricator.services.mozilla.com/D110876
2021-04-06 18:52:47 +00:00
Neil Deakin
54687b47ef Bug 1701668, remove nsIWebBrowserChrome3 interface, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D110103
2021-04-06 18:52:47 +00:00
Neil Deakin
4ca286a995 Bug 1701668, remove onBeforeLinkTraversal implementations and handle links in docshell, r=kmag,mixedpuppy,geckoview-reviewers,agi
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
2021-04-06 18:52:46 +00:00
Neil Deakin
54284e502d Bug 1701668, remove shouldLoadURI and shouldLoadURIInThisProcess methods now that all implementers return true, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D110101
2021-04-06 18:52:46 +00:00
Byron Campen [:bwc]
0049349e84 Bug 1702512: Add 53 to the list of allowed ports for webrtc. r=mjf
This is sometimes used by deployments that want to work around NATs that
block UDP.

Depends on D110948

Differential Revision: https://phabricator.services.mozilla.com/D110949
2021-04-06 18:49:48 +00:00
Byron Campen [:bwc]
b686a3669d Bug 1702512: Test cases for bug. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D110948
2021-04-06 18:49:48 +00:00
Iain Ireland
f2f47b4cfe Bug 1702465: Limit hoisting of arguments bounds checks r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D110644
2021-04-06 18:47:02 +00:00
Markus Stange
dbc8fb71dc Bug 1700839 - Make sure that search field cells render the magnifying glass icon at the start of the field. r=mac-reviewers,bradwerth
Depends on D110971

Differential Revision: https://phabricator.services.mozilla.com/D110972
2021-04-06 18:40:43 +00:00
Markus Stange
8cfecc3315 Bug 1700839 - Use the same NSSearchFieldCell object for both toolbar-style and non-toolbar-style searchfields. r=mac-reviewers,bradwerth.
Differential Revision: https://phabricator.services.mozilla.com/D110971
2021-04-06 18:40:43 +00:00
Andrei Oprea
2bcf26f3c0 WIP: Bug 1700760 - Use the nimbus-desktop-defaults collection for Nimbus defaults r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D110904
2021-04-06 18:15:35 +00:00
Cosmin Sabou
a9dd657e32 Backed out 18 changesets (bug 1700076, bug 1699691) for causing windows xpcshell failures on test_trr_cancel.js. CLOSED TREE
Backed out changeset 5f3eb0797c06 (bug 1699691)
Backed out changeset 768e56ccd244 (bug 1699691)
Backed out changeset d89075d72c83 (bug 1700076)
Backed out changeset fcf92dd5158a (bug 1700076)
Backed out changeset 8094a7ffc6a4 (bug 1700076)
Backed out changeset 9bc2539a1f5d (bug 1700076)
Backed out changeset fcf27f3c7b69 (bug 1700076)
Backed out changeset 753f4df63689 (bug 1700076)
Backed out changeset 1315c00d2137 (bug 1700076)
Backed out changeset 776c44be95f5 (bug 1700076)
Backed out changeset 2b8d8d63cacd (bug 1700076)
Backed out changeset bc92b34e5d71 (bug 1700076)
Backed out changeset 016c856573da (bug 1700076)
Backed out changeset c085324cb20e (bug 1700076)
Backed out changeset 26dc88b74377 (bug 1700076)
Backed out changeset 8dc21acb87f9 (bug 1700076)
Backed out changeset f36e9cb05851 (bug 1700076)
Backed out changeset fb3f2329ca37 (bug 1700076)
2021-04-06 21:49:20 +03:00
Dão Gottwald
9115c44d2f Bug 1695292 - update tabstrip scroll buttons hover state to be consistent with Proton design. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110933
2021-04-06 14:18:18 +00:00
Dão Gottwald
34e8f87e4d Bug 1696438 - Fix pinned tab positioning. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110909
2021-04-06 14:18:18 +00:00
Emilio Cobos Álvarez
c817989481 Bug 1703220 - Remove unnecessary caching in windows lookandfeel. r=cmartin
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
2021-04-06 17:54:23 +00:00
Francesco Lodolo (:flod)
830a1bba6e Bug 1703003 - Migrate Bookmark panel Cancel/Remove buttons to Fluent and fix capitalization, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110894
2021-04-06 17:15:31 +00:00
Mitchell Hentges
7b81541330 Bug 1703079: Remove redundant, unused "mozilla_dir" argument r=sheehan
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
2021-04-06 17:03:41 +00:00
Neil Deakin
132adf7778 Bug 1690916, use sentence case for learn more link, r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D110874
2021-04-06 17:01:54 +00:00
Marco Bonardo
3f7cec1751 Bug 1661365. Test. r=Gijs
Depends on D94268

Differential Revision: https://phabricator.services.mozilla.com/D94269
2021-04-06 16:54:41 +00:00
Francesco Lodolo (:flod)
62ea0c2a23 WIP: Bug 1703257 - Add Tajik (tg) to Nightly builds r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D110928
2021-04-06 16:30:22 +00:00
Cosmin Sabou
cf445b7f4d Bug 1701927 - Fix perfdocs linting opt failure. a=lint-fix 2021-04-06 21:09:00 +03:00
Jonathan Kew
7cf77e2328 Bug 1694123 - Ensure user fonts with src:local() are refreshed after a font-list update, even if the local font lookup previously failed. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D106511
2021-04-06 16:23:17 +00:00
Jonathan Kew
87da9bf675 Bug 1694123 - Pass userfont source index to font loader and decoder tasks, to avoid potential race with the field in the gfxUserFontEntry being reset on the main thread. r=layout-reviewers,emilio
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
2021-04-06 16:23:17 +00:00
Gijs Kruitbosch
3cf3cf1042 Bug 1702593 - show origin instead of 'are you sure?' for beforeunload dialogs, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D110942
2021-04-06 16:20:47 +00:00
Mahak
e302eb2afc Bug 1703125 - Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser/base/content/test/popupNotifications/head.js. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D110950
2021-04-06 16:16:10 +00:00
Blake Winton
e1c2a8125f Bug 1703254 - Hide compact mode for people who don't use it, and Density menu when there's only one option. r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D107913
2021-04-06 16:00:05 +00:00
Andrew Halberstadt
e5a6aa0199 Bug 1696042 - [ci] web-platform-test-print-reftest: Run fission linux64-asan/opt on trunk, r=jgraham
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
2021-04-06 15:57:43 +00:00
Andrew Halberstadt
fcde9bb5f7 Bug 1696042 - [ci] web-platform-test-print-reftest: Run fission windows10-qr/debug on trunk, r=jgraham
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
2021-04-06 15:57:42 +00:00
Andrew Halberstadt
3c32a316fc Bug 1696042 - [ci] web-platform-test-reftest: Run fission linux64-asan/opt on trunk, r=jgraham
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
2021-04-06 15:57:42 +00:00
Andrew Halberstadt
e9b8a965e5 Bug 1696042 - [ci] web-platform-test-reftest: Run fission windows10-qr/debug on trunk, r=jgraham
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
2021-04-06 15:57:42 +00:00
Andrew Halberstadt
f2e209e856 Bug 1696042 - [ci] web-platform-test-crashtest: Run fission linux64-asan/opt on trunk, r=jgraham
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
2021-04-06 15:57:41 +00:00
Andrew Halberstadt
5eb6ed49a2 Bug 1696042 - [ci] web-platform-test-crashtest: Run fission windows10-qr/debug on trunk, r=jgraham
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
2021-04-06 15:57:41 +00:00
Andrew Halberstadt
63b668bb3c Bug 1696042 - [ci] web-platform-test: Run fission linux64-asan/opt on autoland and mozilla-central r=jgraham
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
2021-04-06 15:57:40 +00:00
Andrew Halberstadt
dc01891600 Bug 1696042 - [ci] web-platform-test: Run fission debug on autoland and mozilla-central, r=jgraham
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
2021-04-06 15:57:40 +00:00
Markus Stange
c51257646d Bug 1702978 - Reduce springiness of the overscroll snapback animation. r=botond
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
2021-04-06 15:50:10 +00:00
Markus Stange
48163dbe45 Bug 1702978 - Reduce maximum allowed velocity when initiating overscroll snapback animation. r=botond
This makes it so that quick flings don't create such a large initial overscroll gap.

Before: https://share.firefox.dev/3fFP5Kp
After: https://share.firefox.dev/3fHA4b1

The "before" profile shows a jump from -65 to -320 in the overscroll amount, when
the animation is started, and the "after" profile shows a jump from -57 to -201.

Depends on D110844

Differential Revision: https://phabricator.services.mozilla.com/D110845
2021-04-06 15:50:10 +00:00
Markus Stange
23b39e4a0f Bug 1702978 - Add prefs for some of the overscroll physics aspects. r=botond
Depends on D110843

Differential Revision: https://phabricator.services.mozilla.com/D110844
2021-04-06 15:50:09 +00:00
Markus Stange
9361d6f10d Bug 1702978 - Add more overscroll logging. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D110843
2021-04-06 15:50:09 +00:00
Michael Kohler
6a65e369eb Bug 1700984 - Remove excessive separators in Page context menu r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110859
2021-04-06 15:50:07 +00:00
Alexandru Michis
8c30456526 Backed out changeset 8d8aa8575c1d (bug 1701306) for causing multiple bc failures.
CLOSED TREE
2021-04-06 19:45:27 +03:00
Alexandru Michis
0a0ec7a076 Backed out 2 changesets (bug 1695292, bug 1696438) for causing xpcshell failures in test_trr_cancel.js
CLOSED TREE

Backed out changeset 48c2e15e0472 (bug 1695292)
Backed out changeset 4b1eb7d5fe2d (bug 1696438)
2021-04-06 19:20:34 +03:00
Alexandru Michis
6cc119870c Backed out 3 changesets (bug 1395819) for causing cpp failures in MediaManager.cpp
CLOSED TREE

Backed out changeset 813c7ce3607b (bug 1395819)
Backed out changeset 46083fddeb0d (bug 1395819)
Backed out changeset 990441f04a86 (bug 1395819)
2021-04-06 19:13:45 +03:00
Andrew Creskey
27a084549a Bug 1701927 - Extend the PerfStats test to be a user journey, capturing all useful metrics r=sparky
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
2021-04-06 15:42:55 +00:00