[Webkit-unassigned] [Bug 184823] REGRESSION(r230812): [WPE][GTK] WebKitWebViewSessionState.cpp throws away encoded BackForwardList identifier

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 26 09:36:57 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=184823

Michael Catanzaro <mcatanzaro at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcatanzaro at igalia.com
 Attachment #338868|review?                     |review+
              Flags|                            |

--- Comment #4 from Michael Catanzaro <mcatanzaro at igalia.com> ---
Comment on attachment 338868
  --> https://bugs.webkit.org/attachment.cgi?id=338868
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=338868&action=review

> Source/WebKit/UIProcess/API/glib/WebKitWebViewSessionState.cpp:394
> +    GRefPtr<GVariant> variant;
> +    for (unsigned i = 0; sessionStateTypeStringVersions[i]; ++i) {
> +        sessionStateTypeString = sessionStateTypeStringVersions[i];
> +        variant = g_variant_new_from_bytes(G_VARIANT_TYPE(sessionStateTypeString), data, FALSE);
> +        if (g_variant_is_normal_form(variant.get()))
> +            break;
> +        variant = nullptr;
> +    }

You've tested this to ensure it doesn't emit a bunch of warnings or criticals when the type doesn't match?

-- 
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/20180426/06eb23da/attachment.html>


More information about the webkit-unassigned mailing list