Bug 142365 - [GTK] Documentation for webkit_user_style_sheet_new is wrong
Summary: [GTK] Documentation for webkit_user_style_sheet_new is wrong
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-05 15:19 PST by Michael Catanzaro
Modified: 2017-03-11 10:45 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2015-03-05 15:19:56 PST
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.
Comment 1 Carlos Garcia Campos 2015-03-05 23:21:27 PST
See bugs #112476 and #37931