incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake Williams (Created) (JIRA)" <>
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
             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...

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

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:!default.jspa
For more information on JIRA, see:


View raw message