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

Since chrome v43 Weinre has multiple type error "illegal invocation" from target-script.js

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Weinre nodejs package: weinre@2.0.0-pre-I0Z7U9OV
      Npm version : 3.3.12
      Chrome version : 50.0.2661.18 dev (64-bit)

      Weinre is embedded is my angular project. The target-script.min.js is automatically injected inside my html page for debug purpose.

      Since Chrome v43, i stuck resolving recurrent loop error who get throwed in my debug console :

      angular.js:13424TypeError: Illegal invocation
      at equals (angular.js:1077)
      at equals (angular.js:1077)
      at Scope.$digest (angular.js:16862)
      at angular.js:17064
      at completeOutstandingRequest (angular.js:5824)
      at angular.js:6100
      at instrumentedCode (target-script-min.js:3890)

      The incriminated code line is from the "InstrumentedCode" function which call "code.apply" in line 3890 of ./node_modules/weinre/web/target/target-script-min.js:

      result = code.apply(this, arguments);

      Am i the only one to get this recurrent error ? I would appreciate any helps.
      Downgrading version is not a solution for me. Thanks.

      Related issue :
      https://github.com/angular/angular.js/issues/12004 https://bugs.chromium.org/p/chromium/issues/detail?id=167911
      http://stackoverflow.com/questions/30578722/typeerror-illegal-invocation-when-trying-to-upgrade-from-v1-2

      Attachments

        Activity

          People

            pmuellr Patrick Mueller
            sam2x Sam2x
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: