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

InAppBrowser reports two errors in the console.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • None
    • None
    • None

    Description

      From Axel Nennker's (telekom.de) email:

      The firefoxos version of the app reports two errors in the console log.
      Cordova.js:466 getElementByID called with empty id (or similar)
      Cordova.js:1171 - " -

      In line 1171 this is cause by lastName being null.
      https://github.com/apache/cordova-firefoxos/blob/master/cordova-lib/cordova.js#L1171

      The value of moduleName at that time is InAppBrowserProxy.

      I fixed this by inserting in line 1172:
      If (!lastName) continue;

      In line 466 key is null or undefined.
      https://github.com/apache/cordova-firefoxos/blob/master/cordova-lib/cordova.js#L466

      I have no idea why this happens on FirefoxOS but not on the other platforms.
      My current guess is that
      https://github.com/apache/cordova-plugin-inappbrowser/blob/master/plugin.xml#L203
      does not get digested on FirefoxOS as on the other platforms.

      Attachments

        Activity

          People

            purplecabbage Jesse MacFadyen
            zalun zalun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: