hust-marx / firebreath

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

ActiveX: Catching objects doesn't worked! #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. clone trunk
2. prep2008.cmd examples
3. add to test.html this code:
<script>
function test() 
    {
        var x=1;
        var y=2;
        alert(plugin().add(x,y));
        var obj = plugin().getUserData();
//      console.log(obj.Name);
        alert(obj.Name);
        console.log(plugin().getObjectKeys(obj));
    }
</script>
<a href="#" onclick="javascript:test()">test</a> <br />

Debug assertion Failed!
Expression: invalid null pointer.

What is the expected output? What do you see instead?
the same code worked in chrome:
FBControl.htm:55Adding two numbers
FBControl.htm:59["EyeColor", "HairColor", "Kids", "Location", "Name"]

Windows 7 32bit
IE 8
VisualStudio 2008

I'm think that this error occur  after move AutoPtr to boost::shared_ptr...

Original issue reported on code.google.com by bignikita on 17 Sep 2010 at 9:58

GoogleCodeExporter commented 9 years ago
Sorry not test.html, make changes in 
buildex/projects/FBTestPlugin/gen/FBControl.htm

Original comment by bignikita on 17 Sep 2010 at 10:34

GoogleCodeExporter commented 9 years ago
Fixed in the next nightly from dev.  This will go into a 1.2.1 release

Original comment by taxilian on 20 Sep 2010 at 9:24