Closed
Bug 1328367
Opened 9 years ago
Closed 9 years ago
open_message_from_file() in test-folder-display-helpers.js (Mozmill) should check whether a file exists
Categories
(Thunderbird :: Testing Infrastructure, enhancement)
Thunderbird
Testing Infrastructure
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 54.0
People
(Reporter: jorgk-bmo, Assigned: aceman)
References
Details
Attachments
(1 file)
|
1.62 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
open_message_from_file() in test-folder-display-helpers.js (Mozmill) should check whether a file exists and display an appropriate message.
If called with a non-existent file, an unhelpful error is currently issued:
EXCEPTION: Timed out waiting for message display
Assignee: nobody → acelists
Severity: normal → enhancement
OS: Unspecified → All
Hardware: Unspecified → All
Version: 52 Branch → Trunk
This should do it.
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=6bc6926d32bf53a2b2db1708649d1639d05e8f8d
Attachment #8839821 -
Flags: review?(jorgk)
| Reporter | ||
Comment 3•9 years ago
|
||
Comment on attachment 8839821 [details] [diff] [review]
patch
Review of attachment 8839821 [details] [diff] [review]:
-----------------------------------------------------------------
Nice, I asked for this, so thanks.
::: mail/test/mozmill/shared-modules/test-folder-display-helpers.js
@@ +666,5 @@
> function open_message_from_file(file) {
> mark_action("fdh", "open_message_from_file", ["file", file.nativePath]);
>
> + if (!file.isFile() || !file.isReadable())
> + throw new Error("The requested message file " + file.leafName + " was not found.");
... was not found or is not accessible.
Attachment #8839821 -
Flags: review?(jorgk) → review+
Thanks, please do the change if possible when landing the next batch of patches.
Status: NEW → ASSIGNED
Keywords: checkin-needed
| Reporter | ||
Comment 5•9 years ago
|
||
https://hg.mozilla.org/comm-central/rev/b5d9d971165dce327ad943061fb9c0e0243e9ed0
Landed with requested adjustment.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 54.0
You need to log in
before you can comment on or make changes to this bug.
Description
•