Bug 180035 - [GTK] Feature request: missing a signal to check if a page is about to load
Summary: [GTK] Feature request: missing a signal to check if a page is about to load
Status: RESOLVED LATER
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-27 06:51 PST by Cédric Bellegarde
Modified: 2017-11-28 08:21 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 Cédric Bellegarde 2017-11-27 06:51:15 PST
In current API, WebKit2WebExtension.WebPage only have "document-loaded" signal.

There is no way to perform actions before document loading.

Seems useful for me:
- I keep webpage send requests in a list
- I want to reset this list before load

related to https://bugs.webkit.org/show_bug.cgi?id=110614
Comment 1 Carlos Garcia Campos 2017-11-27 06:54:09 PST
I'm not against adding new api for this, but I think you could use notify::uri for now.
Comment 2 Cédric Bellegarde 2017-11-28 03:52:03 PST
It works for me, where are the notify signals documented?

Feel free to close it.
Comment 3 Michael Catanzaro 2017-11-28 08:21:50 PST
(In reply to Cédric Bellegarde from comment #2)
> It works for me, where are the notify signals documented?
> 
> Feel free to close it.

That's GObject::notify.