Closed Bug 519800 Opened 16 years ago Closed 7 years ago

Fennec - mochitest chrome failure - downloads

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dougt, Unassigned)

References

Details

2 failures in toolkit/mozapps/downloads/tests/chrome/test_ui_stays_open_on_alert_clickback.xul this is probably caused by a lack of a function in the browser named: JavaScript error: , line 0: uncaught exception: [Exception... "'[JavaScript Error: "browser.showDownloadManager is not a function" {file: "file:///c:/builds/fen nec/mozilla-1.9.2/objdir-win32-d/mobile/dist/bin/components/downloadManagerUI.js" line: 60}]' when calling method: [nsIDownloadManagerUI::show]" nsresult: "0x8 0570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://mochikit/content/chrome/toolkit/mozapps/downloads/tests/chrome/test_ui_st ays_open_on_alert_clickback.xul :: test :: line 118" data: yes]
We have a fix for that in one of gavin's patches
bug number?
Depends on: 519354
mfinkle - test still fails, but now we just close the browser window (window.close()). Gavin - Can you take a look at the test case and advise?
How to run mochitest chrome tests in fennec?
you can build fennec on the desktop, then: cd objdir/xulrunner/_test/testing/mochitest python runtests.py --appname=../../../../mobile/dist/bin/fennec<.exe> --xre-path=../../../dist/bin --chrome then just search for the test case you want to run, and click on it.
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.