GNOME Bugzilla – Bug 731220
screenshot: Also validate parameters to FlashArea()
Last modified: 2014-06-04 16:14:45 UTC
Basically a follow-up to bug 694998 and bug 699752, filed upstream as https://bugzilla.redhat.com/show_bug.cgi?id=1104694 (sorry, non-public link).
Created attachment 277885 [details] [review] screenshot: Also validate parameters to FlashArea() Apply the same parameter validation to FlashArea() we already use for ScreenshotArea().
Review of attachment 277885 [details] [review]: minor nit ::: js/ui/screenshot.js @@ +137,3 @@ + invocation.return_error_literal(Gio.IOErrorEnum, + Gio.IOErrorEnum.CANCELLED, + "Invalid params"); Can we use the same formatting on this line for both ScreenshotArea and FlashArea?
Review of attachment 277885 [details] [review]: Looks good. Should probably go to older branches as well
Attachment 277885 [details] pushed as d98e7db - screenshot: Also validate parameters to FlashArea()