WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
160189
[GTK][WK2] Feature request: would like to receive notification on document height change
https://bugs.webkit.org/show_bug.cgi?id=160189
Summary
[GTK][WK2] Feature request: would like to receive notification on document he...
aidanholm+webkit
Reported
2016-07-26 02:27:03 PDT
I'm currently porting Luakit to the WebKit 2 API, and one thing giving me an inordinate amount of trouble is implementing a robust port of the scroll position indicator. Currently I'm monitoring DOMSubtreeModified events on a web extension and updating a UI-process cache of the document height over IPC, in an effort to keep the same synchronous API that Luakit provides to Lua scripts. This approach has a considerable performance cost and is also rather unreliable. I'd like the ability to monitor changes to document height; something like a "notify::scroll-height" signal on a WebKitDOMElement, as this was what I tried first.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug