Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-196

Unknown error on orientation change

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.0
    • 1.6.1
    • cordova-ios
    • Mac Mini, xcode 4.2/4.3, iPod Touch, iPad, iPad simulator, iPhone Simulator.

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            twomz Jake Williams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment