[ 
https://issues.apache.org/jira/browse/CB-4738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shingo Toda updated CB-4738:
----------------------------

    Description: 
I just tried to get an error message from MediaError.message but I failed. As I 
see cordova.js, it seems that this property is not supported.

{code:title=cordova.js|borderStyle=solid}
 var _MediaError = window.MediaError;

if(!_MediaError) {
    window.MediaError = _MediaError = function(code, msg) {
        this.code = (typeof code != 'undefined') ? code : null;
        this.message = msg || ""; // message is NON-standard! do not use!
    };
}
{code}

If so, please remove this property from document.


  was:
I just tried to get an error message from MediaError.message but I failed. As I 
see cordova.js, it seems that this property is not supported.

{code:title=cordova.js|borderStyle=solid}
if(!_MediaError) {
    window.MediaError = _MediaError = function(code, msg) {
        this.code = (typeof code != 'undefined') ? code : null;
        this.message = msg || ""; // message is NON-standard! do not use!
    };
}
{code}

If so, please remove this property from document.


    
> MediaError.message is not supported?
> ------------------------------------
>
>                 Key: CB-4738
>                 URL: https://issues.apache.org/jira/browse/CB-4738
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 2.9.0
>            Reporter: Shingo Toda
>            Assignee: Michael Brooks
>            Priority: Minor
>
> I just tried to get an error message from MediaError.message but I failed. As 
> I see cordova.js, it seems that this property is not supported.
> {code:title=cordova.js|borderStyle=solid}
>  var _MediaError = window.MediaError;
> if(!_MediaError) {
>     window.MediaError = _MediaError = function(code, msg) {
>         this.code = (typeof code != 'undefined') ? code : null;
>         this.message = msg || ""; // message is NON-standard! do not use!
>     };
> }
> {code}
> If so, please remove this property from document.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to