Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
3.5.0
Description
When an invalid file name is provided to create a new Media object, the error callback it goes crazy, throwing the same error multiple times and getting to the same callback multiple times instead of one error notification or walk-through.
E.g:
badMedia = new Media("invalid.file.name", callback, errorcallack);
It gets stuck in errorcallback for some time, before move on.
Found porting mobilespec test to new plugin test framework, this behavior it was found trying to use the error callback object to complete the test, instead of set a timeout to determine if that callback it was called or not.
This behavior it can be only reproduced under Windows Phone 8.
Android works pretty fine, and without this issue.