Skip to content

Commit

Permalink
WKWebExtensionAPITabs.RemovedEvent is flaky (sometimes wrong tab ID).
Browse files Browse the repository at this point in the history
https://webkit.org/b/261848
rdar://problem/115809590

Unreviewed test gardening.

Enable the WKWebExtensionAPITabs.RemovedEvent test, since it no longer fails
after hundreds of iterations.

* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPITabs.mm:
(TestWebKitAPI::TEST):

Canonical link: https://commits.webkit.org/272237@main
  • Loading branch information
xeenon authored and mnutt committed Dec 18, 2023
1 parent 06c0274 commit d2ac737
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -973,8 +973,7 @@
Util::loadAndRunExtension(tabsManifest, @{ @"background.js": backgroundScript });
}

// FIXME after rdar://115809590 is resolved.
TEST(WKWebExtensionAPITabs, DISABLED_RemovedEvent)
TEST(WKWebExtensionAPITabs, RemovedEvent)
{
auto *backgroundScript = Util::constructScript(@[
@"const newTab = await browser.tabs.create({})",
Expand Down

0 comments on commit d2ac737

Please sign in to comment.