Closed Bug 637868 Opened 13 years ago Closed 13 years ago

reftest harness should provide a better error message when a file is not found

Categories

(Testing :: Reftest, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 523864

People

(Reporter: tnikkel, Unassigned)

Details

"REFTEST TEST-UNEXPECTED-FAIL | file:///home/cltbld/talos-slave/test/build/reftest/tests/layout/reftests/bugs/623423-1-ref.html | null" is the reftest harness's passive-aggressive way of saying "file not found". Can we fix that so people stop losing time trying to track down what the failure is?
I believe that the real error is that the file not found error page has been loaded which might not send a load event. Thus, we time out.
We could try to found that a file not found page has been displayed and fails or just show a generic message like "the load event never happens (one possible reason is that the file was not found)." But that might do the opposite of what we want if the file is found but the error is different (like in bug 633566).
(In reply to comment #1)
> I believe that the real error is that the file not found error page has been
> loaded which might not send a load event.

I believe that this error page doesn't fire the load event (at least, not in the usual way)
Yeah, that is correct.
(In reply to comment #3)
> Yeah, that is correct.

Well, then, how could we solve this problem?  What does the UI do, for example, to determine when to disable the stop button?
Duplicate of bug 523864?
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.