Commit e45d718f authored by tzik's avatar tzik Committed by Commit Bot

Remove universal access permission from web tests

The TestRunner for web tests used to grant the universal access
permission to all origins by default. That is, all origin boundary
checks are disabled. However, it's no longer needed, and it's hard to
support dynamic configuration of the security check around the origin
boundary.

This CL drops the permission as a preparation to remove the settings
item itself.

Change-Id: I22cd23d10fe1f0d10a4a64a3d5404adda129645c
Reviewed-on: https://chromium-review.googlesource.com/c/1454163Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Commit-Queue: Taiju Tsuiki <tzik@chromium.org>
Cr-Commit-Position: refs/heads/master@{#629106}
parent fd330243
...@@ -29,10 +29,7 @@ void TestPreferences::Reset() { ...@@ -29,10 +29,7 @@ void TestPreferences::Reset() {
loads_images_automatically = true; loads_images_automatically = true;
plugins_enabled = true; plugins_enabled = true;
caret_browsing_enabled = false; caret_browsing_enabled = false;
allow_universal_access_from_file_urls = false;
// Allow those web tests running as local files, i.e. under
// web_tests/http/tests/local, to access http server.
allow_universal_access_from_file_urls = true;
#if defined(OS_MACOSX) #if defined(OS_MACOSX)
editing_behavior = WebSettings::EditingBehavior::kMac; editing_behavior = WebSettings::EditingBehavior::kMac;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment