[Webkit-unassigned] [Bug 90224] New: advanceFocus doesn't work in Browser Test.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 28 16:23:48 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90224

           Summary: advanceFocus doesn't work in Browser Test.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zysxqn at google.com


I think this should be a follow up bug of Bug 88827 https://bugs.webkit.org/show_bug.cgi?id=88827

advanceFocus() seems doesn't work under render view test. Example:

In a file under chrome/renderer directory:

class Foo {
  void focus() {
    render_view_->GetWebView()->advanceFocus(false);
  }
}

In its corresponding browser test file:

class FooTest : ChromeRenderViewTest {
  Foo foo_ = ...;
}

TEST_F(FooTest, FocusTest) {
   LoadHTML(...);

   foo_.focus();

   // The check here indicates that the focus has not been advanced.
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list