[webui][ntp] Restrict network access if OGB is iframed
The WebUI NTP is temporarily allowed to make network requests to support the inlined OGB. The inlined OGB will soon be replaced by an iframed OGB, which can be activated via the #ntp-iframe-one-google-bar feature flag. This CL restricts network access for the WebUI NTP if this flag is enabled so that we don't inadvertently rely on network access for other features such as NTP modules. Bug: 1076506 Change-Id: I567d75dbfc083a4623d1f420f1d14ed9ef655def Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2375729 Auto-Submit: Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by:Esmael Elmoslimany <aee@chromium.org> Commit-Queue: Esmael Elmoslimany <aee@chromium.org> Cr-Commit-Position: refs/heads/master@{#801607}
Showing
Please register or sign in to comment