[Webkit-unassigned] [Bug 117499] [GTK] Issue performing a navigation action from DOM bindings
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 19 00:31:03 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=117499
Manuel Rego Casasnovas <rego at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[GTK] Fix iframe appended |[GTK] Issue performing a
|as child from DOM bindings |navigation action from DOM
| |bindings
CC| |mrobinson at webkit.org,
| |svillar at igalia.com
--- Comment #1 from Manuel Rego Casasnovas <rego at igalia.com> 2013-06-19 00:29:41 PST ---
(In reply to comment #0)
> The following code hangs in WebKit2GTK+ (in WK1 it works properly):
>
> WebKitDOMDocument* document;
> WebKitDOMHTMLElement* body;
> WebKitDOMElement* iframe;
>
> body = webkit_dom_document_get_body(document);
>
> iframe = webkit_dom_document_create_element(document, "iframe", NULL);
> webkit_dom_node_append_child(WEBKIT_DOM_NODE(body), WEBKIT_DOM_NODE(iframe), NULL);
The following code has the very same problem:
WebKitDOMHTMLElement* body = webkit_dom_document_get_body(document);
WebKitDOMElement* link = webkit_dom_document_create_element(document, "a", NULL);
webkit_dom_html_anchor_element_set_href(WEBKIT_DOM_HTML_ANCHOR_ELEMENT(link), "http://www.igalia.com");
webkit_dom_node_append_child(WEBKIT_DOM_NODE(body), WEBKIT_DOM_NODE(link), NULL);
webkit_dom_html_element_click(WEBKIT_DOM_HTML_ELEMENT(link));
So it seems that the problem is not related to <iframe> tags, but it's a general issue when we try to perform any navigation action from the DOM bindings.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list