Bug 168227 - [GTK] Issue with WebKit2.FormSubmissionRequest
Summary: [GTK] Issue with WebKit2.FormSubmissionRequest
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-13 00:59 PST by Cédric Bellegarde
Modified: 2018-03-09 04:45 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cédric Bellegarde 2017-02-13 00:59:08 PST
When receiving a WebKit2.FormSubmissionRequest from a WebKit2.WebView::form-submit signal, I do not receive valid objects.

Problem is described is this code:
https://gist.github.com/vfaronov/f1c1faa969c58b5990d02f5d9890b180
# Note how I have to do the extra `ctypes.string_at` step,
# because `k` and `v` are pointers (Python integers, not bytestrings).

https://bugzilla.gnome.org/show_bug.cgi?id=778393
Comment 1 Michael Catanzaro 2017-02-13 05:49:27 PST
Can you reproduce the problem in C?
Comment 2 Cédric Bellegarde 2017-02-13 22:27:33 PST
Don't know, not a C dev.

But as I get C pointer in python, I guess you get C pointer in C.