Bug 1440278 - port bug 1428258: Stop using nativePath in JS. r=aceman
authorJorg K <jorgk@jorgk.com>
Fri, 23 Feb 2018 01:51:02 +0100
changeset 31158 c6418eab10bc0b2bf89e11427786a7b5cb0b4bb2
parent 31157 1580fa402264dd3b467389b4c141f480a683e514
child 31159 1558f598599efcf64ed39457e9d124d66415106c
push id383
push userclokep@gmail.com
push dateMon, 07 May 2018 21:52:48 +0000
reviewersaceman
bugs1440278, 1428258
Bug 1440278 - port bug 1428258: Stop using nativePath in JS. r=aceman
mail/test/mozmill/shared-modules/test-folder-display-helpers.js
--- a/mail/test/mozmill/shared-modules/test-folder-display-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-folder-display-helpers.js
@@ -665,17 +665,17 @@ function display_message_in_folder_tab(a
 /**
  * Create a new window displaying a message loaded from a file.  We do not
  * return until the message has finished loading.
  *
  * @param file  An nsIFile to load the message from.
  * @return      The MozmillController-wrapped new window.
  */
 function open_message_from_file(file) {
-  mark_action("fdh", "open_message_from_file", ["file", file.nativePath]);
+  mark_action("fdh", "open_message_from_file", ["file", file.path]);
 
   if (!file.isFile() || !file.isReadable())
     throw new Error("The requested message file " + file.leafName +
                     " was not found or is not accessible.");
 
   let fileURL = Services.io.newFileURI(file)
                         .QueryInterface(Ci.nsIFileURL);
   fileURL.query = "type=application/x-message-display";