Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8801 Browserify Master Issue
  3. CB-9395

Mobile-spec browserify doesn't work due to error with cordova-plugin-test-framework

    XMLWordPrintableJSON

    Details

      Description

      main-bootstrap.js (which is part of the app itself) wants to do cordova.require('cordova-plugin-test-framework.main').init();

      Problem is, cordova-plugin-test-framework.main isn't in our symbol list.

      We could add all plugins to our symbolList, but I think we want to move away from using cordova.require in apps and eventually not need the symbolList.

      Solution: change that line in cordova-plugin-test-framework. Give a namespace to cordova-plugin-test-framework.main that can be referenced by main-bootstap.js instead.

      Example main could clobber window.testframework.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stevegill Steve Gill
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: