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

Runtime errors if application does not reference cordova.js

    XMLWordPrintableJSON

Details

    Description

      1. cordova create helloWorld
      2. cordova platform add blackberry10
      3. edit helloWorld/www/index.html and remove reference to <script type="text/javascript" src="cordova.js"></script>
      3. cordova run
      4. using web inspector, watch console as you minimize & restore the app

      Actual result:
      =======================
      No activity in web inspector console window

      Expected result:
      =======================
      ReferenceError: Can't find variable: cordova

      Attachments

        Activity

          People

            jsoref Josh Soref
            jsoref Josh Soref
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: