Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2609,8 +2609,7 @@ public void completed(ProgressEvent event) {
browser2.dispose();
}

//@Test
// FIXME This test should at least work for Edge on Windows.
@Test
public void test_TabTraversalOutOfBrowser() {
assumeFalse("Not currently working on macOS, see https://github.com/eclipse-platform/eclipse.platform.swt/issues/1644", SwtTestUtil.isCocoa);
assumeFalse("Not currently working on Linux, see https://github.com/eclipse-platform/eclipse.platform.swt/issues/1644", SwtTestUtil.isGTK);
Expand All @@ -2636,6 +2635,8 @@ public void test_TabTraversalOutOfBrowser() {
// send tab key via low-level event -> focus should move to Text control
AtomicBoolean textGainedFocus = new AtomicBoolean(false);
text.addFocusListener(FocusListener.focusGainedAdapter(e -> textGainedFocus.set(true)));
// make sure the browser's shell is active
browser.getShell().forceActive();
Event event = new Event();
event.type = SWT.KeyDown;
event.keyCode = SWT.TAB;
Expand Down
Loading