From 6fc061037baf0abc87519a64b1738abb78f0dfbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kan-Ru=20Chen=20=28=E9=99=B3=E4=BE=83=E5=A6=82=29?= Date: Tue, 5 Nov 2013 15:04:22 +0800 Subject: [PATCH] Backout 87b5e35236ef (bug 931746) breaks UI tests --- b2g/chrome/content/forms.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/b2g/chrome/content/forms.js b/b2g/chrome/content/forms.js index 20d0d038580..bc1c807344e 100644 --- a/b2g/chrome/content/forms.js +++ b/b2g/chrome/content/forms.js @@ -344,12 +344,6 @@ let FormAssistant = { break; } - // Only handle events from our direct descendants - if (!(target instanceof content.window.Node) || - !content.document.body.contains(target)) { - break; - } - if (isContentEditable(target)) { this.showKeyboard(this.getTopLevelEditable(target)); this.updateSelection();