blackberry / Ripple-Framework

A browser-like framework component that hosts the Ripple UI tooling and provides services required for emulation
Apache License 2.0
28 stars 12 forks source link

Stand-alone Ripple: Unhandled Win32 Excepetion #88

Open dansilivestru opened 12 years ago

dansilivestru commented 12 years ago

Getting "An unhandled win32 exception occurred in Ripple.exe [5684]" when trying to launch the stand alone Ripple emulator - using this code -

<!DOCTYPE html> 
<html> 
    <head> 
    <title>TacoQuest</title> 
    <meta name="viewport" content="width=device-width, initial-scale=1"> 
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
    <script>
        // force cross-site scripting (as of jQuery 1.5)
        jQuery.support.cors = true;
    </script>
</head> 
<body> 

<div data-role="page">

    <div data-role="header">
        <h1>TacoQuest</h1>
    </div><!-- /header -->

    <div data-role="content">   
    <div id="venues">
    </div>
    <div id="images">
    </div>
        <script>
        // force cross-site scripting (as of jQuery 1.5)
        jQuery.support.cors = true;
        $.getJSON("https://api.foursquare.com/v2/venues/search? ll=43.4,-80.47&query=taco&oauth_token=SKV05SLITJQJ223HLPZBUZWWUOEIR3KHO5SSVQE4U0E2U4K1&v=20111202",
          function(data) {
            $.each(data.venues, function(i,item){
              $("<div/>").html(item.name).appendTo("#venues");
              if ( i == 3 ) return false;
            });
          });</script>

        <script>
        $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?",
          {
            tags: "taco",
            tagmode: "any",
            format: "json"
          },
          function(data) {
            $.each(data.items, function(i,item){
              $("<img/>").attr("src", item.media.m).appendTo("#images");
              if ( i == 3 ) return false;
            });
          });</script>  

    </div><!-- /content -->

</div><!-- /page -->

</body>
</html>

Originally opened here: https://github.com/blackberry/Ripple-UI/issues/255

ericpearson commented 12 years ago

Do you know if this happens on a Mac as well?

kwallis commented 12 years ago

IS this related to issue https://github.com/blackberry/Ripple-Framework/issues/95

ericpearson commented 12 years ago

This appears to be a general webkit bug