Using FF 3.0a4 with code that runs on FF 2, I find that 
nsIChannel.open() works differently but I don't quite know how.

I have the following code (from Firebug sourceCache.js):

  try
  {
    FBTrace.sysout("sourceCache.load ready to open channel="+channel+" 
uid="+uid+"\n");
    stream = channel.open();
    FBTrace.sysout("sourceCache.load opened channel uid="+uid+"\n");
  }
  catch (exc)
  {
    FBTrace.sysout("sourceCache.load failed to open\n");
    ...

I see three "ready to open" messages.
   One is immediately followed by "...opened.." as I expect.
   One seems to allow events to run because I see a ConsoleObserver 
message before the "...opened...".
   One seems to block or at least I never see any messages after the 
ready to open.

Does anyone know if there are changes in nsIChannel.open()?  Should it 
allow events before returning?

Thanks,
John.
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to