New issue
Advanced search Search tips

Issue 830212 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

wallpaperprivate.SetWallpaperIfExists expects arguments in callback in case of failure

Project Member Reported by lazyboy@chromium.org, Apr 7 2018

Issue description

ref: https://chromium-review.googlesource.com/c/chromium/src/+/997096/3/chrome/browser/chromeos/extensions/wallpaper_function_base.h

setWallpaperExists's call-sites should instead inspect chrome.runtime.lastError rather than relying on the failure callback's bool param. We will then be able to drop the bool parameter.
 

Sign in to add a comment