Closed
Bug 378416
Opened 18 years ago
Closed 17 years ago
Need test for bug 221634.
Categories
(Toolkit :: Password Manager, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: sayrer, Unassigned)
References
Details
Attachments
(1 file)
|
1.24 KB,
patch
|
Details | Diff | Splinter Review |
to do this, we need to ensure some JS executes between DOMContentLoaded and Pageload. Worryingly, this doesn't work cross-platform, so far.
Comment 1•18 years ago
|
||
Hmm. I noticed last week when adding authenticate.sjs (and a foo.html^headers^ attempt) that test files not listed in the makefile don't get copied/linked over to the objdir, and things can fail.
The CVS history for the test Makefile shows that the mlogosm.gif this test needed was never added, so I wonder if that was what was causing the test to fail on the tinderbox (I may have accidentally done something to get it to run locally).
This patch re-enables the test and passes on OS X. Will check on Linux to see if it works there now too.
Comment 2•18 years ago
|
||
Did you attach the correct patch?
Comment 3•18 years ago
|
||
Yeah. The test already exists, it was just removed from the Makefile to stop running it because it seemed broken at the time.
Comment 4•18 years ago
|
||
Bah.
So, as is (with patch), the test fails on linux because the onload seems to fire immediately. The page's <script> hasn't run, so an error is thrown that |performTest| (the onload handler) isn't defined. I can move the <script> up in the page, but then the test detects that the image loaded before DOMContentLoaded fired... Back to square one.
Serving the image via a .sjs script might be enough to induce a proper delay.
Updated•17 years ago
|
Component: Testing → Password Manager
Product: Core → Toolkit
QA Contact: testing → password.manager
Comment 5•17 years ago
|
||
Not worth the time to fix.
After I rewrote pwmgr, I went back through some older bugs and added a few tests for things that looked easy to test, to help bootstrap early test coverage.
This isn't testing anything particularly useful, and there are hundreds of other old untested bugs.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•