[webui][ntp] Prevent history entry when changing background image
The history entry appeared because we set the background image URL by setting src of the background image iframe. This CL changes this to contentWindow.location.replace, which does not add a history entry. Fixed: 1114089 Change-Id: I2038de67b7fab71fc732152357a43c3fd885f7d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2347317 Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org> Auto-Submit: Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by:Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#797130}
Showing
Please register or sign in to comment