[Webkit-unassigned] [Bug 94471] New: [GTK] Replace webkit_web_view_replace_content with webkit_web_view_load_alternate_html
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 20 05:34:47 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=94471
Summary: [GTK] Replace webkit_web_view_replace_content with
webkit_web_view_load_alternate_html
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: Gtk
Severity: Normal
Priority: P2
Component: WebKit2
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: cgarcia at igalia.com
CC: xan.lopez at gmail.com, gns at gnome.org,
mrobinson at webkit.org
In WebKit1 there's code to prevent that load signals are emitted when loading internal custom error pages. We added webkit_web_view_replace_content() with the same idea, but it has ended up being problematic, because it allows to add any HTML content (in WebKit1 we assumed internal error pages never fails and always load) and it's impossible to know when the load has finished. It also required a lot of logic to handle replace_content as an especial case, in order to hide the fact that it loads content. So, let's rename it to webkit_web_view_load_alternate_html() and emit load events normally. Clients can easily ignore load signals when loading alternate content.
--
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