[Webkit-unassigned] [Bug 16401] [GTK] GObject/C DOM binding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 16 13:42:28 PDT 2008


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





------- Comment #51 from lkcl at lkcl.net  2008-09-16 13:42 PDT -------
--- WebCore/xml/XMLHttpRequest.idl  (revision 36459)
+++ WebCore/xml/XMLHttpRequest.idl  (working copy)
@@ -62,9 +62,13 @@
             raises(DOMException);

         // void send();
-        // void send(in DOMString data);
+#if defined(LANGUAGE_GOBJECT)
+        void send(in DOMString data)
+            raises(DOMException);
+#else
         [Custom] void send(in Document data)
             raises(DOMException);
+#endif

this one was a pain.  i went to considerable effort to try and use Document,
added glib bindings around TextDocument, other documents, HTMLDocument,
and tried _really_ hard to create a Document from scratch using the glib
bindings.

in the end, i gave up - i believe it's because i haven't yet added
"gobject" property setting (i have strings, ints, floats etc. just not
glib objects).

so i went for the simplest possible option - pass in a text "string".

so _in the future_, this needs to be revisited.

but _not now_.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list