Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

mozapps script causing my downloads to freeze

  • 7 답장
  • 47 이 문제를 만남
  • 6 보기
  • 최종 답변자: Garyio

more options

When I am downloading files the download just stops (about 85% of the time), the page glazes over and the top shows "Firefox not responding); all open Firefox windows freeze. After some time (several minutes) a popup appears stating that a script is not responding and shows script details: chrome:/mozapps/content/downloads/downloads.js.1222. It also gives the option to wait or cancel the script. When i cancel the page returns to normal and download starts again; other Firefox windows also respond again. This has only started in the last several days.

When I am downloading files the download just stops (about 85% of the time), the page glazes over and the top shows "Firefox not responding); all open Firefox windows freeze. After some time (several minutes) a popup appears stating that a script is not responding and shows script details: chrome:/mozapps/content/downloads/downloads.js.1222. It also gives the option to wait or cancel the script. When i cancel the page returns to normal and download starts again; other Firefox windows also respond again. This has only started in the last several days.

모든 댓글 (7)

more options

Read these two articles, do they or the linked information help ?

more options

So far, so good. Seems to have stopped now. How did I do this? I cleared the downloads list box which probably had hundreds of downloads listed. I will keep an eye on it but I have just completed 10 downloads without a freeze. Thanks, Leslie

more options

Glad the problem was solved.

more options

That is this part of the code in chrome://mozapps/content/downloads/downloads.js (paste in the location bar)

  // Add another item to the list if we should; otherwise, let the UI update
  // and continue later
  if (aNumItems > 1) {
    stepListBuilder(aNumItems - 1);
  }
more options

I do not understand what you are saying

more options

It is not that important.

It identifies which code your error message is referring to (line 1222 in the file downloads.js) in case others ant to check it. That file is part of Firefox (located in omni.jar) and you can inspect such files by pasting or typing the URL in the location bar.

more options

I have had this same problem for a couple of months. It doesn't happen all the time but seems to happen the first time I download something after rebooting.

I downloaded download.js and What I see at line 1222 is:

     // Because of the joys of XBL, we can't update the buttons until the
     // download object is in the document.
     updateButtons(item);

Am I getting a newer version or something?

The complete code that decides to call updateButtons is this:

   // Make the item and add it to the end if it's active or matches the search
   let item = createDownloadItem(attrs);
   if (item && (isActive || downloadMatchesSearch(item))) {
     // Add item to the end
     gDownloadsView.appendChild(item);
   
     // Because of the joys of XBL, we can't update the buttons until the
     // download object is in the document.
     updateButtons(item);
   } else {
     // We didn't add an item, so bump up the number of items to process, but
     // not a whole number so that we eventually do pause for a chunk break
     aNumItems += .9;
   }
 } catch (e) {
   // Something went wrong when stepping or getting values, so clear and quit
   gStmt.reset();
   return;
 }

So it seems to be getting stuck when adding the new download to the list of downloads. I cleared my download history so I will see if that fixes it and post here if it did.