Bug 433238 - Skip test_context_menu.js on Android. r=bustage
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Fri, 07 Aug 2015 14:22:55 -0700
changeset 256915 17a83ec9321b01a7446f2f6bb3566c2f7c70029c
parent 256914 30e0c3f20f2d7a8a8e75f191fe414ef57441bad6
child 256916 152eafb9dc89a1d37ca5e24ee19d1987a66f1201
push id29195
push userphilringnalda@gmail.com
push dateSun, 09 Aug 2015 01:37:55 +0000
treeherdermozilla-central@fd63d8ed9d2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs433238
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 433238 - Skip test_context_menu.js on Android. r=bustage CLOSED TREE
toolkit/components/passwordmgr/test/unit/test_context_menu.js
toolkit/components/passwordmgr/test/unit/xpcshell.ini
--- a/toolkit/components/passwordmgr/test/unit/test_context_menu.js
+++ b/toolkit/components/passwordmgr/test/unit/test_context_menu.js
@@ -76,17 +76,17 @@ function createLoginsFragment(url, conte
   let browser = {
     ownerDocument: document
   };
 
   let URI = Services.io.newURI(url, null, null);
   return {
     document,
     fragment: LoginManagerContextMenu.addLoginsToMenu(inputElement, browser, URI),
-  }
+  };
 }
 
 /**
  * Check if every login have it's corresponding menuitem.
  * Duplicates and empty usernames have a date appended.
  */
 function checkLoginItems(logins, items) {
   function findDuplicates(loginList) {
@@ -157,9 +157,9 @@ function loginList() {
 
       new LoginInfo("http://www3.example.com", "http://www.example.com", null,
                     "", "password",
                     "form_field_username", "form_field_password"),
       new LoginInfo("http://www3.example.com", "http://www3.example.com", null,
                     "", "password2",
                     "form_field_username", "form_field_password"),
   ];
-}
\ No newline at end of file
+}
--- a/toolkit/components/passwordmgr/test/unit/xpcshell.ini
+++ b/toolkit/components/passwordmgr/test/unit/xpcshell.ini
@@ -11,16 +11,17 @@ skip-if = os == "android"
 skip-if = os == "android"
 
 # Test SQLite database backup and migration, applicable to Android only.
 [test_storage_mozStorage.js]
 skip-if = true || os != "android" # Bug 1171687: Needs fixing on Android
 
 # The following tests apply to any storage back-end.
 [test_context_menu.js]
+skip-if = os == "android" # The context menu isn't used on Android.
 [test_disabled_hosts.js]
 [test_getFormFields.js]
 [test_getPasswordFields.js]
 [test_legacy_empty_formSubmitURL.js]
 [test_legacy_validation.js]
 [test_logins_change.js]
 [test_logins_decrypt_failure.js]
 skip-if = os == "android" # Bug 1171687: Needs fixing on Android