Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with url loading: browser goes black

9 views
Skip to first unread message

Kahix

unread,
Oct 11, 2011, 5:37:36 PM10/11/11
to
Hi,

I have an instance of nsIWebNavigation, using the code below I can
load any url and browser appears in a jframe bound to the browser.
webNavigation.loadURI(url, nsIWebNavigation.LOAD_FLAGS_NONE, null,
null, null);

In a very rare case of some urls like www.gromas.dk a strange
situation takes place: url seems to start loading and even for a
millisecond some elements of page strat to appear, when suddenly the
window goes totally black just like if there was only a black
background loaded.
Did anyone see something similar in your applications?

Thanks in advance

bar...@kordas.pl

unread,
Oct 17, 2011, 7:58:27 PM10/17/11
to
Well, looks like a small bug in xpcom 1.9.
Actually, it wasn't uri loading that caused a problem but harmless, as
one would expect, window resizing (contentDomWindow.sizeToContent())
after loading.
For the record: it happens only when page contains framesets and
removing window resizing fixes the problem.
0 new messages