You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (Sujan) (JIRA)" <ji...@apache.org> on 2018/01/22 21:25:18 UTC
[jira] [Closed] (CB-7755) media.spec.5 failing on MediaProxy create
split
[ https://issues.apache.org/jira/browse/CB-7755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Piotrowski (Sujan) closed CB-7755.
--------------------------------------
Resolution: Cannot Reproduce
I can't find this test any more :/
> media.spec.5 failing on MediaProxy create split
> -----------------------------------------------
>
> Key: CB-7755
> URL: https://issues.apache.org/jira/browse/CB-7755
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-mobile-spec, cordova-windows
> Affects Versions: 3.6.3
> Environment: Visual Studio Express Emulator
> Reporter: Angela Fowler
> Assignee: Jesse MacFadyen
> Priority: Minor
>
> Running media.spec.5 etc fails creating a Media object with no arguments.
> var media1 = new Media();
> The exception is "Unable to get property 'split' of undefined or null reference".
> Here is the create function from MediaProxy.js :
> // Initiates the audio file
> create:function(win, lose, args) {
> var id = args[0];
> var src = args[1];
> ...
> var fn = src.split('.').pop(); // gets the file extension
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org