Changeset 226376 in webkit


Ignore:
Timestamp:
Jan 3, 2018 4:32:37 PM (6 years ago)
Author:
Michael Catanzaro
Message:

REGRESSION(r226366): [GTK] Broke TestBackForwardList and TestWebKitWebView
https://bugs.webkit.org/show_bug.cgi?id=173915

Unreviewed follow-up. Fix /webkit2/WebKitWebView/session-state-with-form-data and
/webkit2/WebKitWebView/submit-form. The form ID may be NULL, but we can't put NULL into a
GVariant unless we use maybe types, and maybe types are incompatible with D-Bus. So use an
empty string in this case.

  • TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:

(emitFormSubmissionEvent):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r226366 r226376  
     12018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        REGRESSION(r226366): [GTK] Broke TestBackForwardList and TestWebKitWebView
     4        https://bugs.webkit.org/show_bug.cgi?id=173915
     5
     6        Unreviewed follow-up. Fix /webkit2/WebKitWebView/session-state-with-form-data and
     7        /webkit2/WebKitWebView/submit-form. The form ID may be NULL, but we can't put NULL into a
     8        GVariant unless we use maybe types, and maybe types are incompatible with D-Bus. So use an
     9        empty string in this case.
     10
     11        * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
     12        (emitFormSubmissionEvent):
     13
    1142018-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
    215
  • trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp

    r226366 r226376  
    350350        "org.webkit.gtk.WebExtensionTest",
    351351        methodName,
    352         g_variant_new("(sssbb)", formID, names, values, targetFrameIsMainFrame, sourceFrameIsMainFrame),
     352        g_variant_new("(sssbb)", formID ? formID : "", names, values, targetFrameIsMainFrame, sourceFrameIsMainFrame),
    353353        nullptr);
    354354    g_assert(ok);
Note: See TracChangeset for help on using the changeset viewer.