[Webkit-unassigned] [Bug 26377] New: [GTK] Confusion about range of 'progress' property
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jun 13 15:33:19 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=26377
Summary: [GTK] Confusion about range of 'progress' property
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: xan.lopez at gmail.com
CC: christian at twotoasts.de
The definition of the property 'progress' in WebKitWebView says it goes from
0.0 to 1.0:
g_object_class_install_property(objectClass, PROP_PROGRESS,
g_param_spec_double("progress",
"Progress",
"Determines the current
progress of the load",
0.0, 1.0, 1.0,
WEBKIT_PARAM_READABLE));
But its actual implementation uses 0.0 to 100.0:
gdouble webkit_web_view_get_progress(WebKitWebView* webView)
{
g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), 1.0);
return lround(core(webView)->progress()->estimatedProgress() * 100);
}
Notice that even in the same function the error/default value is 1.0 !
--
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