Bug 1588500 - Disable subtests of test-phishing-bar.js for Linux as well as Windows. rs=bustage-fix DONTBUILD
authorGeoff Lankow <geoff@darktrojan.net>
Fri, 25 Oct 2019 21:19:27 +1300
changeset 36483 80a194afbb0f2c034e190e5db73ba3b3d0badd18
parent 36482 5ce8323cabaaf6fb4946d512feb6ef1583843dae
child 36484 dee2511f17fb354c6cfcc06b0c0ec2a2066d5f24
push id2534
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:52:51 +0000
treeherdercomm-beta@055c50840778 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1588500
Bug 1588500 - Disable subtests of test-phishing-bar.js for Linux as well as Windows. rs=bustage-fix DONTBUILD
mail/test/mozmill/message-header/test-phishing-bar.js
--- a/mail/test/mozmill/message-header/test-phishing-bar.js
+++ b/mail/test/mozmill/message-header/test-phishing-bar.js
@@ -196,34 +196,39 @@ function test_ignore_phishing_warning_fr
  * We'll have http://130.128.4.1 vs. http://130.128.4.1/
  */
 function test_no_phishing_warning_for_ip_sameish_text() {
   be_in_folder(folder);
   select_click_row(2); // Mail with Public IP address.
   click_link_if_available();
   assert_notification_displayed(mc, kBoxId, kNotificationValue, false); // not shown
 }
-test_no_phishing_warning_for_ip_sameish_text.EXCLUDED_PLATFORMS = ["winnt"];
+// Bug 1588500
+test_no_phishing_warning_for_ip_sameish_text.EXCLUDED_PLATFORMS = [
+  "linux",
+  "winnt",
+];
 
 /**
  * Test that when viewing a message with a link whose base domain matches but
  * has a different subdomain (e.g. http://subdomain.google.com/ vs
  * http://google.com/), we don't get a warning if the link is pressed.
  */
 function test_no_phishing_warning_for_subdomain() {
   be_in_folder(folder);
   select_click_row(3);
   click_link_if_available();
   assert_notification_displayed(mc, kBoxId, kNotificationValue, false); // not shown
 
   select_click_row(4);
   click_link_if_available();
   assert_notification_displayed(mc, kBoxId, kNotificationValue, false); // not shown
 }
-test_no_phishing_warning_for_subdomain.EXCLUDED_PLATFORMS = ["winnt"];
+// Bug 1588500
+test_no_phishing_warning_for_subdomain.EXCLUDED_PLATFORMS = ["linux", "winnt"];
 
 /**
  * Test that when clicking a link where the text and/or href
  * has no TLD, we still warn as appropriate.
  */
 function test_phishing_warning_for_local_domain() {
   be_in_folder(folder);
   select_click_row(5);
@@ -233,17 +238,18 @@ function test_phishing_warning_for_local
   plan_for_modal_dialog("commonDialog", function(ctrler) {
     dialogAppeared = true;
   });
 
   click_link_if_available();
 
   return dialogAppeared;
 }
-test_phishing_warning_for_local_domain.EXCLUDED_PLATFORMS = ["winnt"];
+// Bug 1588500
+test_phishing_warning_for_local_domain.EXCLUDED_PLATFORMS = ["linux", "winnt"];
 
 /**
  * Test that we warn about emails which contain <form>s with action attributes.
  */
 function test_phishing_warning_for_action_form() {
   be_in_folder(folder);
   select_click_row(6);
   assert_notification_displayed(mc, kBoxId, kNotificationValue, true); // shown