[Webkit-unassigned] [Bug 29128] User style/ script injection API for WebKitGTK+
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Sep 26 10:23:14 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=29128
--- Comment #3 from Christian Dywan <christian at twotoasts.de> 2009-09-26 10:23:14 PDT ---
So after testing, I found out:
- The group name *has* to be equal to the group of the web view, otherwise the
script or stylesheet is ignored.
- The URI argument is not functional, I *have* to pass the source. I would
expect it to load the file for me if I don't provide the source.
- I don't know what pattern is good for, the test isn't using it either.
I suggest the API is changed in one of two ways:
- We invent a WebKitPageGroup object and put the user script functions on it.
- We leave the group_name argument out and apply it behind the scenes -
probably confusing to new developers.
--
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