Skip to content
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

Fix first run startup crash due to welcome ui #153

Merged
merged 1 commit into from
Jun 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
diff --git a/extensions/browser/api/web_request/web_request_permissions.cc b/extensions/browser/api/web_request/web_request_permissions.cc
index 426bdc336021722db43af2c984ae5675a878f7fd..f15ed0c6e9c9051dadd841ee12ed4959cabce009 100644
index 426bdc336021722db43af2c984ae5675a878f7fd..4315e66ff33d4aecb6610ed2125aed70e66449b2 100644
--- a/extensions/browser/api/web_request/web_request_permissions.cc
+++ b/extensions/browser/api/web_request/web_request_permissions.cc
@@ -87,6 +87,10 @@ bool IsWebUIAllowedToMakeNetworkRequests(const url::Origin& origin) {
@@ -87,6 +87,11 @@ bool IsWebUIAllowedToMakeNetworkRequests(const url::Origin& origin) {
return
// https://crbug.com/829414
origin.host() == "print" ||
+#if defined(BRAVE_CHROMIUM_BUILD)
+ // https://github.com/brave/brave-browser/issues/273
+ origin.host() == "newtab" ||
+ origin.host() == "brave.com" ||
+#endif
// https://crbug.com/831812
origin.host() == "sync-confirmation" ||
Expand Down