[Webkit-unassigned] [Bug 124954] New: webkit_web_view_get_view_source_mode always returns false

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 27 18:35:48 PST 2013


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

           Summary: webkit_web_view_get_view_source_mode always returns
                    false
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: david at wmol.com


this is webkit 2.2.1.  The following code correctly toggled viewing the source with previous webkit versions.

int
toggle() {
gboolean mode;

mode = webkit_web_view_get_view_source_mode(t->wv);
mode = !mode;
webkit_web_view_set_view_source_mode(t->wv, mode);
return (0);
}

However, the first call correctly views the source code, but the next call does not toggle back due to mode = webkit_web_view_get_view_source_mode(t->wv); always returning FALSE.

webkit is compiled with --disable-webkit2.

-- 
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