Skip to content

Commit

Permalink
Merge pull request #153 from brave/fix_startup_crash_from_welcome_ui
Browse files Browse the repository at this point in the history
Fix first run startup crash due to welcome ui
  • Loading branch information
bbondy authored Jun 13, 2018
2 parents 62e9661 + e8eb07a commit 2711d00
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit 2711d00

Please sign in to comment.