[Webkit-unassigned] [Bug 225763] [GTK] MiniBrowser: add support for saving multiple tabs in session state
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 13 07:14:58 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=225763
Michael Catanzaro <mcatanzaro at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mcatanzaro at gnome.org
Attachment #428489|review? |review+
Flags| |
--- Comment #2 from Michael Catanzaro <mcatanzaro at gnome.org> ---
Comment on attachment 428489
--> https://bugs.webkit.org/attachment.cgi?id=428489
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=428489&action=review
> Tools/MiniBrowser/gtk/BrowserWindow.c:1463
> + if (!g_key_file_load_from_file(session, sessionFile, G_KEY_FILE_NONE, NULL)) {
I would check and print a warning if !g_error_matches(error, G_FILE_ERROR, G_FILE_ERROR_NOENT). I think that's the only case where failure to restore the session is expected. If the session state file contains data and we fail to restore it, then that's probably a bug and warning developers is good to do.
> Tools/MiniBrowser/gtk/BrowserWindow.c:1476
> +
> + return;
This extra blank line doesn't seem like your usual code style?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210513/46c72a66/attachment.htm>
More information about the webkit-unassigned
mailing list