Граф коммитов

752231 Коммитов

Автор SHA1 Сообщение Дата
David Parks 8256d4a828 Bug 1682030 - Remove NPAPI plugin reporting from HangMonitor r=mconley
Removes the methods for handling NPAPI plugin process hangs, as we are eliminating all NPAPI behavior.

Differential Revision: https://phabricator.services.mozilla.com/D107155
2021-04-06 19:28:17 +00:00
David Parks c303331063 Bug 1682030 - Remove CTP option from about:addons r=mixedpuppy
As part of removing all NPAPI plugin support, CTP is no longer relevant (it does not apply to GMP plugins) so we remove the option from about:addons.

Differential Revision: https://phabricator.services.mozilla.com/D107154
2021-04-06 19:28:17 +00:00
David Parks 7fc6fe2241 Bug 1682030 - Remove NPAPI windowed plugin layer support r=bas
Removes stale windowed NPAPI plugin layers support as part of removing all NPAPI support.

Differential Revision: https://phabricator.services.mozilla.com/D107153
2021-04-06 19:28:16 +00:00
David Parks 9032efe20c Bug 1682030 - Remove NPAPI plugin async rendering support r=bas,jgilbert,ipc-reviewers,mccr8
Removes async (windowless) NPAPI plugin rendering methods used to render a plugin to an offscreen surface in the GPU process.  None of this code is used since we have removed all NPAPI plugin support.

Differential Revision: https://phabricator.services.mozilla.com/D107152
2021-04-06 19:28:16 +00:00
David Parks 6a2431ddb2 Bug 1682030 - Reduce nsMimeTypeArray and nsPluginArray to "constants" r=jmathies
We still use these types so that the typing of these arrays in navigator follows the spec but they are never populated since we have removed all NPAPI plugin support.  So these classes are greatly simplified.

Differential Revision: https://phabricator.services.mozilla.com/D107151
2021-04-06 19:28:16 +00:00
David Parks cd6fd9bfe5 Bug 1682030 - Remove more dead NPAPI code from dom/plugins and related spots. r=jmathies,mconley,emilio
This is the second 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.

Differential Revision: https://phabricator.services.mozilla.com/D107150
2021-04-06 19:28:15 +00:00
David Parks a03573311b Bug 1682030 - Remove nsIPluginWidget r=jmathies
Removes unused nsIPluginWidget, as part of removing all NPAPI support.

Differential Revision: https://phabricator.services.mozilla.com/D107149
2021-04-06 19:28:15 +00:00
David Parks 271e591cdf Bug 1682030 - Remove NPAPI blocklisting r=Gijs,jmathies,mixedpuppy
Removes the PluginProvider and NPAPI plugin blocklist handling as part of removing all NPAPI support.  This allows us to remove nsIPluginHost.

Differential Revision: https://phabricator.services.mozilla.com/D107148
2021-04-06 19:28:14 +00:00
David Parks 52c29d08d0 Bug 1682030 - Remove NPAPI plugins from telemetry r=chutten
Removes Flash version and plugin blocklist data from telemetry and about:telemetry as part of removing all NPAPI plugin support.

Differential Revision: https://phabricator.services.mozilla.com/D107147
2021-04-06 19:28:14 +00:00
David Parks 9c8a6dec0d Bug 1682030 - Remove NPAPI support from ClearDataService. r=baku
Removes NPAPI plugin support from the ClearDataService as part of removing all of NPAPI.

Differential Revision: https://phabricator.services.mozilla.com/D107146
2021-04-06 19:28:13 +00:00
David Parks 4db3910bdb Bug 1682030 - Remove nsIPluginDocument. r=jmathies,emilio
Removes nsIPluginDocument and its implementation as part of removing all NPAPI plugin support.

Differential Revision: https://phabricator.services.mozilla.com/D107145
2021-04-06 19:28:13 +00:00
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