divyang4481 / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

The download streams do not start on MacOS #155

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Add to examples/FBTestPlugin/test.html the next code after line number 231:

alert("Stream Result: " + plugin.testStreams());

2. Open examples/FBTestPlugin/test.html with the browser (safari, firefox or 
chrome).

What is the expected output? What do you see instead?

I expect that download streams starts or fails, and I expect to receive events 
about the stream process. Instead, I only  receive the onStreamCreated() event 
and the streams never start or fail (I set breakpoints on debugger).

What version of FireBreath are you using? On what operating system and
browsers?

I'm using remotes/origin/firebreath-1.4 branch from github commit 
78c12eb256065d69313547a620d508d2d91391ca

The plugin is running in Mac OS v10.6.6 and these are the used browsers 
versions:

1) Safari v5.0.3 (6533.19.4) x32 bits
2) Chrome v9.0.597.102 x32 bits
3) Firefox v3.6.13 x32 bits

What version of your compiler or IDE are you using?

I'm using XCode v3.2.2 

Please provide any additional information below.

Original issue reported on code.google.com by noant...@gmail.com on 28 Feb 2011 at 9:18

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I probably make a mistake. As taxilian says: "the problem with TestStreams is 
that it doesn't hold the shared_ptr. If you don't hold the shared_ptr, the 
object goes out of scope and gets destroyed and the stream is canceled).

I will review the example to confirm streams infrastructure works on MacOS. I 
will use getURL instead testStreams method.

Original comment by noant...@gmail.com on 28 Feb 2011 at 5:40

GoogleCodeExporter commented 8 years ago
Definitely this is not a bug, the getURL test works and the download streams 
works on MacOS using firebreath-1.4rc2. I make a msitake running testStreams, 
sorry!

Original comment by noant...@gmail.com on 1 Mar 2011 at 5:18

GoogleCodeExporter commented 8 years ago

Original comment by taxilian on 2 Mar 2011 at 2:36