Bug 142365
| Summary: | [GTK] Documentation for webkit_user_style_sheet_new is wrong | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | aperez, bugs-noreply, cgarcia, mcatanzaro |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=112476 https://bugs.webkit.org/show_bug.cgi?id=37931 |
||
Michael Catanzaro
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
See bugs #112476 and #37931