Closed
Bug 438653
Opened 16 years ago
Closed 16 years ago
Move browser tests to xpcshell tests
Categories
(Toolkit :: Downloads API, defect)
Toolkit
Downloads API
Tracking
()
RESOLVED
FIXED
mozilla1.9.1a1
People
(Reporter: sdwilsh, Assigned: sdwilsh)
Details
Attachments
(1 file, 2 obsolete files)
12.50 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
From bug 437342 comment 1 and 2.
Assignee | ||
Comment 1•16 years ago
|
||
This doesn't quite work - I'm triggering a lovely assertion: http://mxr.mozilla.org/mozilla-central/source/dom/src/jsurl/nsJSProtocolHandler.cpp#140 Attempting to figure out how to get around that.
Assignee | ||
Comment 2•16 years ago
|
||
Looks like the one test is going to have to be a chrome test after all :(
Assignee | ||
Comment 3•16 years ago
|
||
Attachment #324659 -
Attachment is obsolete: true
Attachment #324818 -
Flags: review?(gavin.sharp)
Assignee | ||
Updated•16 years ago
|
Whiteboard: [has patch][needs review gavin]
Updated•16 years ago
|
Attachment #324818 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 4•16 years ago
|
||
Pushed to mozilla-central: http://hg.mozilla.org/mozilla-central/index.cgi/rev/998cc827bfb1
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Flags: in-litmus-
Resolution: --- → FIXED
Whiteboard: [has patch][needs review gavin]
Target Milestone: --- → Firefox 3.1
Assignee | ||
Comment 5•16 years ago
|
||
Backed out because the tests founds leaks, which causes orange... http://hg.mozilla.org/mozilla-central/index.cgi/rev/fa1f79ae3610
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 6•16 years ago
|
||
Fixed the leak
Attachment #324818 -
Attachment is obsolete: true
Attachment #326940 -
Flags: review?(gavin.sharp)
Assignee | ||
Updated•16 years ago
|
Whiteboard: [has patch][needs review gavin]
Target Milestone: Firefox 3.1 → Firefox 3.1a1
Comment 7•16 years ago
|
||
Comment on attachment 326940 [details] [diff] [review] v1.1 >diff --git a/toolkit/mozapps/downloads/tests/browser/browser_bug_412360.js b/toolkit/mozapps/downloads/tests/chrome/test_bug_412360.xul >+ // Unregister the factory so we do not leak >+ Components.manager.QueryInterface(Ci.nsIComponentRegistrar). >+ unregisterFactory( Pretty weird indentation style, looks like an unrelated function call!
Attachment #326940 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 8•16 years ago
|
||
(In reply to comment #7) > (From update of attachment 326940 [details] [diff] [review]) > >diff --git a/toolkit/mozapps/downloads/tests/browser/browser_bug_412360.js b/toolkit/mozapps/downloads/tests/chrome/test_bug_412360.xul > > >+ // Unregister the factory so we do not leak > >+ Components.manager.QueryInterface(Ci.nsIComponentRegistrar). > >+ unregisterFactory( > > Pretty weird indentation style, looks like an unrelated function call! Yeah - just keeping with the style of the file. Edward does some weird stuff sometimes :) I'm going to leave it as is, but if you object, please file a bug so we can fix it in all instances in the DM test code.
Whiteboard: [has patch][needs review gavin] → [has patch][has review][can land]
Assignee | ||
Comment 9•16 years ago
|
||
Pushed to mozilla-central: http://hg.mozilla.org/mozilla-central/index.cgi/rev/8a2a07705bb0
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Whiteboard: [has patch][has review][can land]
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•