2009/6/7 PhistucK phist...@gmail.com
As a hacky workaround, you can create an embedded userscript with an onload
event window.print() and trigger it whenever there is a --print-page
switch.:P
I'm not sure if onload is guaranteed to not fire until after all pieces of
content have fully
I think the question of when a page is fully loaded is a bit hard to get
perfect... as lots of pages do stuff after they've loaded that won't really
impact the presentation... but there is no way to know that the JS programs
won't make further changes :-/.
That said, Dave Moore put in some code to
Yea, that was the first thing that came into my mind. I don't know if I am
looking at the right place but from what I have read before, I would need to
use the NotificationRegistrar and register myself to some NotificationType.
There isn't any notification type that says page done or anything
Can you check for any renderer HTTP requests? sort of once it is done, you
can fire the event.(Unless it is a never ending AJAX generated page, but the
problem persists in any mode with no timeout.)
Sorry for blabbing.
☆PhistucK
On Mon, Jun 8, 2009 at 09:48, Mohamed Mansour
Hi Mohamed,This overlaps with the work I've been doing so please sync with
me before starting any major work.
What I've found out so far is that if you have
an create a page (using WebView::Create) and have it load a page using
html that fully describes the page.
For my tests I've been using
On Sun, Jun 7, 2009 at 10:45 PM, Mohamed Mansour
m0.interact...@gmail.comwrote:
My question is this, how can I ensure all the page elements are finished
loading? There seems to be no asynchronous event I could use to wait till a
page has been fully loaded. Any ideas?
Have you tried tracing
As a hacky workaround, you can create an embedded userscript with an onload
event window.print() and trigger it whenever there is a --print-page
switch.:P
☆PhistucK
On Mon, Jun 8, 2009 at 08:45, Mohamed Mansour m0.interact...@gmail.comwrote:
Hi chromium,
I have been working on some feature