<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Security-Policy" content="default-src * 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval';style-src 'self' 'unsafe-inline'; media-src *">
        <meta name="format-detection" content="telephone=no">
        <meta name="msapplication-tap-highlight" content="no">
        <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
    </head>
    <body>
    <script type="text/javascript" src="../../cordova.js"></script>
    <script>

document.addEventListener("deviceready",function() {
    var success = function(data) {
        document.body.innerText = data;
        setTimeout(function(){
            PGMultiView.dismissView(data);
        },10);
    };
    var error = function(e) { };
    PGMultiView.getMessage(success, error);
});

    </script>
    </body>
</html>

<!DOCTYPE html>
<html>
    <head>
        <!--<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval';script-src * 'unsafe-inline';style-src 'self' 'unsafe-inline'; media-src *">-->
        <meta name="format-detection" content="telephone=no">
        <meta name="msapplication-tap-highlight" content="no">
        <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
    </head>
    <body>
    <script type="text/javascript" src="../../cordova.js"></script>
    <script>

document.addEventListener("deviceready",function() {
    var success = function(data) {
        // for some reason, we need to wait to pass data back
        setTimeout(function(){
            PGMultiView.dismissView(data);
        },500);
    };
    var error = function(e) { };
    PGMultiView.getMessage(success, error);
});

    </script>
    </body>
</html>

Fix failing test, removed csp, and delay callback
Fix failing test, removed csp, and delay callback
