Description
When running the mocha suite, the ti.blob - constructed from image test crashes the application,
it crashes on the
should(blob).be.an.instanceof(Ti.Blob);
check
You can use
https://github.com/ewanharris/mocha-test to test this, just paste the code from the test suite it and it _should_ work
Interestingly, this is what the .instanceof assertion boils down to
Object(this.obj) instanceof constructor
so I think this crash might happen in the should.js lib somewhere
Steps to reproduce
Grab the code from the link in environment
Add to the test app provided at the git repo above
Build for any Windows target
Actual
App crashes
Expected
App should not crash
So even when I create
Ti.Blob
instance fromnew Ti.Blob()
,blob instanceof Ti.Blob
fails. I think it's something to do in HAL implementation.Interestingly this code does not work with iOS too. As we think iOS as reference platform, I would think we can skip this test for now.
Closing old "Won't fix" tickets. If you disagree, please reopen.