Bug 598958 - [TEST] browser_select browser-chrome test is busted [r=mfinkle]
authorVivien Nicolas <21@vingtetun.org>
Tue, 28 Sep 2010 17:01:00 -0400
changeset 66721 24dde4bba44c29f26252d59d79ff3c6f61c0e2ce
parent 66720 3b7c2fc03d48dff3652bace550e55811c44ac24d
child 66722 c9320434944814dd5421d5bbdb01eb61ad365e36
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs598958
Bug 598958 - [TEST] browser_select browser-chrome test is busted [r=mfinkle]
mobile/chrome/tests/browser_select.js
--- a/mobile/chrome/tests/browser_select.js
+++ b/mobile/chrome/tests/browser_select.js
@@ -21,19 +21,18 @@ function test() {
   });
 }
 
 function onPageReady() {
   let combo = new_tab.browser.contentDocument.getElementById("combobox");
   isnot(combo, null, "Get the select from web content");
 
   // Sending a synthesized event to the combo is not working
-  let container = document.getElementById("inputhandler-overlay");
   let rect = Browser.browserViewToClientRect(Rect.fromRect(combo.getBoundingClientRect()));
-  container.customClicker.singleClick(rect.left + 1, rect.top + 1);
+  ContentTouchHandler.tapSingle(rect.left + 1, rect.top + 1);
 
   waitFor(onUIReady, function() { return document.getElementById("select-container").hidden == false; });
 }
 
 function onUIReady() {
   let selectui = document.getElementById("select-container");
   is(selectui.hidden, false, "Select UI should be open");