incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake Williams (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-196) Unknown error on orientation change
Date Mon, 23 Jan 2012 19:37:40 GMT
Unknown error on orientation change
-----------------------------------

                 Key: CB-196
                 URL: https://issues.apache.org/jira/browse/CB-196
             Project: Apache Callback
          Issue Type: Bug
    Affects Versions: 1.3.0
         Environment: Mac Mini, xcode 4.2/4.3, iPod Touch, iPad, iPad simulator, iPhone Simulator.
            Reporter: Jake Williams
            Priority: Minor


We originally thought that the bug was because we were using Phonegap and Jquery Mobile, but
we got a test case up using only Phonegap and the problem persisted.

To recreate...

HTML ->
<html>
<head>
<title></title>
<script src="phonegap.js"></script>
<script>
    window.onerror = function myErrorHandler(msg,url,line) {
         console.log("window.onerror: message: " + msg + ", line: " + line);
         return true;
    };
</script>
<body>
    Stuff on page
</body>
</html>

Go to the project and allow for portrait and landscape views (Project -> Target -> summary
-> iphone/ipad deployment info -> Supported Device Orientations).

Run on a simulator or device and change the page orientation.  Each orientation change will
fire two "undefined is not a function" errors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message