Skip to content

Commit

Permalink
Delete modifying navigator.plugins and mimeTypes
Browse files Browse the repository at this point in the history
So far, brave only exposes flash when it is available.
Brave will use pdfium as a pdf viewer instead of pdf.js.
That causes plugins and mimeTypes will include pdf things.
That means we expose all that brave have.
So, we don't need to blacklist except flash plugins.
  • Loading branch information
simonhong authored and bsclifton committed Apr 25, 2019
1 parent 187f49a commit 0f05db0
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 236 deletions.

This file was deleted.

This file was deleted.

39 changes: 0 additions & 39 deletions content/browser/renderer_host/brave_plugin_registry_impl.cc

This file was deleted.

29 changes: 0 additions & 29 deletions content/browser/renderer_host/brave_plugin_registry_impl.h

This file was deleted.

17 changes: 0 additions & 17 deletions patches/content-browser-BUILD.gn.patch

This file was deleted.

1 change: 0 additions & 1 deletion test/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ test("brave_browser_tests") {
"//brave/chromium_src/components/content_settings/core/browser/brave_content_settings_registry_browsertest.cc",
"//brave/chromium_src/third_party/blink/renderer/modules/battery/navigator_batterytest.cc",
"//brave/chromium_src/third_party/blink/renderer/modules/bluetooth/navigator_bluetoothtest.cc",
"//brave/chromium_src/third_party/blink/renderer/modules/plugins/navigator_pluginstest.cc",
"//brave/browser/autoplay/autoplay_permission_context_browsertest.cc",
"//brave/browser/brave_content_browser_client_browsertest.cc",
"//brave/browser/brave_features_browsertest.cc",
Expand Down
5 changes: 0 additions & 5 deletions test/data/navigatormimetypes.html

This file was deleted.

5 changes: 0 additions & 5 deletions test/data/navigatormimetypeswithflash.html

This file was deleted.

5 changes: 0 additions & 5 deletions test/data/navigatorplugins.html

This file was deleted.

Binary file removed test/data/test.pdf
Binary file not shown.

0 comments on commit 0f05db0

Please sign in to comment.