[Webkit-unassigned] [Bug 113663] New: Missing APIs in webkit2gtk (compared to webkit1)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 31 10:09:36 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=113663
Summary: Missing APIs in webkit2gtk (compared to webkit1)
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mathstuf at gmail.com
As part of porting uzbl[1] to WebKit2, I've found a number of APIs are missing compared to WebKit1. I was wondering what plans there might be for them and whether they'd be possible again:
- the SoupSession in inaccessible which was used for:
* send events on cookie add/delete so that plugins could filter and persist cookies between instances;
* a command to authenticate to a site;
* external authentication dialog handling (e.g., scripted auth support);
* custom proxy handling (I'm planning on using domain sockets rather than TCP sockets in the future);
- access to frames. There are a few things this blocks:
* support for issuing JS commands to the currently focused frame (to avoid CORS errors);
* printing the currently focused frame;
* commands manipulating frame focus, listing frames, etc.;
- access to webkit's scrollbars (uzbl has a scroll command for keybindings);
- a comparable API to WebKitWebPluginDatabase for:
* refreshing the plugin list;
* toggling specific plugins (and a property in WebKitWebPlugin for whether it is enabled);
- a non-async API for plugin queries;
- a call to remove all web databases used by webkit;
- web database management (WebKitSecurityOrigin);
- access to webkit's spellchecking;
- loading arbitrary content into a frame (webkit_web_frame_load_string);
- unsetting security policies for schemes (though an API like WebKit1 with enum flags rather than an array of functions would be better anyways);
- access to the actual JS context of the page (webkit_web_view_get_javascript_global_context returns an isolated context);
- a function to get a WebKitHitTestResult at an arbitrary point on the page (uzbl has support for emulating clicks, so "last hover target" isn't necessarily useful);
- setting the zoom type (content or text only);
- getting the current page's encoding;
- get/set the total application cache maximum size;
- a comparable API to WebKitViewportAttributes;
- access to the DOM of a page/frame;
- the following properties:
* on WebKitWebSettings:
- auto-resize-window,
- enable-universal-access-from-file-uris (ignorable if unsetting security policies is possible),
- enable-file-access-from-file-uris (ignorable if unsetting security policies is possible),
- enable-display-of-insecure-content (there is only a signal that it happened),
- enable-running-of-insecure-content (same as display variant),
- enable-scripts,
- enable-dom-paste,
- auto-shrink-images,
- respect-image-orientation,
- enable-spatial-navigation,
- editing-behavior,
- enforce-96-dpi,
- minimum-font-size,
- minimum-logical-font-size,
- enable-accelerated-compositing (is this always true in WebKit2?),
- enable-css-shaders,
- enable-media-stream,
* on WebKitWebInspector:
- javascript-profiling-enabled,
- timeline-profiling-enabled,
* on WebKitWebView:
- transparent,
- editable.
If I'm missing something in WebKit2 that does the same thing, I may have missed it. I've been over both sets of docs a few times and still find new things every now and then. If there is no plans to support a feature, the only ones which are 100% required for uzbl to work is access to the scrollbars, SoupSession, and page's JavaScript context.
For further tracking of specific items, creating a new bug is probably preferable (rather than polluting this bug). However, making one bug for each from the start seems overkill if I've missed things and half are just going to be closed right away.
[1]http://uzbl.org
--
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