Closed Bug 517177 Opened 11 years ago Closed 10 years ago

Errors in the console while installing a theme

Categories

(Toolkit :: Add-ons Manager, defect, minor)

x86
macOS
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: mossop, Unassigned)

Details

From bug 510909 comment 42:

Error: dialog is null
Source File: chrome://global/content/bindings/dialog.xml
Line: 356

      <method name="_fireButtonEvent">
        <parameter name="aDlgType"/>
        <body>
        <![CDATA[
          var event = document.createEvent("Events");
          event.initEvent("dialog"+aDlgType, true, true);

          // handle dom event handlers
          var noCancel = this.dispatchEvent(event);

          // handle any xml attribute event handlers
          var handler = this.getAttribute("ondialog"+aDlgType);
          if (handler != "") {
>>            var fn = new Function("event", handler);
            var returned = fn(event);
            if (returned == false)
              noCancel = false;
          }

          return noCancel;
        ]]>

Warning: reference to undefined property this._progressData[id].progress
Source File:
file:///C:/moz/_1_mozilla-central/ff-debug/dist/bin/components/nsExtensionManager.js
Line: 7910

  _rdfGet_progress: function EMDS__rdfGet_progress(item, property) {
    var id = item.Value;
    if (id in this._progressData)
>>      return EM_I(this._progressData[id].progress);
    return null;
  },
btw: the installing of the theme was done by drag and drop though I wasn't able to reproduce on a second try. I didn't try again after that.
This code is gone now
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.