electron/patches/chromium
Jacob a7c2f79a94 fix: prevent silent failure when DOM storage quota exceeded (#20899)
* test: update DOM storage quota limits test

* fix: update dom_storage_limits.patch (fixes #13465)

The previous version of this patch did not include
changes required to circumvent the quota enforcement
performed by StorageAreaImpl. Consequently when
the quota was exceeded, things still "appeared to
work" at first but then would later fail silently.
That is, the cache would be updated but the backing
store would not.

This could be fixed by disabling the code below
(from `content/browser/dom_storage/storage_area_impl.cc`)
```
  // Only check quota if the size is increasing, this allows
  // shrinking changes to pre-existing maps that are over budget.
  if (new_item_size > old_item_size && new_storage_used > max_size_) {
    if (map_state_ == MapState::LOADED_KEYS_ONLY) {
      receivers_.ReportBadMessage(
          "The quota in browser cannot exceed when there is only one "
          "renderer.");
    } else {
      std::move(callback).Run(false);
    }
    return;
  }
```

However, since this seems to have some unintended side-effects
(see updated notes in dom_storage_limits.patch) it seems
more prudent to simply increase the quota to a larger
yet still reasonable size rather than attempt to circumvent
the storage quota altogether.
2019-11-22 11:35:54 -08:00
..
.patches fix: focus with OOPIF embedded inside <webview> (#21219) 2019-11-20 09:06:09 -08:00
accelerator.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
add_contentgpuclient_precreatemessageloop_callback.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
add_realloc.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
add_trustedauthclient_to_urlloaderfactory.patch fix: implement 'login' event for net.ClientRequest (#21096) 2019-11-14 10:01:18 -08:00
add_zoom_limit_setters_to_webcontents.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
allow_nested_error_trackers.patch chore: remove mips64el patches as they've largely been upstreamed (#18628) 2019-06-05 16:36:17 -07:00
allow_new_privileges_in_unsandboxed_child_processes.patch fix: allow unsandboxed renderers to request new privileges (#19953) 2019-08-27 18:35:46 -04:00
autofill_size_calculation.patch chore: bump chromium to 62327c655093c821aa0fcfc6db53f5fd943e08c7 (master) (#19792) 2019-08-23 18:14:23 -07:00
backport_fix_msstl_compat_in_ui_events.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
blink-worker-enable-csp-in-file-scheme.patch chore: bump chromium to cbeb16cf544f79c1990f1eae4d4fe (master) (#19610) 2019-08-15 13:50:58 -07:00
blink_file_path.patch chore: remove mips64el patches as they've largely been upstreamed (#18628) 2019-06-05 16:36:17 -07:00
blink_fix_prototype_assert.patch chore: remove mips64el patches as they've largely been upstreamed (#18628) 2019-06-05 16:36:17 -07:00
blink_initialization_order.patch chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314) 2019-10-18 12:57:34 -07:00
blink_local_frame.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
blink_world_context.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
boringssl_build_gn.patch chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314) 2019-10-18 12:57:34 -07:00
build_add_electron_tracing_category.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
build_gn.patch chore: bump chromium to 63be48daea281d4f8c834c2e707a7 (master) (#19923) 2019-09-18 15:58:00 -04:00
build_win_disable_zc_twophase.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
build_win_fix_msstl_compatibility_for_pdf.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
build_win_iwyu_for_smil_time.patch ci: fix release build on windows (#20859) 2019-10-31 13:24:24 -07:00
can_create_window.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
chore_use_electron_resources_not_chrome_for_spellchecker.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
chrome_key_systems.patch chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) (#18648) 2019-07-02 18:22:09 -07:00
command-ismediakey.patch chore: bump chromium to 62327c655093c821aa0fcfc6db53f5fd943e08c7 (master) (#19792) 2019-08-23 18:14:23 -07:00
content_browser_main_loop.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
crashpad_pid_check.patch fix: silent printing mode (#18979) 2019-06-26 20:53:17 -07:00
dcheck.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
desktop_media_list.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
disable-redraw-lock.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
disable_color_correct_rendering.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
disable_compositor_recycling.patch fix: Disable compositor recycling only for attached views (#20829) 2019-10-30 13:47:12 -07:00
disable_custom_libcxx_on_windows.patch chore: bump chromium to 62327c655093c821aa0fcfc6db53f5fd943e08c7 (master) (#19792) 2019-08-23 18:14:23 -07:00
disable_hidden.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
disable_user_gesture_requirement_for_beforeunload_dialogs.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
dom_storage_limits.patch fix: prevent silent failure when DOM storage quota exceeded (#20899) 2019-11-22 11:35:54 -08:00
dump_syms.patch chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314) 2019-10-18 12:57:34 -07:00
exclude-a-few-test-files-from-build.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
export_fetchapi_mojo_traits_to_fix_component_build.patch refactor: use v8 serialization for ipc (#20214) 2019-10-09 13:59:08 -04:00
expose_setuseragent_on_networkcontext.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
feat_add_set_theme_source_to_allow_apps_to.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
feat_unset_window_aspect_ratio_on_linux.patch build: missing include in windows release builds (#21045) 2019-11-13 14:10:12 -05:00
fix_ambiguous_reference_to_data.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
fix_breakpad_symbol_generation_on_linux_arm.patch chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314) 2019-10-18 12:57:34 -07:00
fix_disable_usage_of_abort_report_np_in_mas_builds.patch chore: bump chromium to 62327c655093c821aa0fcfc6db53f5fd943e08c7 (master) (#19792) 2019-08-23 18:14:23 -07:00
fix_disable_usage_of_pthread_fchdir_np_and_pthread_chdir_np_in_mas.patch chore: bump chromium to 63be48daea281d4f8c834c2e707a7 (master) (#19923) 2019-09-18 15:58:00 -04:00
fix_disable_usage_of_setapplicationisdaemon_and.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
fix_focusowningwebcontents_to_handle_renderwidgethosts_for_oopifs.patch fix: focus with OOPIF embedded inside <webview> (#21219) 2019-11-20 09:06:09 -08:00
fix_missing_algorithm_include.patch fix: focus with OOPIF embedded inside <webview> (#21219) 2019-11-20 09:06:09 -08:00
frame_host_manager.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
gin_enable_disable_v8_platform.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
gin_with_namespace.patch refactor: use v8 serialization for ipc (#20214) 2019-10-09 13:59:08 -04:00
gritsettings_resource_ids.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
gtk_visibility.patch chore: remove mips64el patches as they've largely been upstreamed (#18628) 2019-06-05 16:36:17 -07:00
ignore_rc_check.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
isolate_holder.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
libgtkui_export.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
mas-audiodeviceduck.patch chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) (#18648) 2019-07-02 18:22:09 -07:00
mas-cfisobjc.patch chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314) 2019-10-18 12:57:34 -07:00
mas-cgdisplayusesforcetogray.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
mas_blink_no_private_api.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
mas_no_private_api.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
network_service_allow_remote_certificate_verification_logic.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
no_cache_storage_check.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
notification_provenance.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
patch_the_ensure_gn_version_py_script_to_work_on_mac_ci.patch chore: bump chromium to 62327c655093c821aa0fcfc6db53f5fd943e08c7 (master) (#19792) 2019-08-23 18:14:23 -07:00
pepper_plugin_support.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
picture-in-picture.patch chore: bump chromium to 63be48daea281d4f8c834c2e707a7 (master) (#19923) 2019-09-18 15:58:00 -04:00
preconnect_feature.patch chore: bump chromium to 63be48daea281d4f8c834c2e707a7 (master) (#19923) 2019-09-18 15:58:00 -04:00
printing.patch fix: focus with OOPIF embedded inside <webview> (#21219) 2019-11-20 09:06:09 -08:00
proxy_config_monitor.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
put_back_deleted_colors_for_autofill.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
remove_usage_of_incognito_apis_in_the_spellchecker.patch feat: enable builtin spellchecker (#20692) 2019-10-31 13:11:51 -07:00
render_widget_host_view_base.patch chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314) 2019-10-18 12:57:34 -07:00
render_widget_host_view_mac.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
resource_file_conflict.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
revert_cleanup_remove_menu_subtitles_sublabels.patch chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314) 2019-10-18 12:57:34 -07:00
revert_remove_contentrendererclient_shouldfork.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
scroll_bounce_flag.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
ssl_security_state_tab_helper.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
support_mixed_sandbox_with_zygote.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
sysroot.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
thread_capabilities.patch chore: remove mips64el patches as they've largely been upstreamed (#18628) 2019-06-05 16:36:17 -07:00
tts.patch chore: bump chromium to 63be48daea281d4f8c834c2e707a7 (master) (#19923) 2019-09-18 15:58:00 -04:00
unsandboxed_ppapi_processes_skip_zygote.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
v8_context_snapshot_generator.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
verbose_generate_breakpad_symbols.patch chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314) 2019-10-18 12:57:34 -07:00
web_contents.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00
webview_cross_drag.patch chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
worker_context_will_destroy.patch chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824) 2019-11-05 18:41:20 -05:00