[Webkit-unassigned] [Bug 142365] New: [GTK] Documentation for webkit_user_style_sheet_new is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 5 15:19:56 PST 2015


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

            Bug ID: 142365
           Summary: [GTK] Documentation for webkit_user_style_sheet_new is
                    wrong
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com

Our documentation for webkit_user_style_sheet_new says: "URI patterns must be of the form [protocol]://[host]/[path], where the *host* and *path* components can contain the wildcard character (*) to represent zero or more other characters."

But looking at UserContentURLPattern.cpp, that's not right. Either the entire host must be * (match all domains) or the host must begin with *. (match all subdomains); any other use of * in the host string is invalid.

This was reported on IRC by the Midori folks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150305/c2bb64bd/attachment-0002.html>


More information about the webkit-unassigned mailing list