-
Notifications
You must be signed in to change notification settings - Fork 909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade patches from Chromium 90.0.4430.41 to Chromium 90.0.4430.51 #8405
Conversation
CI failures:
3 tests failed: BraveNavigatorPluginsFarblingBrowserTest.FarbleNavigatorPlugins (../../brave/browser/farbling/brave_navigator_plugins_farbling_browsertest.cc:117) BraveNavigatorPluginsFarblingBrowserTest.FarbleNavigatorPluginsNoBuiltinAvailable (../../brave/browser/farbling/brave_navigator_plugins_farbling_browsertest.cc:197) BraveNavigatorPluginsFarblingBrowserTest.FarbleNavigatorPluginsReset (../../brave/browser/farbling/brave_navigator_plugins_farbling_browsertest.cc:220)
5 tests failed: BraveNavigatorPluginsFarblingBrowserTest.FarbleNavigatorPlugins (../../brave/browser/farbling/brave_navigator_plugins_farbling_browsertest.cc:117) BraveNavigatorPluginsFarblingBrowserTest.FarbleNavigatorPluginsNoBuiltinAvailable (../../brave/browser/farbling/brave_navigator_plugins_farbling_browsertest.cc:197) BraveNavigatorPluginsFarblingBrowserTest.FarbleNavigatorPluginsReset (../../brave/browser/farbling/brave_navigator_plugins_farbling_browsertest.cc:220) RewardsContributionBrowserTest.SplitProcessOneTimeTip (../../brave/components/brave_rewards/browser/test/rewards_contribution_browsertest.cc:868) RewardsContributionBrowserTest.SplitProcessorAutoContribution (../../brave/components/brave_rewards/browser/test/rewards_contribution_browsertest.cc:732)
3 tests failed: BraveNavigatorPluginsFarblingBrowserTest.FarbleNavigatorPlugins (../../brave/browser/farbling/brave_navigator_plugins_farbling_browsertest.cc:117) BraveNavigatorPluginsFarblingBrowserTest.FarbleNavigatorPluginsNoBuiltinAvailable (../../brave/browser/farbling/brave_navigator_plugins_farbling_browsertest.cc:197) BraveNavigatorPluginsFarblingBrowserTest.FarbleNavigatorPluginsReset (../../brave/browser/farbling/brave_navigator_plugins_farbling_browsertest.cc:220)
|
This reverts commit 61fb284. See https://bugs.chromium.org/p/chromium/issues/detail?id=1164635 The CL addressed in the above commit in cr90 bump was reversed. https://chromium.googlesource.com/chromium/src/+/4478f8a413efda0f3c7ce6cc3b1fa1ee5dd756b7 commit 4478f8a413efda0f3c7ce6cc3b1fa1ee5dd756b7 Author: Mason Freed <masonfreed@chromium.org> Date: Thu Feb 4 18:22:48 2021 +0000 Re-enable navigator.plugins for extensions and apps See crbug.com/1164635 for more context. Recently, the (web exposed) navigator.plugins and navigator.mimeTypes APIs were changed to return empty arrays. This broke feature detection on NaCl and PNaNl apps, so this CL re-enables these APIs for apps and extensions. This CL adds a setting GetAllowNonEmptyNavigatorPlugins() to WebPreferences that gets set to true for extensions and apps. If this setting is true, navigator.plugins and navigator.mimeTypes will continue to return their prior, full contents. This should not be web-exposed. This is mostly a complete cargo cult from crrev.com/c/2612624. The web-exposed behavior is tested by the existing web_test navigator-pluginarray.html [1]. [1] https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/web_tests/plugins/na igator-pluginarray.html Bug: 1164635 Fixed: 1171373 https://chromium.googlesource.com/chromium/src/+/65fe90f532f2ee967c9549473721919bc3492805 commit 65fe90f532f2ee967c9549473721919bc3492805 Author: Mason Freed <masonf@chromium.org> Date: Mon Mar 29 21:44:22 2021 +0000 Disable NavigatorPluginsEmpty feature This feature was enabled by default [1] to check web compat, and after M90 went to Beta, a number of issues were raised ([2],[3]). As a result, this feature is being disabled. This will likely need to be merged back to M90 Beta. This CL removes the WPT that tests for empty arrays, and reinstates the prior layout test which enforces non-empty arrays. [1] https://chromium-review.googlesource.com/c/chromium/src/+/2629990 [2] b/183094994 [3] crbug.com/1191639 (cherry picked from commit 1e6ce7bd03af8c474c39750cae3c94c1a24f89ef) Bug: 1164635, 1191639
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
Upgrade patches from Chromium 90.0.4430.41 to Chromium 90.0.4430.51
Fixes brave/brave-browser#15052
Related PR: brave/brave-browser#15054
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: