[webkit-gtk] How to access frames in webkit 2
Niranjan Rao
nhrdls at gmail.com
Wed Jan 15 10:43:11 PST 2014
There are some use cases where frame access is required. May be there
are alternative ways to do this, but so far I have not came across one.
1. To figure out if the page load is complete. Top level document might
be loaded, but documents from child frames might be still loading. This
of course is with the assumption "document-loaded" is fired only when
top level frame is loaded. If its fired after all child frames are
loaded and then this is not a problem. Document does not state when
exactly signal is fired specifically in relation with frames.
2. Executing javascript on frames. How do I execute javascript on a
given frame?
Regards,
Niranjan
On 01/14/2014 09:30 PM, Ben Boeckel wrote:
> On Fri, 03 Jan, 2014 at 00:46:24 GMT, Niranjan Rao wrote:
>> Also what is relationship between WebKitWebPage and frames from
>> document? Is there a web page for every frame created by document?
> 2.3.4 allows WebExtensions to get the top-level frame. I don't see a way
> to get other frames.
>
> Please see[1] for more:
>
> From Carlos Garcia Campos 2013-04-01 03:57:23 PST
>> We don't plan to expose Frames in the API unless there are use cases
>> that justify it.
> --Ben
>
> [1]https://bugs.webkit.org/show_bug.cgi?id=113663#c1
>
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-gtk
More information about the webkit-gtk
mailing list